I recently purchased a 32MB USB BusDrive which works under Windows XP. My Casio camera has been working for over a year with my Linux system as an automounted drive. If I power up everything in an orderly manner, I can see my motherboard's USB hub, my Stratitec hub, my Epson printer, the camera and the BusDrive in usbview. The camera can be repeatedly mounted and unmounted as /dev/sda1 and the BusDrive as /dev/sdb and I can get to the files on each. But when I unplug and replug the BusDrive, it all starts to come apart. The USB structure looks like this at first: Motherboard Hub +-Stratitec Hub +-Printer +-Camera storage +-BusDrive Hub (this and the next show up at the same time) +-BusDrive storage
When the BusDrive is unplugged (while unmounted) the USB fs doesn't seem to let go of it as I expected. The next time it's plugged in, it gets assigned higher device numbers. After this happens "cat /proc/bus/usb/devices" stalls for a long time. There's some version info below, a run of error messages, some typical usb device data and some typical lsusb output. I have three questions: 1) could this be caused by the motherboard hub being "Ver=1.00" (if I read the proc file correctly). 2) one device mounts as sda1, the other as sdb. Why the difference? Is there a way to see where the usb device will mount without mucking about trying all the different devices? 3) oops, that was already three. Please let me know if there's any other diagnostics I could run. -John Version: Linux version 2.4.18-14 gcc version 3.2 20020903 Red Hat Linux 8.0 3.2-7 /proc/bus/usb/devices: [See how the device count has made it up to 9 in this example. That happens to be the BusDrive hub; the storage didn't make it into the list.] T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 71/900 us ( 8%), #Int= 2, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=c400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 4 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0409 ProdID=0058 Rev= 1.00 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 9 Spd=12 MxCh= 1 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0caf ProdID=2315 Rev= 0.01 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=15ms T: Bus=01 Lev=02 Prnt=04 Port=02 Cnt=02 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b8 ProdID=0005 Rev= 1.00 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms /var/log/messages while the above output was being generated (the printer is Vendor=04b8 above): Apr 5 16:09:01 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:01 lefty kernel: printer.c: usblp0: error -110 reading printer status Apr 5 16:09:07 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:11 lefty last message repeated 2 times Apr 5 16:09:11 lefty kernel: printer.c: usblp0: error -110 reading printer status Apr 5 16:09:15 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:15 lefty kernel: usb.c: error getting string descriptor 0 (error=-110) Apr 5 16:09:19 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:19 lefty kernel: usb.c: error getting string descriptor 0 (error=-110) Apr 5 16:09:21 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:21 lefty kernel: printer.c: usblp0: error -110 reading printer status Apr 5 16:09:23 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:31 lefty last message repeated 2 times Apr 5 16:09:31 lefty kernel: usb.c: error getting string descriptor 0 (error=-110) Apr 5 16:09:31 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:31 lefty kernel: printer.c: usblp0: error -110 reading printer status Apr 5 16:09:35 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:35 lefty kernel: usb.c: error getting string descriptor 0 (error=-110) Apr 5 16:09:36 lefty kernel: usb-uhci.c: ENXIO 80000580, flags 0, urb d649d840, burb d649db40 Apr 5 16:09:36 lefty kernel: printer.c: usblp0: error -6 reading printer status Apr 5 16:09:39 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:41 lefty kernel: usb-uhci.c: ENXIO 80000580, flags 0, urb d649d8c0, burb d649db40 Apr 5 16:09:41 lefty kernel: printer.c: usblp0: error -6 reading printer status Apr 5 16:09:43 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:46 lefty kernel: usb-uhci.c: ENXIO 80000580, flags 0, urb d649d840, burb d649db40 Apr 5 16:09:46 lefty kernel: printer.c: usblp0: error -6 reading printer status Apr 5 16:09:47 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:56 lefty last message repeated 3 times Apr 5 16:09:56 lefty kernel: printer.c: usblp0: error -110 reading printer status Apr 5 16:09:59 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:09:59 lefty kernel: usb.c: error getting string descriptor 0 (error=-110) Apr 5 16:10:03 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:10:03 lefty kernel: usb.c: error getting string descriptor 0 (error=-110) Apr 5 16:10:03 lefty kernel: usb-uhci.c: ENXIO 80000580, flags 0, urb d649db40, burb d649d7c0 Apr 5 16:10:03 lefty last message repeated 2 times Apr 5 16:10:06 lefty kernel: usb_control/bulk_msg: timeout Apr 5 16:10:06 lefty kernel: printer.c: usblp0: error -110 reading printer status lsusb (at a different time; BusDrive plugged <snapshot>, unplugged, plugged <snapshot>, unplugged, plugged <snapshot>; BusDrive is Vendor=0caf): [EMAIL PROTECTED] root]# lsusb -t Bus# 1 `-Dev# 1 Vendor 0x0000 Product 0x0000 `-Dev# 2 Vendor 0x0409 Product 0x0058 |-Dev# 4 Vendor 0x0caf Product 0x2315 | `-Dev# 5 Vendor 0x0caf Product 0x2317 `-Dev# 3 Vendor 0x04b8 Product 0x0005 [EMAIL PROTECTED] root]# lsusb -t Bus# 1 `-Dev# 1 Vendor 0x0000 Product 0x0000 `-Dev# 2 Vendor 0x0409 Product 0x0058 |-Dev# 6 Vendor 0x0caf Product 0x2315 | `-Dev# 7 Vendor 0x0caf Product 0x2317 `-Dev# 3 Vendor 0x04b8 Product 0x0005 [EMAIL PROTECTED] root]# lsusb -t Bus# 1 `-Dev# 1 Vendor 0x0000 Product 0x0000 `-Dev# 2 Vendor 0x0409 Product 0x0058 |-Dev# 8 Vendor 0x0caf Product 0x2315 `-Dev# 3 Vendor 0x04b8 Product 0x0005 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users