Hi,

On Thu, Jul 14, 2011 at 03:49:15PM +0200, Cédric Boutillier wrote:
> 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.

I've actually just been informed that two baud rates are appropriate
for Wacom devices, 19200 for pen only devices and 38400 for touch only
or pen and touch devices. (See
<https://sourceforge.net/mailarchive/message.php?msg_id=27795570> for
the source.)

> > 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.

I take it this is in the /usr/share/X11/xorg.conf.d/50-wacom.conf
file?

> 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:

Excellent news!

> 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"

Indeed, if that works for you I'll split it.

> 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.

Yup, or even to the upstream README!

If it's preferable to use the evdev driver on these devices, it might
be worth filing a bug against the xserver-xorg-input-wacom, don't you
think? I could do it but it would be better if someone with the actual
device did it...

Regards,

Stephen

Attachment: signature.asc
Description: Digital signature

Reply via email to