usbprobe(ADM)


usbprobe -- probe the USB bus for connected devices

Syntax

usbprobe [ -DdCciev ] [ -b busnum ] [ -I file ] [ -O file ] [ -a address | -p path ]
usbprobe -h

Description

The usbprobe command probes the USB bus for all connected devices. By default, it will probe all USB busses and display a single line for each device found. Each line lists the USB device path, the device number on the bus, the device type, and a device description.

Options


-D
Print debugging output as well as the default.

-d
Display device and device descriptor information.

-C
Display USBDI child instance information.

-c
Display configuration descriptor info (includes -d).

-i
Display interface descriptor information.

-e
Display endpoint descriptor information (includes -i).

-v
Verbose output (same as -e and -C ).

-I file
Use file as input instead of /dev/usbprobeXX. The file must have been produced previously using the -O option.

-O file
Write a file containing usbprobe output, suitable for using as input with the -I option.

-b busnum:
Limit output to a specific bus.

-a address
Limit output to devices with a specific address. The -a option cannot be used with the -p option.

-p path
Limit output to devices with a specific path. The path for a device is the sequence of the port numbers between the root hub and the device, separated with dots. For example, 2.5 means that the device is connected to port #5 of a hub connected to port #2 of the root hub. The path for the root hub is 0.

-h
Display command help.

Files


/dev/usbprobeXX
The /dev/usbprobeXX devices are read-only and contain information about USB devices such as host controllers, hubs, and attached USB peripherals. The XX in the device name is a number indicating which host controller is being examined. The contents of these pseudo devices are meant to be used only by the usbprobe command and may change without notice.

See Also

usb(HW)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005