Created attachment 5263 [details] /etc/udev/rules.d/10-wacom.rules +++ This bug was initially created as a clone of Bug #26723 +++ При использовании сизифных xorg-server-1.11.2-alt1 и xorg-drv-wacom-0.12.0-alt1 на /dev/ttyS0 пытается повеситься драйвер evdev, а не wacom -- что ему не удаётся. mv /usr/share/X11/xorg.conf.d/{50,09}-wacom.conf не помогает (рядом 10-evdev.conf -- думал, успевает раньше отработать). Свой xorg.conf с ручной настройкой (её достаточно) отодвинул, из нештатной конфигурации только /etc/udev/rules.d/10-wacom.rules (прилагается, с thinkwiki). # udevadm info --name=/dev/ttyS0 --query=all P: /devices/pnp0/00:0b/tty/ttyS0 N: ttyS0 E: UDEV_LOG=3 E: DEVPATH=/devices/pnp0/00:0b/tty/ttyS0 E: MAJOR=4 E: MINOR=64 E: DEVNAME=/dev/ttyS0 E: SUBSYSTEM=tty E: NAME=Serial Wacom Tablet E: ID_INPUT=1 E: ID_INPUT_TABLET=1 Из возможно имеющего отношение: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568236 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570567 http://ubuntuforums.org/archive/index.php/t-1833248.html http://old.nabble.com/Lenovo-X201t-touchscreen-not-supported-with-latest-input-wacom--td32363527.html Если у нас заведётся inputattach, то вот что с ним наблюдали: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632961 https://bugs.launchpad.net/ubuntu/+source/joystick/+bug/835634
Created attachment 5264 [details] /var/log/Xorg.0.log Модуль wacom вообще не фигурирует, устройство пытается схватить evdev: --- Xorg.0.log (II) config/udev: Adding input device Serial Wacom Tablet (/dev/ttyS0) (**) Serial Wacom Tablet: Applying InputClass "Wacom serial class" (**) Serial Wacom Tablet: Applying InputClass "keyboard" (II) Using input driver 'evdev' for 'Serial Wacom Tablet' (II) Loading /usr/lib/X11/modules/input/evdev_drv.so (**) Serial Wacom Tablet: always reports core events (**) Serial Wacom Tablet: Device: "/dev/ttyS0" (EE) ioctl EVIOCGNAME failed: Invalid argument (EE) PreInit returned 8 for "Serial Wacom Tablet" (II) UnloadModule: "evdev" (II) Unloading evdev ---
(In reply to comment #0) > # udevadm info --name=/dev/ttyS0 --query=all Забыл -- ATTRS{id}, на который ссылается правило, присутствует: # udevadm info --name=/dev/ttyS0 --query=all --attribute-walk Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/pnp0/00:0b/tty/ttyS0': KERNEL=="ttyS0" SUBSYSTEM=="tty" DRIVER=="" looking at parent device '/devices/pnp0/00:0b': KERNELS=="00:0b" SUBSYSTEMS=="pnp" DRIVERS=="serial" ATTRS{id}=="WACf004" looking at parent device '/devices/pnp0': KERNELS=="pnp0" SUBSYSTEMS=="" DRIVERS==""
ping, мне эти рулесы отдельно упаковать или лучше обождать до следующего xorg?
Проверил на текущей бете Simply -- из коробки планшет в составе X61t не завёлся, добавление приложенного к comment 1 10-wacom.rules и udevadm trigger сразу же его подобрало. Прошу одобрить NMU, а ещё лучше -- добавить меня в ACL пакета: http://git.altlinux.org/people/mike/packages/?p=xorg-drv-wacom.git;a=commitdiff;h=0990f6a6f55760a52a3090c75f511eadee09c82e http://git.altlinux.org/people/mike/packages/?p=xorg-drv-wacom.git;a=commitdiff;h=bcc58ca794516b96c9c1ba8a8b2f63ad0282bdb3 http://git.altlinux.org/tasks/98491/ В t6/branch это исправлено полтора года тому (1:0.11.1-alt1.M60T.1, bug #26723).
*comment 0, конечно же.
2 ldv: прошу подтвердить NMU и/или выдать acl.
2 shrek: спасибо, опять проморгал твой approve.
xorg-drv-wacom-1:0.20.0-alt3 -> sisyphus: * Fri Jun 07 2013 Michael Shigorin <mike@altlinux> 1:0.20.0-alt3 - NMU: added udev rules (closes: #26724)