usbutils - USB utilities ChangeLog

HOWTO


# usbutils
# ========
# Slackware 9.0, 9.1, 10.0, 10.1, and 10.2's 'usbutils' packages include
# version 0.11

# I include two different versions of usbutils below.  0.11 is (was?) the
# latest official version (released August 2002) and 0.72 is the latest
# version available.


# usbutils 0.11
# =============
# This version of usbutils includes it's own version of libusb, but there is
# a seperate libusb project at sourceforge.  This other libusb is the one
# expected by sane, gphoto, etc.  If you install/upgrade usbutils, you
# should then proceed to the libusb howto so you have the newer library
# installed.

cd
test -f installed/usbutils-0.11.tar.gz && mv installed/usbutils-0.11.tar.gz .
test ! -f usbutils-0.11.tar.gz &&
wget http://www.lrr.in.tum.de/Par/arch/usb/download/usbutils/usbutils-0.11.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "usbutils-*" -exec rm -r {} \;
tar xzvf ~/usbutils-0.11.tar.gz
cd usbutils-0.11
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sbindir=/sbin
make
su -c "removepkg usbutils ; make install"
cd
mkdir -p -m 0700 installed
rm -f installed/usbutils-*.tar.*
mv usbutils-0.11.tar.gz installed/


# usbutils 0.72
# =============
# Prerequisites:
# gawk
# grep
# libusb >= 0.1.8

cd
test -f installed/usbutils-0.72.tar.gz && mv installed/usbutils-0.72.tar.gz .
test ! -f usbutils-0.72.tar.gz &&
wget http://download.sf.net/linux-usb/usbutils-0.72.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "usbutils-*" -exec rm -r {} \;
tar xzvf ~/usbutils-0.72.tar.gz
cd usbutils-0.72
test $UID = 0 && chown -R root:root .

# If you're using a 2.4 kernel, add --enable-usbmodules to configure
test `uname -r | cut -d. -f1,2` = "2.4" &&
./configure --prefix=/usr --sbindir=/sbin --enable-usbmodules

# If not, zap usbmodules and run configure without that option:
test `uname -r | cut -d. -f1,2` = "2.4" ||
( su -c "rm -f /sbin/usbmodules /usr/man/man8/usbmodules.8"
   ./configure --prefix=/usr --sbindir=/sbin )

make
./update-usbids.sh
su -c "removepkg usbutils ; make install"
cd
mkdir -p -m 0700 installed
rm -f installed/usbutils-*.tar.*
mv usbutils-0.72.tar.gz installed/

List of HOWTOs

Last updated: 2021-11-24 11:05am EST(-0500)
Copyright © 2001-2022 Jason Englander. All Rights reserved.
[HTML5]