Hi Alan!

On Mit, 11 Aug 2004, Alan Stern wrote:
> In fact, I would guess that khubd is hanging at the point where one of 
> your devices is recognized and its driver probed.  Knowing what khubd is 
> doing would tell us which driver and where it is running into trouble.

BIngo, you are a genius!  I found what is causing me the problems: Only 
when a specific device is plugged in, the hangs occur (in kernels after 
2.6.7-mm5).

It is a Benq radio mouse with emtpy device descriptor:
T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0d62 ProdID=1000 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms


In all cases, with 2.6.7-mm5 and any later I get the following syslog
messages when I plug in the mouse or it is plugged when usb sys is
starting:
vmunix: drivers/usb/input/hid-core.c: ctrl urb status -2 received
vmunix: drivers/usb/input/hid-core.c: timeout initializing reports
vmunix: 
kernel: input: USB HID v1.10 Mouse [0d62:1000] on usb-0000:02:09.0-1


For the newer kernels the process khubd in fact is in D state:
 khubd         D 00000000     0  1199      1          1477   348 (L-TLB)
 df965d04 00000046 c0c5f400 00000000 1d800000 00800000 df5501fc df55020c 
        00001726 9ea049b3 000000f4 df8ee7d0 df8ee978 0008de11 df965d18 00002710 
        df965d64 c02da922 c0d2fc00 e08d38fd 00000282 c0388ea4 c040d398 0008de11 
 Call Trace:
  [<c02da922>] schedule_timeout+0x60/0xb3
  [<e08d38fd>] unlink1+0x11/0x18 [usbcore]
  [<c01232a1>] process_timeout+0x0/0x5
  [<e08c8b28>] hid_wait_io+0x88/0xcc [usbhid]
  [<c0118fd7>] default_wake_function+0x0/0xc
  [<c0118fd7>] default_wake_function+0x0/0xc
  [<e08c8d08>] hid_init_reports+0xd5/0x17c [usbhid]
  [<e08c964e>] hid_probe+0x26/0x1c0 [usbhid]
  [<c0163f79>] alloc_inode+0x135/0x13a
  [<c01646f3>] new_inode+0x15/0x8f
  [<c017bb0b>] sysfs_new_inode+0x53/0x94
  [<c017bbd9>] sysfs_create+0x8d/0xf0
  [<c017c524>] init_dir+0x0/0x1b
  [<c016226c>] dput+0x1b/0x24f
  [<e08cf060>] usb_probe_interface+0x5a/0x67 [usbcore]
  [<c0206b80>] bus_match+0x32/0x5b
  [<c0206be3>] device_attach+0x3a/0x87
  [<c016226c>] dput+0x1b/0x24f
  [<c0206e54>] bus_add_device+0x54/0x95
  [<c0205f63>] device_add+0x94/0x10f
  [<e08d587e>] usb_set_configuration+0x28d/0x3cb [usbcore]
  [<e08d10a7>] usb_new_device+0xa2/0x155 [usbcore]
  [<e08d1c63>] hub_port_connect_change+0x1ed/0x391 [usbcore]
  [<e08d2043>] hub_events+0x23c/0x361 [usbcore]
  [<c012367c>] free_uid+0x11/0x74
  [<e08d219b>] hub_thread+0x33/0x104 [usbcore]
  [<c0119fe1>] autoremove_wake_function+0x0/0x43
  [<c0105d26>] ret_from_fork+0x6/0x14
  [<c0119fe1>] autoremove_wake_function+0x0/0x43
  [<e08d2168>] hub_thread+0x0/0x104 [usbcore]
  [<c0104249>] kernel_thread_helper+0x5/0xb


I hope this helps you ...

Bottom line for this, I would like to use this mouse, but with the 
new kernels it isn't possible. 

ANother interesting point is the following, but I think this is just
a consequence of the above: When I do NOT have plugged in the mouse
while booting, the Synaptics TOuchpad is recognized, while when it is plugged
in during boot, it is not recognized ... strange, at least to me!

Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>         Technische Universität Wien
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GASTARD (n.)
Useful specially new-coined word for an illegitimate child (in order
to distinguish it from someone who merely carves you up on the
motorway, etc.)
                        --- Douglas Adams, The Meaning of Liff


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to