Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] Wacom Volito2 and other Wacom tablets
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wah_wah_69
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 145

PostPosted: Thu Jan 31, 2008 10:57 pm    Post subject: Reply with quote

acasto wrote:
wah_wah_69 wrote:

Changed 64 for 17 in the 14th line of the id struct (the bamboo features was the 14th in the features struct).


Ahh... that's how they are related. I didn't think about order. I couldn't figure out how it was picking an entry out of the features structure. Thanks for the info! :)


Do you have pressure sensitivity working?

It's the only thing that's not working for me.

I remember when I was considering the purchase of a wacom tablet some months ago somebody in this very same thread was complaining about pressure sensitivity not working on a bamboo, I'll have to check this thread few pages back.
_________________
Be good and if you can't be good, be careful.
Back to top
View user's profile Send private message
acasto
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 236
Location: Durka-Durka-Stan

PostPosted: Fri Feb 01, 2008 6:28 am    Post subject: Reply with quote

wah_wah_69 wrote:

Do you have pressure sensitivity working?

It's the only thing that's not working for me.

I remember when I was considering the purchase of a wacom tablet some months ago somebody in this very same thread was complaining about pressure sensitivity not working on a bamboo, I'll have to check this thread few pages back.


I haven't fully tried it out yet through X. wacdump was reporting pressure correctly, so if it's not working I would assume it would be in the xorg driver or something.

EDIT: I just checked on Gimp and pressure sensitivity is working. I just had to go to Files -> Preferences -> Input Devices -> Configure Extended Input Devices, and then activate the necessary components. I set stylus and eraser to "screen" and it seems to work fine.
_________________
Leerrroooooyyyyyyyy JENKINS!!!!1111...................

"You know the Nazi's had pieces of flare.. that they made the Jews wear."
Back to top
View user's profile Send private message
Ray ishido
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 141
Location: Piracicaba (Brazil)

PostPosted: Fri Feb 08, 2008 6:53 pm    Post subject: Reply with quote

I answer to myself:

Bamboo tablet do not work with xorg-server 1.4.0.x, even with the latest drivers (0.7.9_p7). gnome starts well, but when I hit a button of the tablet X crash-> I came back to xorg-server 1.3.0.0-r5 where everything works perfectly.

note: to use the 0.7.9_p7 drivers, I just renamed the 0.7.9_p4 ebuild ;)
Back to top
View user's profile Send private message
Gabriel_Blake
Guru
Guru


Joined: 16 Sep 2007
Posts: 362

PostPosted: Sun Mar 23, 2008 4:13 pm    Post subject: Reply with quote

Battlefield report:
Bamboo A6 works fine on:
amd64,
gentoo-sources-2.6.24-r3,
kernel wacom module,
linuxwacom-0.7.8_p3,
xorg-server-1.3.0.0-r5,
Fluxbox WM

The pen works great. Pressure detection works great.
I still haven't figured out how to set the 4 function keys on the tablet, but I guess thats just a matter of time and google :)
Back to top
View user's profile Send private message
mkb137
n00b
n00b


Joined: 13 May 2002
Posts: 33
Location: Calgary, Canada

PostPosted: Wed Mar 26, 2008 1:29 am    Post subject: Reply with quote

I just set up a Wacom Bamboo Fun on a dual monitor set up so I'll add my 2 cents for anybody else searching.

I set it up as per the Wacom HOWTO. I had to add the missing id of 0x17 to /drivers/input/tablet/wacom_wac.c. It was all pretty straightforward and I got input from the tablet pretty easily, but what I found was that only the upper left hand corner of the tablet mapped to screen pixels and that the pointer would act funny, flipping to different places around the screen. Also I would always reach a false vertical "edge" somewhere on the left or right side of the monitor. To fix all this, I had to set up the TwinView, TVResolution, TopX, TopY, BottomX, and BottomY parameters in xorg.conf. My stylus configuration section now looks like this:

Code:

