From: Danny K. <dan...@we...> - 2008-08-21 14:09:21
|
On Donnerstag, 21. August 2008, Michał Pytasz wrote: > Wednesday 20 of August 2008 23:35:02 Danny Kukawka napisał(a): > > On Mittwoch, 20. August 2008, Danny Kukawka wrote: > > > Hi, > > > > > > On Montag, 11. August 2008, you wrote: > > > > An atempt to udev.rules has been made around May this year (refer to > > > > [Linuxwacom-devel] Slightly modified wacom.rule for detail). But no > > > > real solution has been found due to the fact that the same physical > > > > device supports two types of input: stylus and touch. Changes/updates > > > > in udev are needed before we can do anything. Danny, do you have > > > > conact at udev group? > > > > > > IMO the static link /dev/input/wacom make no sense, we should > > > use /dev/input/by-id/* instead. I'm already in discussion with the udev > > > maintainer to find a solution. > > > > @Ping: Can you tell me if every tabletPC has only one of the different > > USB devices (0x90;0x93;0x9a) which provides stylus and/or touch or if > > there are machines wich have two (e.g. one for stylus and another for > > touch) devices. > > > > Can someone please run: > > > > udevadm test > > /devices/pci0000:00/0000:00:1d.7/usb6/6-1/input/input18/event8 > > > > on a TabletPC with a internal USB Tablet with stylus and touch (as the HP > > tx2500z) and send me the output? Replace the device path with the correct > > path of link to the wacom device(s) (use 'ls -alF /sys/class/input' to > > find out). > > > > Danny > > for /dev/input/event7 > Input device ID: bus 0x3 vendor 0x56a product 0x93 version 0x330 > Input device name: "Wacom ISDv4 USB" > > udevadm test /sys/class/input/input7/event7/ > > (cut useless part about parsed files) [...] > > for /dev/input/event8 > Input driver version is 1.0.0 > Input device ID: bus 0x3 vendor 0x56a product 0x93 version 0x330 > Input device name: "Wacom ISDv4 USB" > > udevadm test /sys/class/input/input8/event8 > > (cut useless part about parsed files) [...] > > run on tx2010eo Thanks for the info. Could you try if these two lines generates something useful under /dev/input/by-id/ for the touch devices: KERNEL=="mouse*", ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="Tablet_ISD-V4", ENV{ID_VENDOR}=="Tablet", ENV{ID_CLASS}=="", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-touch" KERNEL=="event*", ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="Tablet_ISD-V4", ENV{ID_VENDOR}=="Tablet", ENV{ID_CLASS}=="", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-touch" You have to add them to /etc/udev/rules.d/60-persistent-input.rules under the existing rules of the '# by-id links' section. Would be useful to get again the udevadm output with these rules included. Danny |