Support for wacom bamboo one with device id 0x0069

View: New views
4 Messages — Rating Filter:   Alert me  

Support for wacom bamboo one with device id 0x0069

by Frederik M.J. Vestre-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I bougt a wacom tablet and tried to use it with linux. The wacom driver didn't
recognize the device so edited the driver a bit.

I have edited wacom_wac.c:
I added: "{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x69) }", in the device list
and changed "struct wacom_features *wf = &wacom_features [index];" to
struct "wacom_features *wf = &wacom_features[13];" (which is the bamboo
features.

wacdump gives everything unknown. pos 0 etc. cat doesn't return any data
(trash my terminal, as other event devices do).

then collected a little more data, which is inlcuded in the rest of the mail.

Does anybody have any idea about what i could do to make it work, what
information i could collect etc?

-----------------------------------------------------------------------------------------------------------------------

I use linux-2.6.23-rc7 (and rc9) on kubuntu feisty/gutsy.

Then it was got the right driver, but i still got errors.
Dmesg gives this when i insert the usb plug (with lots of debug options):
[ 1435.334319] usbcore: registered new interface driver wacom
[ 1435.334472] /home/freqmod/dwnl/linuxwacom-0.7.8-3/src/2.6.19/wacom_sys.c:
v1.46-pc0.1:USB Wacom Graphire and Wacom Intuos tablet driver
[ 1437.149003] usb usb4: usb auto-resume
[ 1437.149012] usb usb4: wakeup_rh
[ 1437.181869] hub 4-0:1.0: hub_resume
[ 1437.481911] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 1437.482031] usb usb3: usb auto-resume
[ 1437.482037] usb usb3: wakeup_rh
[ 1437.514915] hub 3-0:1.0: hub_resume
[ 1437.515299] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 1438.685147] usb usb3: suspend_rh (auto-stop)
[ 1438.385156] usb usb4: suspend_rh (auto-stop)
[ 1439.156419] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0008
[ 1439.156574] ehci_hcd 0000:00:1d.7: GetStatus port 3 status 001403 POWER
sig=k CSC CONNECT
[ 1439.156735] hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
[ 1439.560610] hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status
0x501
[ 1439.560625] ehci_hcd 0000:00:1d.7: port 3 low speed --> companion
[ 1439.260629] usb usb3: wakeup_rh (auto-start)
[ 1439.611580] ehci_hcd 0000:00:1d.7: GetStatus port 3 status 003002 POWER
OWNER sig=se0 CSC
[ 1439.611768] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
[ 1439.311859] uhci_hcd 0000:00:1d.1: port 1 portsc 01a3,00
[ 1439.311878] hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
[ 1439.415514] hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status
0x301
[ 1439.517446] usb 3-1: new low speed USB device using uhci_hcd and address 5
[ 1439.658449] usb 3-1: skipped 1 descriptor after interface
[ 1439.663439] usb 3-1: default language 0x0409
[ 1439.678431] usb 3-1: new device strings: Mfr=1, Product=2, SerialNumber=0
[ 1439.678437] usb 3-1: Product: CTF-430 V2.0-0
[ 1439.678439] usb 3-1: Manufacturer: WACOM
[ 1439.678898] usb 3-1: uevent
[ 1439.678978] usb 3-1: usb_probe_device
[ 1439.679100] usb 3-1: configuration #1 chosen from 1 choice
[ 1439.681433] usb 3-1: adding 3-1:1.0 (config #1, interface 0)
[ 1439.681570] usb 3-1:1.0: uevent
[ 1439.981767] usb 3-1:1.0: uevent
[ 1439.981972] usbhid 3-1:1.0: usb_probe_interface
[ 1439.981977] usbhid 3-1:1.0: usb_probe_interface - got id
[ 1439.982049] wacom 3-1:1.0: usb_probe_interface
[ 1439.982066] wacom 3-1:1.0: usb_probe_interface - got id
[ 1439.982671] input: Wacom Bamboo as /class/input/input10
[ 1439.982880] uhci_hcd 0000:00:1d.1: reserve dev 5 ep81-INT, period 8, phase
4, 118 us
[ 1439.990727] drivers/usb/core/inode.c: creating file '005'
[ 1439.990744] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0008
[ 1440.181230] hub 4-0:1.0: hub_suspend
[ 1440.181242] usb usb4: bus auto-suspend
[ 1440.181247] usb usb4: suspend_rh

--------------------------------------------------------------------------------------------------------------
then i did (wacdump or cat) /dev/input/event7:
when i use the pen on the tablet i get lots of (on my laptop and desktop):

[ 1479.374798] usb 3-1: uhci_result_common: failed with status 500000


--------------------------------------------------------------------------------------------------------------

more info:

cat /proc/bus/usb/devices:

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=056a ProdID=0069 Rev= 2.00
S:  Manufacturer=WACOM
S:  Product=CTF-430 V2.0-0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 40mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=wacom
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

cat /proc/bus/input/devices:
I: Bus=0003 Vendor=056a Product=0069 Version=0200
N: Name="Wacom Bamboo"
P: Phys=
S: Sysfs=/class/input/input10
U: Uniq=
H: Handlers=mouse2 event7
B: EV=1f
B: KEY=1c63 70033 0 0 0 0
B: REL=100
B: ABS=10003000103
B: MSC=1



Frederik V.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Re: Support for wacom bamboo one with device id 0x0069

by Frederik M.J. Vestre-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tirsdag 09 oktober 2007, skrev Frederik M.J. Vestre:

> I bougt a wacom tablet and tried to use it with linux. The wacom driver
> didn't recognize the device so edited the driver a bit.
>
> I have edited wacom_wac.c:
> I added: "{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x69) }", in the device list
> and changed "struct wacom_features *wf = &wacom_features [index];" to
> struct "wacom_features *wf = &wacom_features[13];" (which is the bamboo
> features.
>
> wacdump gives everything unknown. pos 0 etc. cat doesn't return any data
> (trash my terminal, as other event devices do).
>
> then collected a little more data, which is inlcuded in the rest of the
> mail.
>
> Does anybody have any idea about what i could do to make it work, what
> information i could collect etc?
>
> ---------------------------------------------------------------------------
>--------------------------------------------
>
> I use linux-2.6.23-rc7 (and rc9) on kubuntu feisty/gutsy.
>
> Then it was got the right driver, but i still got errors.
> Dmesg gives this when i insert the usb plug (with lots of debug options):
> [ 1435.334319] usbcore: registered new interface driver wacom
> [ 1435.334472]
> /home/freqmod/dwnl/linuxwacom-0.7.8-3/src/2.6.19/wacom_sys.c:
> v1.46-pc0.1:USB Wacom Graphire and Wacom Intuos tablet driver
> [ 1437.149003] usb usb4: usb auto-resume
> [ 1437.149012] usb usb4: wakeup_rh
> [ 1437.181869] hub 4-0:1.0: hub_resume
> [ 1437.481911] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0000
> [ 1437.482031] usb usb3: usb auto-resume
> [ 1437.482037] usb usb3: wakeup_rh
> [ 1437.514915] hub 3-0:1.0: hub_resume
> [ 1437.515299] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
> [ 1438.685147] usb usb3: suspend_rh (auto-stop)
> [ 1438.385156] usb usb4: suspend_rh (auto-stop)
> [ 1439.156419] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0008
> [ 1439.156574] ehci_hcd 0000:00:1d.7: GetStatus port 3 status 001403 POWER
> sig=k CSC CONNECT
> [ 1439.156735] hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
> [ 1439.560610] hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms
> status 0x501
> [ 1439.560625] ehci_hcd 0000:00:1d.7: port 3 low speed --> companion
> [ 1439.260629] usb usb3: wakeup_rh (auto-start)
> [ 1439.611580] ehci_hcd 0000:00:1d.7: GetStatus port 3 status 003002 POWER
> OWNER sig=se0 CSC
> [ 1439.611768] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
> [ 1439.311859] uhci_hcd 0000:00:1d.1: port 1 portsc 01a3,00
> [ 1439.311878] hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
> [ 1439.415514] hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms
> status 0x301
> [ 1439.517446] usb 3-1: new low speed USB device using uhci_hcd and address
> 5 [ 1439.658449] usb 3-1: skipped 1 descriptor after interface
> [ 1439.663439] usb 3-1: default language 0x0409
> [ 1439.678431] usb 3-1: new device strings: Mfr=1, Product=2,
> SerialNumber=0 [ 1439.678437] usb 3-1: Product: CTF-430 V2.0-0
> [ 1439.678439] usb 3-1: Manufacturer: WACOM
> [ 1439.678898] usb 3-1: uevent
> [ 1439.678978] usb 3-1: usb_probe_device
> [ 1439.679100] usb 3-1: configuration #1 chosen from 1 choice
> [ 1439.681433] usb 3-1: adding 3-1:1.0 (config #1, interface 0)
> [ 1439.681570] usb 3-1:1.0: uevent
> [ 1439.981767] usb 3-1:1.0: uevent
> [ 1439.981972] usbhid 3-1:1.0: usb_probe_interface
> [ 1439.981977] usbhid 3-1:1.0: usb_probe_interface - got id
> [ 1439.982049] wacom 3-1:1.0: usb_probe_interface
> [ 1439.982066] wacom 3-1:1.0: usb_probe_interface - got id
> [ 1439.982671] input: Wacom Bamboo as /class/input/input10
> [ 1439.982880] uhci_hcd 0000:00:1d.1: reserve dev 5 ep81-INT, period 8,
> phase 4, 118 us
> [ 1439.990727] drivers/usb/core/inode.c: creating file '005'
> [ 1439.990744] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0008
> [ 1440.181230] hub 4-0:1.0: hub_suspend
> [ 1440.181242] usb usb4: bus auto-suspend
> [ 1440.181247] usb usb4: suspend_rh
>
> ---------------------------------------------------------------------------
>----------------------------------- then i did (wacdump or cat)
> /dev/input/event7:
> when i use the pen on the tablet i get lots of (on my laptop and desktop):
>
> [ 1479.374798] usb 3-1: uhci_result_common: failed with status 500000
>
>
> ---------------------------------------------------------------------------
>-----------------------------------
>
> more info:
>
> cat /proc/bus/usb/devices:
>
> T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=1.5 MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=056a ProdID=0069 Rev= 2.00
> S:  Manufacturer=WACOM
> S:  Product=CTF-430 V2.0-0
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 40mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=wacom
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
>
> cat /proc/bus/input/devices:
> I: Bus=0003 Vendor=056a Product=0069 Version=0200
> N: Name="Wacom Bamboo"
> P: Phys=
> S: Sysfs=/class/input/input10
> U: Uniq=
> H: Handlers=mouse2 event7
> B: EV=1f
> B: KEY=1c63 70033 0 0 0 0
> B: REL=100
> B: ABS=10003000103
> B: MSC=1
>
>
>
> Frederik V.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Linuxwacom-discuss mailing list
> Linuxwacom-discuss@...
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Re: Support for wacom bamboo one with device id 0x0069

by Frederik M.J. Vestre-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sorry for double posting, I pressed ctrl+enter by accident.

I got wacom for baboo one (0x0069) working by commenting out

        switch (urb->status) {
....
        }

in static void wacom_sys_irq(struct urb *urb) wacom_sys.c
in addition to the changes i described in the last mail.
I did print out urb->status, it is -75.

I am sure this isn't the right way to do it.

Frederik

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Support for wacom bamboo one with device id 0x0069 - solution

by Frederik M.J. Vestre-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I got a mail from nergal AT monasteriaobscura DOT de that told me that the
WacomBamboo One was a rebranded graphire. I added the mentioned
wacom_features line, and now it works perfectly. Could you add the feature
line
{ "Wacom Bamboo One",     8,  5104,  3712,  511, 63, GRAPHIRE },
for the device
{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x69) },.
upstream so the driver works for other owners of wacom bamboo one?.

Frederik M.J.V.

---------------------------------------------------------------------------------------------------------

the mail:

> Hello Frederik,
>
> firstofall I'd like to express my gratitude to you - without your work I
> wouldn't have gone that far I came on my own up to the insertion of the
> 0069 as a new device number.
>
> I have the same tablet as you and experienced after following your steps
> some trouble with my device having a wrong mapping (only ~480*420px in
> upper left corner in absolute mode) and the pointer dancing like a 'floo on
> speed'.
>
> So I could remap it halfway correctly with "xsetwacom set stylus BottomX
> 5110 && xsetwacom set stylus BottomY 3720" by simple try and error. But
> that was, what gave me the final hint. These are nearly the mapping values
> of an older device which are given in the " src/2.6.19/wacom_wac.c " -file.
>
> The BambooOne is in fact not a Bamboo series device but probably the good
> old Volito2 which is a GRAPHIRE not a WACOM_MO.
>
>       { "Wacom Volito2 2x3",   8,   3248,  2320,  511, 63, GRAPHIRE },
>         { "Wacom PenPartner2",   8,   3250,  2320,  255, 63, GRAPHIRE },
>         /*{ "Wacom Bamboo",        9,  14760,  9225,  511, 63, WACOM_MO
> },*/ { "Wacom Bamboo One",    8,   5104,  3712,  511, 63, GRAPHIRE }, {
> "Wacom Intuos 4x5",   10,  12700, 10600, 1023, 31, INTUOS }, { "Wacom
> Intuos 6x8",   10,  20320, 16240, 1023, 31, INTUOS },
>
> I commented out the Bamboo-line to be sure it would not cause any trouble
> :).
>
> Now it works together with your hints perfectly.
>
> Greetings,
>
> Ulf Röttger (aka Nergal)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss