Difference between revisions of "Usbutils"

From CBLFS
Jump to navigationJump to search
 
 
(18 intermediate revisions by 11 users not shown)
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://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-{{Usbutils-Version}}.tar.xz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction||http://www.linux-usb.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 11: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[libusb]]
 
* [[libusb]]
 +
* [[wget]] for update-usbids
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 16: Line 19:
 
Compile the package:
 
Compile the package:
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 26: Line 28:
  
 
== Multilib ==
 
== Multilib ==
 +
 
'''''This package does not provide any libraries so only one installation is needed.'''''
 
'''''This package does not provide any libraries so only one installation is needed.'''''
  
=== 32Bit ===
+
=== 64Bit ===
  
 
Compile the package:
 
Compile the package:
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure --prefix=/usr &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
 
  make
 
  make
  
Line 41: Line 43:
 
  install -v -m755 update-usbids.sh /usr/sbin/update-usbids
 
  install -v -m755 update-usbids.sh /usr/sbin/update-usbids
  
=== N32 ===
+
= Contents =
  
Compile the package:
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| lsusb and update-usbids
 +
|-valign="top"
 +
! Installed Libraries:
 +
| None
 +
|-valign="top"
 +
! Installed Directories:
 +
| None
 +
|}
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
+
=== Short Descriptions ===
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
 
make
 
  
Install the package
+
{| 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]].
 +
|}
  
make install &&
+
[[Category:General Utilities]]
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
 

Latest revision as of 17:49, 18 February 2013

Download Source: http://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-006.tar.xz

Introduction to Usbutils

Project Homepage: http://www.linux-usb.org/

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 update-usbids.sh /usr/sbin/update-usbids

Multilib

This package does not provide any libraries so only one installation is needed.

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./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.
Retrieved from "?title=Usbutils&oldid=21520"