The usbutils package contains a utility used to display information about USB buses in the system and the devices connected to them.
Download (HTTP): http://downloads.sourceforge.net/linux-usb/usbutils-0.72.tar.gz
Download MD5 sum: ee345fe605ffcfce843dae4aed81122b
Download size: 166 KB
Estimated disk space required: 1.6 MB
Estimated build time: less than 0.1 SBU
Install usbutils by running the following commands:
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh && ./configure --prefix=/usr && make
This package does not come with a test suite.
Now, as the root user:
make install && install -v -m755 update-usbids.sh /usr/sbin/update-usbids
sed -i '...' update-usbids.sh: This command is used to modify the download script so that it will replace the existing file in /usr/share instead of in the current directory.
The usb.ids data file is constantly being updated. To get a current version of this file, run update-usbids as the root user. This program requires the which-2.16 script or program to find Wget-1.10.2 or Lynx-2.8.6 which are used to download the most current file, and replace the existing file in /usr/share.
You may wish to add an entry to root's (or any other user who has write privilege to /usr/share) crontab to automatically update the usb.ids file periodically.
Last updated on 2007-01-18 13:38:19 -0600