This module provides a Perl interface to the C library libusb. This library
supports a relatively full set of functionality to access a USB device. In
addition to the libusb, functioality, Device::USB provides a few
convenience features that are intended to produce a more Perl-ish interface.
If called without arguments, the program lists all installed USB devices on
all busses. This is just a Data::Dumper dump of the structures, so it is not
the most user friendly output in the world. (However, the program was only
intended as a quick hack to verify that Device::USB was working.)
If called with arguments, they are expected to be a vendor id and a product id.
(These arguments can be in hex if you precede them with 0x.) The program
searches for a device that matches that vendor id and product id. If it finds
one, the device filename is printed, along with the vendor and product ids.
If the program can open the device, it will also print the manufacture name
and product name as reported by the device.