usbutils-0.72

Introduction to usbutils

The usbutils package contains a utility used to display information about USB buses in the system and the devices connected to them.

Package Information

usbutils Dependencies

Required

libusb-0.1.12

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/usbutils

Installation of usbutils

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

Command Explanations

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.

Configuring usbutils

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.19 script or program to find Wget-1.10.2 or Lynx-2.8.6rel.5 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.

Contents

Installed Programs: lsusb and update-usbids
Installed Libraries: None
Installed Directories: None

Short Descriptions

lsusb

is a utility for displaying information about all USB buses in the system and all devices connected to them.

update-usbids

downloads the current version of the USB ID list. Requires Wget-1.10.2 or Lynx-2.8.6rel.5.

Last updated on 2008-03-12 11:05:41 -0500