On Fri, 23 Apr 2010, Sarah Sharp wrote: > > Very weird indeed. What shows up in /sys/kernel/debug/usb/devices? > > The USB devices show up fine there. Here's with the roothub and just a HS hub: > > sarah@xanatos:~$ lsusb > Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 003 Device 003: ID 0a5c:2145 Broadcom Corp. > Bus 003 Device 002: ID 08ff:2810 AuthenTec, Inc. > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > sarah@xanatos:~$ ls /sys/bus/usb/devices/ > 1-0:1.0 3-0:1.0 3-1:1.0 3-2:1.0 3-2:1.2 4-0:1.0 6-0:1.0 8-0:1.0 usb1 usb3 usb5 usb7 usb9 > 2-0:1.0 3-1 3-2 3-2:1.1 3-2:1.3 5-0:1.0 7-0:1.0 9-0:1.0 usb2 usb4 usb6 usb8 Okay, but what about /sys/kernel/debug/usb/devices? There's a real, serious reason for asking. Goodness knows where lsusb gets its information from -- but the debugfs usb/devices file is a direct window into the kernel's data structures. It even includes stuff that isn't present in sysfs. > > If that looks all right then maybe the problem is somehow in lsusb. > > You can find out what lsusb is up to by doing > > > > echo 1 >/sys/module/usbcore/parameters/usbfs_snoop > > > > before starting the program and then looking at the dmesg log after it > > runs. > > Here's the output from dmesg when I run lsusb after executing that > command: ... > It seems like it's not asking for anything from bus 9. No, it isn't. Evidently lsusb gets the list of buses from libusb, so maybe there's something funky going on inside libusb. Do you know what version you've got? Another possibility to check out is /dev/bus/usb/. Does everything seem okay in there? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html