Section "InputDevice"
        Identifier      "stylus"
        Driver          "wacom"
        Option          "DeviceName"    "stylus"
        Option          "Type"          "stylus"
        Option          "Device"        "/dev/input/wacom"
        Option          "USB"           "on"
        Option          "Mode"          "Absolute"
        Option          "Vendor"        "WACOM"
        Option          "Threshold"     "3"
        Option          "TwinView"      "Horizontal"
        Option          "TVResolution"  "1280x1024,1280x1024"
        Option          "TopX"          "0"
        Option          "TopY"          "0"
        Option          "BottomX"       "14760"
        Option          "BottomY"       "9230"
EndSection


The values for BottomX and BottomY are based on my tablet's resolution and physical dimensions. According to the product manual, the resolution is 100 l per millimeter. The dimensions of the active area are 147.6 mm x 92.3mm, therefore BottomX = 100 * 147.6 = 14760 and BottomY = 100 * 92.3 = 9230.

Now the stylus correctly moves over the whole area of the monitor. The TwinView setup means that if I go outside of the edge of one monitor, it switches control to the other monitor.
Back to top
View user's profile Send private message
rudi_aber
n00b
n00b


Joined: 06 Feb 2006
Posts: 21
Location: Aberystwyth, Wales

PostPosted: Thu Apr 03, 2008 10:04 pm    Post subject: Reply with quote

I've been struggling for quite a bit getting my Bamboo One to run. The suggestion seems to be that with kernel 2.6.24 and linuxwacom-0.7.8_p3 this should work without the need to fiddle with ebuilds. However, I found that while lsmod, lsusb and dmesg suggested the tablet was found and the driver was there, I still got Driver=(none) in the entry for the tablet in /proc/bus/usb/devices .

I had a look in /usr/src/linux/drivers/input/tablet/wacom_wac.c , where they have added a line (as suggested in posts upthread) in the wacom_features structure in the meantime
Code:
        { "Wacom Bamboo One",    8,   5104,  3712,  511, 63, GRAPHIRE },

but there's no device ID entry for it in the usb_device_id structure.

So, I added
Code:
        { USB_DEVICE(USB_VENDOR_ID_WACOM, 0x69) },

in that structure and ran make modules, make modules_install, rmmod wacom, modprobe wacom
- and, hey presto, I have a /dev/input/wacom pointing to event7, and wacdump picks it up. It works as a (very touchy) mouse in Xorg, too, although I haven't done anything to my Xconf yet.

Sorry if all this is obvious to everybody else, but it wasn't for me, so I thought I just post a quick thumbs up for those who are despairing over the bl**ming thing! Now for the Xconf... Works straight away, and the Gimp recognises it too.
Back to top
View user's profile Send private message
psycho3d
n00b
n00b


Joined: 31 Jan 2006
Posts: 25

PostPosted: Thu Apr 17, 2008 7:52 pm    Post subject: Re: [HOWTO] Wacom Volito2 and other Wacom tablets Reply with quote

CRV§ADER//KY wrote:
PROBLEM: I attach the tablet, but positioning is completely off.
WORKAROUND: Have your tablet already attached when you start X.

any chance to make X reload input devices without restart?
i only plug in my tablet when i need it, don't want it online all the time

XInput Hotplug?
https://forums.gentoo.org/viewtopic-t-545171-highlight-restart+wacom.html
_________________
The demon awoke in the blink of an eye
swallowing the sun
with devastating, scorching breath
a new age just begun
-- savage circus -- evil eyes --
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Sun May 18, 2008 7:26 pm    Post subject: Reply with quote

Maybe this is useful to others: I just found a workaround for a strange bug, wich annoyed me for several weeks. I have a Volito2 tablet and since I bought a 24" widescreen disply it was completely unusable for me. It was in a strange mixture between relative and absolute modus: The pointer jumped to a position which had nothing to do with the real position of the pen on the tablet and worked in relative mode from that point. If I lifted the pen the pointer jumped into the top right corner.

