[1ed12e2d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[1ed12e2d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[53412367] | 7 | <!ENTITY usbutils-download-http "http://ftp.de.debian.org/debian/pool/main/u/usbutils/usbutils_&usbutils-version;.orig.tar.gz">
|
---|
[1ed12e2d] | 8 | <!ENTITY usbutils-download-ftp " ">
|
---|
[53412367] | 9 | <!ENTITY usbutils-md5sum "2e990265d472e2f6f0662356d654683b">
|
---|
| 10 | <!ENTITY usbutils-size "232 KB">
|
---|
| 11 | <!ENTITY usbutils-buildsize "6.0 MB">
|
---|
| 12 | <!ENTITY usbutils-time "0.1 SBU">
|
---|
[1ed12e2d] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="usbutils" xreflabel="usbutils-&usbutils-version;">
|
---|
| 16 | <?dbhtml filename="usbutils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>usbutils-&usbutils-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="usbutils">
|
---|
| 26 | <primary sortas="a-usbutils">usbutils</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to usbutils</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>usbutils</application> package contains a utility
|
---|
| 33 | used to display information about USB buses in the system and the devices
|
---|
| 34 | connected to them.</para>
|
---|
| 35 |
|
---|
[0e959c63] | 36 | &lfs70_checked;
|
---|
[75c492d] | 37 |
|
---|
[1ed12e2d] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&usbutils-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&usbutils-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &usbutils-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &usbutils-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &usbutils-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &usbutils-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">usbutils Dependencies</bridgehead>
|
---|
[9f12e36] | 61 |
|
---|
[1ed12e2d] | 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[76cfd80] | 63 | <para role="required">
|
---|
| 64 | <xref linkend="libusb"/> and
|
---|
[00785d8] | 65 | <xref linkend="pkgconfig"/>
|
---|
[76cfd80] | 66 | </para>
|
---|
[1ed12e2d] | 67 |
|
---|
| 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/usbutils"/></para>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of usbutils</title>
|
---|
| 75 |
|
---|
| 76 | <para>Install <application>usbutils</application> by
|
---|
| 77 | running the following commands:</para>
|
---|
| 78 |
|
---|
[53412367] | 79 | <screen><userinput>./autogen.sh --prefix=/usr --sbindir=/usr/sbin \
|
---|
| 80 | --disable-zlib &&
|
---|
[1ed12e2d] | 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>This package does not come with a test suite.</para>
|
---|
| 84 |
|
---|
| 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
| 87 | <screen role="root"><userinput>make install &&
|
---|
[75c492d] | 88 | mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
|
---|
[1ed12e2d] | 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="commands">
|
---|
| 93 | <title>Command Explanations</title>
|
---|
| 94 |
|
---|
[a41f643] | 95 | <para><parameter>--disable-zlib</parameter>: This stops
|
---|
| 96 | <application>usbutils</application> from installing a compressed usb.ids
|
---|
[75c492d] | 97 | alongside the uncompressed one.</para>
|
---|
[1ed12e2d] | 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="configuration">
|
---|
| 102 | <title>Configuring usbutils</title>
|
---|
| 103 |
|
---|
| 104 | <para>The <filename>usb.ids</filename> data file is constantly being
|
---|
| 105 | updated. To get a current version of this file, run
|
---|
| 106 | <command>update-usbids</command> as the <systemitem
|
---|
| 107 | class="username">root</systemitem> user. This program requires the
|
---|
[43b1987f] | 108 | <xref linkend="which"/> script or program to find <xref linkend="wget"/>
|
---|
| 109 | or <xref linkend="lynx"/> which are used to download the most current file,
|
---|
[1ed12e2d] | 110 | and replace the existing file in
|
---|
| 111 | <filename class='directory'>/usr/share</filename>.</para>
|
---|
| 112 |
|
---|
| 113 | <para>You may wish to add an entry to
|
---|
| 114 | <systemitem class="username">root</systemitem>'s (or any other user who
|
---|
| 115 | has write privilege to <filename class='directory'>/usr/share</filename>)
|
---|
| 116 | crontab to automatically update the <filename>usb.ids</filename> file
|
---|
| 117 | periodically.</para>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
| 125 | <segtitle>Installed Programs</segtitle>
|
---|
| 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directories</segtitle>
|
---|
| 128 |
|
---|
| 129 | <seglistitem>
|
---|
[75c492d] | 130 | <seg>lsusb, update-usbids, and usb-devices</seg>
|
---|
[1ed12e2d] | 131 | <seg>None</seg>
|
---|
| 132 | <seg>None</seg>
|
---|
| 133 | </seglistitem>
|
---|
| 134 | </segmentedlist>
|
---|
| 135 |
|
---|
| 136 | <variablelist>
|
---|
| 137 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 138 | <?dbfo list-presentation="list"?>
|
---|
| 139 | <?dbhtml list-presentation="table"?>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="lsusb">
|
---|
| 142 | <term><command>lsusb</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>is a utility for displaying information about all USB buses in the
|
---|
| 145 | system and all devices connected to them.</para>
|
---|
| 146 | <indexterm zone="usbutils lsusb">
|
---|
| 147 | <primary sortas="b-lsusb">lsusb</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="update-usbids">
|
---|
| 153 | <term><command>update-usbids</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>downloads the current version of the USB ID list. Requires
|
---|
| 156 | <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
|
---|
| 157 | <indexterm zone="usbutils update-usbids">
|
---|
| 158 | <primary sortas="b-update-usbids">update-usbids</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
[75c492d] | 162 |
|
---|
| 163 | <varlistentry id="usb-devices">
|
---|
| 164 | <term><command>usb-devices</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>is a shell script that displays details of USB buses and devices
|
---|
| 167 | connected to them. It is designed to be used if /proc/bus/usb/devices
|
---|
| 168 | is not available on your system.</para>
|
---|
[a41f643] | 169 | <!-- /proc/bus/usb/devices is scheduled to be moved from usbfs to
|
---|
[75c492d] | 170 | debugfs in linux-2.6.31. -->
|
---|
| 171 | <indexterm zone="usbutils usb-devices">
|
---|
| 172 | <primary sortas="b-usb-devices">usb-devices</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
[1ed12e2d] | 177 | </variablelist>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | </sect1>
|
---|