Bug 348056

Summary: wacom 4x5 tablet missing persistent name
Product: [openSUSE] openSUSE 10.3 Reporter: Martin Pley <martin>
Component: OtherAssignee: Kay Sievers <kasievers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: udevmonitor output for intuos 2 after loading wacom.ko
udevmonitor output for intuos 2 before loading wacom.ko
udevmonitor output for intuos 3 after loading wacom.ko

Description Martin Pley 2007-12-12 12:55:35 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.
Comment 1 Martin Pley 2007-12-12 13:11:03 UTC
Created attachment 187217 [details]
udevmonitor output for intuos 2 after loading wacom.ko
Comment 2 Martin Pley 2007-12-12 13:11:31 UTC
Created attachment 187218 [details]
udevmonitor output for intuos 2 before loading wacom.ko
Comment 3 Martin Pley 2007-12-12 13:12:13 UTC
Created attachment 187219 [details]
udevmonitor output for intuos 3 after loading wacom.ko
Comment 4 Martin Pley 2007-12-12 18:06:55 UTC
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
Comment 5 Martin Pley 2007-12-12 20:10:42 UTC
It seems to be a timing problem. bInterfaceClass sometimes does not exist that early. So this will likely also happen with other input devices.
Comment 6 Larry Ewing 2008-01-11 15:17:17 UTC
I see the same thing with my XD-0608-U Intuous 2.
Comment 7 Kay Sievers 2008-03-13 19:34:43 UTC
Looks like a timing problem in the kernel usb stack:
  http://marc.info/?t=120431538900001&r=1&w=2
Comment 8 Kay Sievers 2008-04-23 02:47:16 UTC
This patch hopefully fixes it:
  http://marc.info/?l=linux-usb&m=120887626103961&w=2
Comment 9 Kay Sievers 2008-05-16 00:10:44 UTC
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
Comment 10 Kay Sievers 2008-07-21 13:40:22 UTC
should be fixed with the factory kernel 2.6.26