In the end it turned out that I just changed the resolution of the default color depth (24bpp) from 1024x768 to the new resoution of 1920x1200 in the /etc/X11/xorg.conf, but left the (unused) 16bpp and 8bb entries unchanged. Changing all three entries made the graphics tablet working again.

Could anyone confirm that this is a bug in the wacom X driver?
Back to top
View user's profile Send private message
akiross
Veteran
Veteran


Joined: 02 Mar 2003
Posts: 1170
Location: Mostly on google.

PostPosted: Fri May 23, 2008 4:04 pm    Post subject: Reply with quote

rudi_aber wrote:
I had a look in /usr/src/linux/drivers/input/tablet/wacom_wac.c


Thanks, that was useful. I was looking at the wrong file :)
_________________
Libera scienza in libero stato.
Horizon of Events
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3505

PostPosted: Thu Jul 10, 2008 7:43 pm    Post subject: Wacom Inutos3 broken at the udev level Reply with quote

Wacom Inutos3 broken at the udev level

I haven't even gotten as far as your HowTo debugging instructions. I believe I've got the kernel built correctly, with both evdev and wacom enabled. A simple lsmod shows that both get loaded when I plug the table in. But when I did this, I had a "tail -f" running against /var/log/messages, and got stuff like this:
Code:
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.768 [I] osspec.c:232: SEQNUM=1102, ACTION=add, SUBSYSTEM=usb, DEVPATH=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3, DEVNAME=/dev/bus/usb/001/016, IFINDEX=0
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.769 [I] hotplug.c:134: /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3 is a device (subsystem)
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.769 [I] osspec.c:892: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3'->'/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.769 [I] device.c:3319: add_dev: subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3 dev=/dev/bus/usb/001/016 parent_dev=0x0809b730
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.769 [E] util.c:388: Cannot read from '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/configuration'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.773 [E] util.c:382: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/serial'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.773 [E] util.c:382: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/serial'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.775 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.776 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.776 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.776 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.777 [I] device.c:3181: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_56a_b1_noserial
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.777 [I] hald.c:107: Added device to GDL; udi=/org/freedesktop/Hal/devices/usb_device_56a_b1_noserial
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.777 [I] osspec.c:232: SEQNUM=1103, ACTION=add, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_endpoint/usbdev1.16_ep00, DEVNAME=/dev/usbdev1.16_ep00, IFINDEX=0
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.778 [I] hotplug.c:134: /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_endpoint/usbdev1.16_ep00 is a device (subsystem)
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.778 [I] osspec.c:892: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_endpoint/usbdev1.16_ep00'->'/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.778 [I] device.c:3319: add_dev: subsys=usb_endpoint sysfs_path=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_endpoint/usbdev1.16_ep00 dev=/dev/usbdev1.16_ep00 parent_dev=0x080d6320
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.798 [I] osspec.c:232: SEQNUM=1104, ACTION=add, SUBSYSTEM=usb, DEVPATH=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0, DEVNAME=, IFINDEX=0
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.799 [I] hotplug.c:134: /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0 is a device (subsystem)
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.799 [I] osspec.c:892: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0'->'/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.799 [I] device.c:3319: add_dev: subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0 dev= parent_dev=0x080d6320
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.799 [E] util.c:190: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/bInterfaceNumber'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.799 [E] util.c:190: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/bInterfaceClass'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.800 [E] util.c:190: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/bInterfaceSubClass'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.800 [E] util.c:190: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/bInterfaceProtocol'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.800 [E] util.c:382: Cannot open '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/interface'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.802 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.802 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.802 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.802 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.803 [I] device.c:3181: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.803 [I] hald.c:107: Added device to GDL; udi=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.822 [I] osspec.c:232: SEQNUM=1108, ACTION=add, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/usb_endpoint/usbdev1.16_ep81, DEVNAME=/dev/usbdev1.16_ep81, IFINDEX=0
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.822 [I] hotplug.c:134: /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/usb_endpoint/usbdev1.16_ep81 is a device (subsystem)
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.823 [I] osspec.c:892: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/usb_endpoint/usbdev1.16_ep81'->'/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.823 [I] device.c:3319: add_dev: subsys=usb_endpoint sysfs_path=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/usb_endpoint/usbdev1.16_ep81 dev=/dev/usbdev1.16_ep81 parent_dev=0x080d8950
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.824 [I] osspec.c:232: SEQNUM=1105, ACTION=add, SUBSYSTEM=input, DEVPATH=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input18, DEVNAME=, IFINDEX=0
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.825 [I] hotplug.c:134: /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input18 is a device (subsystem)
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.825 [I] osspec.c:892: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input18'->'/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.825 [I] device.c:3319: add_dev: subsys=input sysfs_path=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input18 dev= parent_dev=0x080d8950
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.845 [I] osspec.c:232: SEQNUM=1109, ACTION=add, SUBSYSTEM=usb_device, DEVPATH=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_device/usbdev1.16, DEVNAME=/dev/bus/usb/001/016, IFINDEX=0
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.846 [I] hotplug.c:134: /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_device/usbdev1.16 is a device (subsystem)
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.846 [I] osspec.c:892: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_device/usbdev1.16'->'/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.846 [I] device.c:3319: add_dev: subsys=usb_device sysfs_path=/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/usb_device/usbdev1.16 dev=/dev/bus/usb/001/016 parent_dev=0x080d6320
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.848 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.848 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.848 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.848 [E] device_info.c:272: Could not resolve keypath '@input.originating_device:info.linux.driver' on udi 'atkbd'
Jul  9 11:58:52 kimon hald[8061]: 11:58:52.849 [I] device.c:3181: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_56a_b1_noserial_usbraw

