Usbutils: Difference between revisions
From CBLFS
Jump to navigationJump to search
I added the package description from BLFS. |
I added the "Contents" section. |
||
| Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
|- | |-valign="top" | ||
!Download Source: | !Download Source: | ||
| http://prdownloads.sourceforge.net/linux-usb/usbutils-0.72.tar.gz | | http://prdownloads.sourceforge.net/linux-usb/usbutils-0.72.tar.gz | ||
| Line 28: | Line 28: | ||
make install && | make install && | ||
install -v -m755 update-usbids.sh /usr/sbin/update-usbids | install -v -m755 update-usbids.sh /usr/sbin/update-usbids | ||
=== Command Explanations === | |||
'''sed -i '...' update-usbids.sh''': This command modifies the download script so that it will replace the existing file in /usr/share instead of the one in the current directory. | |||
== Multilib == | == Multilib == | ||
| Line 70: | Line 74: | ||
make install && | make install && | ||
install -v -m755 update-usbids.sh /usr/sbin/update-usbids | install -v -m755 update-usbids.sh /usr/sbin/update-usbids | ||
= Contents = | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! Installed Programs: | |||
| lsusb and update-usbids | |||
|-valign="top" | |||
! Installed Libraries: | |||
| None | |||
|-valign="top" | |||
! Installed Directories: | |||
| None | |||
|} | |||
=== Short Descriptions === | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! lsusb | |||
| is a utility for displaying information about all USB buses in the system and all devices connected to them. | |||
|-valign="top" | |||
! update-usbids | |||
| downloads the current version of the USB ID list. Requires [[Wget]] or [[Lynx]]. | |||
|} | |||
Revision as of 10:09, 17 December 2006
| Download Source: | http://prdownloads.sourceforge.net/linux-usb/usbutils-0.72.tar.gz |
|---|
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.
Dependencies
Required
Non-Multilib
Compile the package:
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh && ./configure --prefix=/usr && make
Install the package
make install && install -v -m755 update-usbids.sh /usr/sbin/update-usbids
Command Explanations
sed -i '...' update-usbids.sh: This command modifies the download script so that it will replace the existing file in /usr/share instead of the one in the current directory.
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make
Install the package
make install && install -v -m755 update-usbids.sh /usr/sbin/update-usbids
N32
Compile the package:
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
make
Install the package
make install && install -v -m755 update-usbids.sh /usr/sbin/update-usbids
64Bit
Compile the package:
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make
Install the package
make install && install -v -m755 update-usbids.sh /usr/sbin/update-usbids
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 or Lynx. |