Bugzilla – Bug 348056
wacom 4x5 tablet missing persistent name
Last modified: 2008-07-21 13:40:22 UTC
Hi, udev seems to have a problem with my wacom XD-0405-U (an "intuos 2"): When I plug it in and the wacom kernel module is _not_ loaded, everything works as expected. Udev creates persistent links for the device named usb-Tablet_XD-0405-U-event-mouse and usb-Tablet_XD-0405-U-mouse. Now, when I plug it out and in again, the persistent links are not created anymore. The same problem happens, when the wacom kernel module was loaded before plugging in the tablet. Btw: With my wacom PTZ-630 (an "intuos 3" device.) udev works always correctly.
Created attachment 187217 [details] udevmonitor output for intuos 2 after loading wacom.ko
Created attachment 187218 [details] udevmonitor output for intuos 2 before loading wacom.ko
Created attachment 187219 [details] udevmonitor output for intuos 3 after loading wacom.ko
Some more information: usb_id failed when it doesn't work: Dec 12 19:04:46 martin udevd-event[25547]: udev_rules_get_name: rule applied, 'mouse2' becomes 'input/mouse2' Dec 12 19:04:46 martin udevd-event[25547]: run_program: 'usb_id --export' Dec 12 19:04:46 martin usb_id[25549]: usb_id: 2-1:1.0: cannot get bInterfaceClass attribute Dec 12 19:04:46 martin udevd-event[25547]: run_program: '/lib/udev/usb_id' returned with status 1 Dec 12 19:04:46 martin udevd-event[25548]: udev_rules_get_name: rule applied, 'event7' becomes 'input/event7' Dec 12 19:04:46 martin udevd-event[25548]: run_program: 'usb_id --export' Dec 12 19:04:46 martin usb_id[25550]: usb_id: 2-1:1.0: cannot get bInterfaceClass attribute Dec 12 19:04:46 martin udevd-event[25548]: run_program: '/lib/udev/usb_id' returned with status 1 Dec
It seems to be a timing problem. bInterfaceClass sometimes does not exist that early. So this will likely also happen with other input devices.
I see the same thing with my XD-0608-U Intuous 2.
Looks like a timing problem in the kernel usb stack: http://marc.info/?t=120431538900001&r=1&w=2
This patch hopefully fixes it: http://marc.info/?l=linux-usb&m=120887626103961&w=2
Fixed upstream for 2.6.26 now. Unfortunately not trivially ported to earlier kernels. The patch depends on other changes, which are not part of 2.6.25. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2e5f10e4f0a9649186d8a8c793822b2e0dae8373
should be fixed with the factory kernel 2.6.26