From what I can see, it looks like it's trying to add the device at some index, failing, disconnecting it, and trying at the next index. It keeps trying, looping through. Most of the chatter is hald, so I've also tried stopping hald, and get:
Code:
Jul  9 12:40:37 kimon [ 2862.175987] usb 1-1.3: new full speed USB device using uhci_hcd and address 123
Jul  9 12:40:37 kimon [ 2862.298179] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:37 kimon [ 2862.301277] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input249
Jul  9 12:40:37 kimon [ 2862.768522] usb 1-1.3: USB disconnect, address 123
Jul  9 12:40:38 kimon [ 2863.212132] usb 1-1.3: new full speed USB device using uhci_hcd and address 124
Jul  9 12:40:38 kimon [ 2863.334324] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:38 kimon [ 2863.337456] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input250
Jul  9 12:40:38 kimon [ 2863.791671] usb 1-1.3: USB disconnect, address 124
Jul  9 12:40:39 kimon [ 2864.238293] usb 1-1.3: new full speed USB device using uhci_hcd and address 125
Jul  9 12:40:39 kimon [ 2864.360465] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:39 kimon [ 2864.363567] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input251
Jul  9 12:40:39 kimon [ 2864.942703] usb 1-1.3: USB disconnect, address 125
Jul  9 12:40:40 kimon [ 2865.254441] usb 1-1.3: new full speed USB device using uhci_hcd and address 126
Jul  9 12:40:40 kimon [ 2865.376629] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:40 kimon [ 2865.379752] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input252
Jul  9 12:40:40 kimon [ 2865.837961] usb 1-1.3: USB disconnect, address 126
Jul  9 12:40:41 kimon [ 2866.280584] usb 1-1.3: new full speed USB device using uhci_hcd and address 127
Jul  9 12:40:41 kimon [ 2866.402770] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:41 kimon [ 2866.405863] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input253
Jul  9 12:40:41 kimon [ 2866.861111] usb 1-1.3: USB disconnect, address 127
Jul  9 12:40:42 kimon [ 2867.303735] usb 1-1.3: new full speed USB device using uhci_hcd and address 3
Jul  9 12:40:42 kimon [ 2867.428929] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:42 kimon [ 2867.431995] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input254
Jul  9 12:40:42 kimon [ 2867.884256] usb 1-1.3: USB disconnect, address 3
Jul  9 12:40:43 kimon [ 2868.325885] usb 1-1.3: new full speed USB device using uhci_hcd and address 4
Jul  9 12:40:43 kimon [ 2868.448072] usb 1-1.3: configuration #1 chosen from 1 choice
Jul  9 12:40:43 kimon [ 2868.451176] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input255
Jul  9 12:40:43 kimon [ 2868.907411] usb 1-1.3: USB disconnect, address 4

