Re: lsusb -t doesn't always work with 2.6.35

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 13, 2010 at 7:46 AM, Greg KH <greg@xxxxxxxxx> wrote:
> Very wierd stuff.
>
> Can you try out the lsusb 0.90 release that I just made and pushed out
> to kernel.org?
>

I tend to think "lsusb -t" has never works very well after version 0.73
(which works with /proc).

The lsusb.py works much better.

I always got "No such file or directory" prompt with "lsusb -t".

mcuee@ubuntu:~/Desktop/build/usbutils/usbutils-0.90$ ./lsusb -t
1-7:1.0: No such file or directory
1-7:1.1: No such file or directory
2-2:1.0: No such file or directory
2-5:1.0: No such file or directory
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/8p, 12M
    |__ Port 1: Dev 2, If 0, Class=stor., Driver=usb-storage, 12M
    |__ Port 2: Dev 3, If 0, Class=vend., Driver=, 12M
    |__ Port 4: Dev 4, If 0, Class=HID, Driver=usbhid, 1.5M
    |__ Port 5: Dev 5, If 0, Class=vend., Driver=, 12M
    |__ Port 5: Dev 5, If 1, Class=vend., Driver=ftdi_sio, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
    |__ Port 7: Dev 6, If 0, Class=vend., Driver=, 480M
    |__ Port 7: Dev 6, If 1, Class=vend., Driver=, 480M
    |__ Port 8: Dev 7, If 0, Class=stor., Driver=usb-storage, 480M

mcuee@ubuntu:~/Desktop/build/usbutils/usbutils-0.90$ ./lsusb
Bus 002 Device 005: ID 0403:bcd9 Future Technology Devices
International, Ltd Stellaris Evaluation Board
Bus 002 Device 004: ID 046d:c054 Logitech, Inc.
Bus 002 Device 003: ID ffff:0005
Bus 002 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive
Bus 001 Device 006: ID 0403:cff8 Future Technology Devices International, Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

mcuee@ubuntu:~/Desktop/build/usbutils$ python lsusb.py
usb1            1d6b:0002 09  2.00 480MBit/s   0mA 1IFs (ehci_hcd
0000:00:04.1) hub
 1-7            0403:cff8 00  2.00 480MBit/s 100mA 2IFs (Amontec
Amontec JTAGkey-2 53T9XDR4)
 1-8            0781:5151 00  2.00 480MBit/s  94mA 1IFs (SanDisk
Cruzer Micro 0000B8702360177D)
usb2            1d6b:0001 09  1.10  12MBit/s   0mA 1IFs (ohci_hcd
0000:00:04.0) hub
 2-1            058f:9360 00  1.10  12MBit/s 100mA 1IFs (  USB Reader 2004888)
 2-2            ffff:0005 02  1.01  12MBit/s 100mA 1IFs (LPCUSB
USBSerial DEADC0DE)
 2-4            046d:c054 00  2.00 1.5MBit/s  98mA 1IFs (Logitech USB
Optical Mouse)
 2-5            0403:bcd9 00  2.00  12MBit/s 500mA 2IFs (LMI Stellaris
Evaluation Board 070200A1)



-- 
Xiaofan
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux