Usbutils: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
Kb0iic (talk | contribs)
No edit summary
 
(9 intermediate revisions by 6 users not shown)
Line 2: Line 2:
|-valign="top"
|-valign="top"
!Download Source:
!Download Source:
| http://downloads.sourceforge.net/linux-usb/usbutils-{{Usbutils-Version}}.tar.gz
| http://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-{{Usbutils-Version}}.tar.xz
|}
|}


----
----


{{Blank-Package-Introduction}}
{{Package-Introduction||http://www.linux-usb.org/}}


== Dependencies ==
== Dependencies ==
Line 13: Line 13:
=== Required ===
=== Required ===
* [[libusb]]
* [[libusb]]
* [[wget]] for update-usbids


== Non-Multilib ==
== Non-Multilib ==
Line 18: 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 27: Line 27:
  install -v -m755 update-usbids.sh /usr/sbin/update-usbids
  install -v -m755 update-usbids.sh /usr/sbin/update-usbids


=== Command Explanations ===
== Multilib ==


'''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.'''''
'''''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 ===
=== 64Bit ===
Line 64: Line 35:
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 ${BUILD64}" ./configure --prefix=/usr &&
  make
  make



Latest revision as of 01:49, 19 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.