Even looking at the output of dmesg doesn't look more informative:
Code:
[  407.607157] usb 1-1.3: new full speed USB device using uhci_hcd and address 125
[  407.729371] usb 1-1.3: configuration #1 chosen from 1 choice
[  407.732496] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input127
[  408.185707] usb 1-1.3: USB disconnect, address 125
[  408.649292] usb 1-1.3: new full speed USB device using uhci_hcd and address 126
[  408.777488] usb 1-1.3: configuration #1 chosen from 1 choice
[  408.786325] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input128
[  409.336744] usb 1-1.3: USB disconnect, address 126
[  409.666471] usb 1-1.3: new full speed USB device using uhci_hcd and address 127
[  409.791658] usb 1-1.3: configuration #1 chosen from 1 choice
[  409.793773] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input129
[  410.359880] usb 1-1.3: USB disconnect, address 127
[  410.665618] usb 1-1.3: new full speed USB device using uhci_hcd and address 3
[  410.787833] usb 1-1.3: configuration #1 chosen from 1 choice
[  410.800283] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input130
[  411.255135] usb 1-1.3: USB disconnect, address 3
[  411.698760] usb 1-1.3: new full speed USB device using uhci_hcd and address 4
[  411.824044] usb 1-1.3: configuration #1 chosen from 1 choice
[  411.834001] input: Wacom Intuos3 6x8 as /devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.3/1-1.3:1.0/input/input131
[  412.406195] usb 1-1.3: USB disconnect, address 4

So at this point, it doesn't appear that the kernel is even connecting to the tablet cleanly. If I look in /dev/input I see the tablet connecting and disconnecting to event5 - it blinks in and out. I'm not at the point where I can even start worrying about X, yet.

Any suggestions welcome.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1869
Location: Switzerland (Romandie)

PostPosted: Sun Mar 21, 2010 5:14 pm    Post subject: Reply with quote

Well guys, I get some trouble in order to get my Bamboo cth-460 to work with kernel-2.6.33-gentoo, X version 1.7.5 and xf86-input-wacom-0.10.4. It is not into the kernel driver and I get the fatal Driver=(none) with more /proc/bus/usb/devices

From linuxwacom added support for some newer models, I downloaded the patch. As it was not applying to the 2.6.33 kernel, I done a few modifications:

wacom_wac.h.patch
Code:
--- wacom_wac.h.orig   2010-02-24 19:52:17.000000000 +0100
+++ wacom_wac.h   2010-03-21 17:34:14.000000000 +0100
@@ -20,6 +20,7 @@
 #define WACOM_PKGLEN_PENABLED    8
 #define WACOM_PKGLEN_TPC1FG    5
 #define WACOM_PKGLEN_TPC2FG    14
+#define WACOM_PKGLEN_BAMBOO     9
 
 /* device IDs */
 #define STYLUS_DEVICE_ID   0x02
@@ -53,6 +54,7 @@
    WACOM_BEE,
    WACOM_MO,
    TABLETPC,
+   BAMBOO_PT,
    TABLETPC2FG,
    MAX_TYPE
 };


wacom_wac.c.patch
Code:
--- wacom_wac.c.orig   2010-02-24 19:52:17.000000000 +0100
+++ wacom_wac.c   2010-03-21 17:31:47.000000000 +0100
@@ -150,6 +150,83 @@
    return 1;
 }
 
