FS#19434 - [xf86-input-wacom] Wacom tablet not working
Attached to Project:
Arch Linux
Opened by Cody Maloney (maloney) - Wednesday, 12 May 2010, 08:23 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 27 July 2010, 19:29 GMT
Opened by Cody Maloney (maloney) - Wednesday, 12 May 2010, 08:23 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 27 July 2010, 19:29 GMT
|
Details
Description:
I have a lenovo x200 tablet, and with it my wacom serial tablet isn't being detected by the rules in xorg.conf.d. Additional info: xf86-input-wacom: 0.10.6-2 xorg-server: 1.8.0.902-1 $udevadm info --path=/sys/class/tty/ttyS0 --attribute-walk looking at device '/devices/pnp0/00:0a/tty/ttyS0': KERNEL=="ttyS0" SUBSYSTEM=="tty" DRIVER=="" looking at parent device '/devices/pnp0/00:0a': KERNELS=="00:0a" SUBSYSTEMS=="pnp" DRIVERS=="serial" ATTRS{id}=="WACf004" looking at parent device '/devices/pnp0': KERNELS=="pnp0" SUBSYSTEMS=="" DRIVERS=="" Wacom Doesn't show up in Xorg.0.log (Attached just in case there's something someone wants in it). Steps to reproduce: Start x Tablet doesn't work |
This task depends upon
Closed by Ionut Biru (wonder)
Tuesday, 27 July 2010, 19:29 GMT
Reason for closing: Implemented
Additional comments about closing: in 0.10.8-1
Tuesday, 27 July 2010, 19:29 GMT
Reason for closing: Implemented
Additional comments about closing: in 0.10.8-1
usbcore: registered new interface driver wacom
wacom: v1.52:USB Wacom tablet driver
It looks sort of like a bug that was reported in the Ubuntu launchpad: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/522318
ACTION=="add|change", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{x11_driver}="wacom"
ACTION=="add|change", SUBSYSTEM=="pnp", ATTR{id}=="WACf*", ENV{NAME}="Serial Wacom Tablet"
I see two problems in the file: It matches WACf, not WACf004 device string, which is the one used in all the Thinkpad tablets.
Additionally, it matches the device path to /etc/input/ttyS0 for serial tablets. However some tablets don't show up there, but in /etc/ttyS0 simply. Editing xorg.conf.d to reflect these differences fixes the issue for me.
Is this something we should fix, or some upstream bug?
Also, I wanna note that this should get fixed ASAP as this happens with the current version of xf86-input-wacom in extra, not just in testing, since the Xorg 1.8 update.
It was rejected upstream because udev rules are distro-specific. So arch should really fix this. For matching, I recommend adding/changing the following lines to 50-wacom.conf
# Match all wacom tablets with a serial ID starting with WACf or FUJ*
ACTION!="add|change", GOTO="wacom_end"
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1",
ENV{ID_INPUT_TABLET}="1", SYMLINK+="input/wacom"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1",
ENV{ID_INPUT_TABLET}="1", SYMLINK+="input/wacom"
LABEL="wacom_end"
This is a hell of an easy fix so please do fix it soon.
Required for Xorg hotplugging support of serial tablets.
I just wonder why it takes so long to fix this, the bug has been around for weeks as well as fixes... does anybody know how to get Jan to fix this quickly? Or is he very busy right now?