Dear Kees and Stephen, On Wed, Jul 13, 2011 at 10:27:26AM -0700, Kees Cook wrote: > Well, 2 things I've noticed. One is that the baud rate forcing on the > inputattach commandline breaks thins for me, so that needs to be removed.
> The other problem is that Xorg needs a better rule for catching this > device, and Brian and I haven't figure out how to do that correctly yet. > We've always had to remove the InputClass for our wacom to avoid having the > Xorg wacom driver conflict with it. Following Kees's remarks, I removed the --baud option from inputattach udev rule. After having commented out the wacom xorg.conf snippet, I restarted X, and now the wacom tablet is properly working with the evdev driver. I see now the following in my Xorg.0.log: [ 22.809] (II) config/udev: Adding input device Wacom Serial Penabled 2FG Touchscreen (/dev/input/event6) [ 22.809] (**) Wacom Serial Penabled 2FG Touchscreen: Applying InputClass "evdev tablet catchall" [ 22.809] (II) Using input driver 'evdev' for 'Wacom Serial Penabled 2FG Touchscreen' [ 22.809] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 22.809] (**) Wacom Serial Penabled 2FG Touchscreen: always reports core events [ 22.809] (**) Wacom Serial Penabled 2FG Touchscreen: Device: "/dev/input/event6" [ 22.840] (--) Wacom Serial Penabled 2FG Touchscreen: Found absolute axes [ 22.840] (--) Wacom Serial Penabled 2FG Touchscreen: Found x and y absolute axes [ 22.840] (--) Wacom Serial Penabled 2FG Touchscreen: Found absolute tablet. [ 22.840] (II) Wacom Serial Penabled 2FG Touchscreen: Configuring as tablet [ 22.840] (**) Wacom Serial Penabled 2FG Touchscreen: YAxisMapping: buttons 4 and 5 [ 22.840] (**) Wacom Serial Penabled 2FG Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 22.840] (**) Option "config_info" "udev:/sys/devices/pnp0/00:0b/tty/ttyS0/serio2/input/input6/event6" [ 22.840] (II) XINPUT: Adding extended input device "Wacom Serial Penabled 2FG Touchscreen" (type: TABLET) [ 22.840] (II) Wacom Serial Penabled 2FG Touchscreen: initialized for absolute axes. [ 22.840] (**) Wacom Serial Penabled 2FG Touchscreen: (accel) keeping acceleration scheme 1 [ 22.840] (**) Wacom Serial Penabled 2FG Touchscreen: (accel) acceleration profile 0 [ 22.840] (**) Wacom Serial Penabled 2FG Touchscreen: (accel) acceleration factor: 2.000 [ 22.840] (**) Wacom Serial Penabled 2FG Touchscreen: (accel) acceleration threshold: 4 Thank you very much for your help. Since the --baud option seems problematic for the X200 series, and since according to #616443, Fujitsu models work with the --baud option, maybe the udev has to be split? SUBSYSTEM=="tty", KERNEL=="ttyS[0-9]*", ATTRS{id}=="FUJ02e5", ACTION=="add|change", RUN+="/lib/udev/inputattach --daemon --baud 19200 --w8001 /dev/%k" SUBSYSTEM=="tty", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf00c", ACTION=="add|change", RUN+="/lib/udev/inputattach --daemon --w8001 /dev/%k" Maybe some text can be added to README.Debian to document the fact that once the tablets are attached, one can use the evdev driver instead of wacom? Something like: This package includes a udev rule to automatically attach Wacom W8001 devices on Fujitsu T2010 or Lenovo X200-series laptops and tablets. Once attached, these devices will be supported by the evdev driver with X.org. In that case, ensure that the wacom driver does not interfere. Cédric
signature.asc
Description: Digital signature