+static int wacom_bamboo_pt_irq(struct wacom_wac *wacom, void *wcombo)
+{
+   unsigned char *data = wacom->data;
+   int x, y, pressure;
+
+   if ((data[0] != 2) && (data[0] != 0x03)) { /* 0x03 for GB data */
+      dbg("wacom_bamboo_pt_irq: received unknown report #%d", data[0]);
+      return 0;
+   }
+
+   if (data[1] & 0x80) {
+      /* in prox and not a pad data */
+
+      if (data[1] & 0xf0) {
+          if (data[1] & 0x8) {  /* rubber */
+         wacom->tool[0] = BTN_TOOL_RUBBER;
+         wacom->id[0] = ERASER_DEVICE_ID;
+          }
+          else {  /* pen */
+         wacom->tool[0] = BTN_TOOL_PEN;
+         wacom->id[0] = STYLUS_DEVICE_ID;
+          }
+      }
+      x = wacom_le16_to_cpu(&data[2]);
+      y = wacom_le16_to_cpu(&data[4]);
+      wacom_report_abs(wcombo, ABS_X, x);
+      wacom_report_abs(wcombo, ABS_Y, y);
+      wacom_report_abs(wcombo, ABS_PRESSURE, pressure);
+      wacom_report_key(wcombo, BTN_TOUCH, data[1] & 0x01);
+      wacom_report_key(wcombo, BTN_STYLUS, data[1] & 0x02);
+      wacom_report_key(wcombo, BTN_STYLUS2, data[1] & 0x04);
+      wacom_report_abs(wcombo, ABS_MISC, wacom->id[0]); /* report tool id */
+      wacom_report_key(wcombo, wacom->tool[0], 1);
+   } else if (wacom->id[0]) {
+      wacom_report_abs(wcombo, ABS_X, 0);
+      wacom_report_abs(wcombo, ABS_Y, 0);
+      wacom_report_abs(wcombo, ABS_PRESSURE, 0);
+      wacom_report_key(wcombo, BTN_TOUCH, 0);
+      wacom_report_key(wcombo, BTN_STYLUS, 0);
+      wacom_report_key(wcombo, BTN_STYLUS2, 0);
+      wacom->id[0] = 0;
+      wacom_report_abs(wcombo, ABS_MISC, 0); /* reset tool id */
+      wacom_report_key(wcombo, wacom->tool[0], 0);
+   }
+
+   /* send pad data */
+   switch (wacom->features->type) {
+       case BAMBOO_PT:
+      if (data[8] & 0xff) {
+         wacom_input_sync(wcombo);
+         wacom->id[1] = PAD_DEVICE_ID;
+         wacom_report_key(wcombo, BTN_0, (data[7] & 0x08));
+         wacom_report_key(wcombo, BTN_1, (data[7] & 0x20));
+         wacom_report_key(wcombo, BTN_4, (data[7] & 0x10));
+         wacom_report_key(wcombo, BTN_5, (data[7] & 0x40));
+         wacom_report_abs(wcombo, ABS_WHEEL, (data[8] & 0x7f));
+         wacom_report_key(wcombo, BTN_TOOL_FINGER, 0xf0);
+         wacom_report_abs(wcombo, ABS_MISC, wacom->id[1]);
+         wacom_input_event(wcombo, EV_MSC, MSC_SERIAL, 0xf0);
+      } else if (wacom->id[1]) {
+         wacom_input_sync(wcombo);
+         wacom->id[1] = 0;
+         wacom_report_key(wcombo, BTN_0, (data[7] & 0x08));
+         wacom_report_key(wcombo, BTN_1, (data[7] & 0x20));
+         wacom_report_key(wcombo, BTN_4, (data[7] & 0x10));
+         wacom_report_key(wcombo, BTN_5, (data[7] & 0x40));
+         wacom_report_abs(wcombo, ABS_WHEEL, (data[8] & 0x7f));
+         wacom_report_key(wcombo, BTN_TOOL_FINGER, 0);
+         wacom_report_abs(wcombo, ABS_MISC, 0);
+         wacom_input_event(wcombo, EV_MSC, MSC_SERIAL, 0xf0);
+      }
+      break;
+   }
+   return 1;
+}
+
+
 static int wacom_graphire_irq(struct wacom_wac *wacom, void *wcombo)
 {
    unsigned char *data = wacom->data;
@@ -826,6 +903,8 @@
       case GRAPHIRE:
       case WACOM_MO:
          return wacom_graphire_irq(wacom_wac, wcombo);
+      case BAMBOO_PT:
+         return wacom_bamboo_pt_irq(wacom_wac, wcombo);
 
       case PTU:
          return wacom_ptu_irq(wacom_wac, wcombo);
@@ -854,6 +933,7 @@
 void wacom_init_input_dev(struct input_dev *input_dev, struct wacom_wac *wacom_wac)
 {
    switch (wacom_wac->features->type) {
+      case BAMBOO_PT:
       case WACOM_MO:
          input_dev_mo(input_dev, wacom_wac);
       case WACOM_G4:
@@ -956,6 +1036,10 @@
    { "Wacom Intuos4 6x9",    WACOM_PKGLEN_INTUOS,    44704, 27940, 2047, 63, INTUOS4 },
    { "Wacom Intuos4 8x13",   WACOM_PKGLEN_INTUOS,    65024, 40640, 2047, 63, INTUOS4L },
    { "Wacom Intuos4 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 2047, 63, INTUOS4L },
+   { "Wacom Bamboo P&T 4s5", WACOM_PKGLEN_BAMBOO,    14760,  9225, 1023, 63, BAMBOO_PT },
+   { "Wacom Bamboo Pen 4s5", WACOM_PKGLEN_BAMBOO,    14732,  9144, 1023, 63, BAMBOO_PT },
+   { "Wacom Bamboo Craft",   WACOM_PKGLEN_BAMBOO,    14732,  9144, 1023, 63, BAMBOO_PT },
+   { "Wacom Bamboo P&T 6x8", WACOM_PKGLEN_BAMBOO,    21648, 13530, 1023, 63, BAMBOO_PT },
    { "Wacom Cintiq 21UX",    WACOM_PKGLEN_INTUOS,    87200, 65600, 1023, 63, CINTIQ },
    { "Wacom Cintiq 20WSX",   WACOM_PKGLEN_INTUOS,    86680, 54180, 1023, 63, WACOM_BEE },
    { "Wacom Cintiq 12WX",    WACOM_PKGLEN_INTUOS,    53020, 33440, 1023, 63, WACOM_BEE },
@@ -1034,6 +1118,10 @@
    { USB_DEVICE(USB_VENDOR_ID_WACOM, 0xE2) },
    { USB_DEVICE(USB_VENDOR_ID_WACOM, 0xE3) },
    { USB_DEVICE(USB_VENDOR_ID_WACOM, 0x47) },
+   { USB_DEVICE(USB_VENDOR_ID_WACOM, 0xD1) },
+   { USB_DEVICE(USB_VENDOR_ID_WACOM, 0xD4) },
+   { USB_DEVICE(USB_VENDOR_ID_WACOM, 0xD2) },
+   { USB_DEVICE(USB_VENDOR_ID_WACOM, 0xD3) },
    { }
 };


The third file is hopefully not needed because the changes are included into xf86-input-wacom. To apply those patches, copy them into /usr/src/linux/drivers/input/tablet and run:
Code:
patch -p0 < wacom_wac.h.patch
patch -p0 < wacom_wac.c.patch


Now, it is just to compile the driver and install it as usual. And to run a modprobe wacom of course.

After that, more /proc/bus/usb/devices give me
Code:
T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=056a ProdID=00d1 Rev= 1.06
S:  Manufacturer=Wacom Co.,Ltd.
S:  Product=CTH-460
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=wacom
E:  Ad=81(I) Atr=03(Int.) MxPS=   9 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=wacom
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=4ms

and get 2 new devices in /dev/input
Code:
# ls /dev/input|grep wac
wacom
wacom-touch


I will restart X and keep you updated.
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum