Because USB devices are connected to a separate controller, a different command,
lsusb, must be used to list them.
The lsusb utility is provided by the usbutils package.
Install this package via Red Hat Network.
If executed without arguments, the lsusb command displays each USB bus and any
devices attached to them on a separate
line as shown.
USB Device List
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 004: ID
046d:c501 Logitech, Inc.
Cordless Mouse Receiver
Similar to PCI devices, each USB
device has a unique ID.
lsusb probes for this ID and references the
/usr/share/hwdata/usb.ids file for the vendor,
product name, and model number.
If this information is found for the
ID, this more user-friendly information is displayed in the lsusb output as shown in the last line for
the cordless
mouse. To view more information about each bus, use the command lsusb -v.
For example,
Shows the verbose output for the cordless mouse
Verbose Output for a USB Device
Bus 001 Device 004: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
(Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc501 Cordless
Mouse Receiver
bcdDevice 9.10
iManufacturer 1 Logitech
iProduct 2 USB Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 50mA
Etc………
0 comments:
Post a Comment