[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 |
|
---|
[fce275e] | 7 | <!ENTITY usbutils-download-http "&sourceforge-repo;/linux-usb/usbutils-&usbutils-version;.tar.gz">
|
---|
[1ed12e2d] | 8 | <!ENTITY usbutils-download-ftp " ">
|
---|
[75c492d] | 9 | <!ENTITY usbutils-md5sum "87612c82e66393a395db91361d168c1b">
|
---|
| 10 | <!ENTITY usbutils-size "241 KB">
|
---|
| 11 | <!ENTITY usbutils-buildsize "2 MB">
|
---|
[1ed12e2d] | 12 | <!ENTITY usbutils-time "less than 0.1 SBU">
|
---|
| 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 |
|
---|
[75c492d] | 36 | &lfs65_checked;
|
---|
| 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>
|
---|
[6d0910f1] | 63 | <para role="required"><xref linkend="libusb-compat"/></para>
|
---|
[1ed12e2d] | 64 |
|
---|
| 65 | <para condition="html" role="usernotes">User Notes:
|
---|
| 66 | <ulink url="&blfs-wiki;/usbutils"/></para>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 role="installation">
|
---|
| 71 | <title>Installation of usbutils</title>
|
---|
| 72 |
|
---|
| 73 | <para>Install <application>usbutils</application> by
|
---|
| 74 | running the following commands:</para>
|
---|
| 75 |
|
---|
[75c492d] | 76 | <screen><userinput>./configure --prefix=/usr --disable-zlib &&
|
---|
[1ed12e2d] | 77 | make</userinput></screen>
|
---|
| 78 |
|
---|
| 79 | <para>This package does not come with a test suite.</para>
|
---|
| 80 |
|
---|
| 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 82 |
|
---|
| 83 | <screen role="root"><userinput>make install &&
|
---|
[75c492d] | 84 | mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
|
---|
[1ed12e2d] | 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="commands">
|
---|
| 89 | <title>Command Explanations</title>
|
---|
| 90 |
|
---|
[75c492d] | 91 | <para><parameter>--disable-zlib</parameter>: This stops
|
---|
| 92 | <application>usbutils</application> from installing a compressed usb.ids
|
---|
| 93 | alongside the uncompressed one.</para>
|
---|
[1ed12e2d] | 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="configuration">
|
---|
| 98 | <title>Configuring usbutils</title>
|
---|
| 99 |
|
---|
| 100 | <para>The <filename>usb.ids</filename> data file is constantly being
|
---|
| 101 | updated. To get a current version of this file, run
|
---|
| 102 | <command>update-usbids</command> as the <systemitem
|
---|
| 103 | class="username">root</systemitem> user. This program requires the
|
---|
[43b1987f] | 104 | <xref linkend="which"/> script or program to find <xref linkend="wget"/>
|
---|
| 105 | or <xref linkend="lynx"/> which are used to download the most current file,
|
---|
[1ed12e2d] | 106 | and replace the existing file in
|
---|
| 107 | <filename class='directory'>/usr/share</filename>.</para>
|
---|
| 108 |
|
---|
| 109 | <para>You may wish to add an entry to
|
---|
| 110 | <systemitem class="username">root</systemitem>'s (or any other user who
|
---|
| 111 | has write privilege to <filename class='directory'>/usr/share</filename>)
|
---|
| 112 | crontab to automatically update the <filename>usb.ids</filename> file
|
---|
| 113 | periodically.</para>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
| 121 | <segtitle>Installed Programs</segtitle>
|
---|
| 122 | <segtitle>Installed Libraries</segtitle>
|
---|
| 123 | <segtitle>Installed Directories</segtitle>
|
---|
| 124 |
|
---|
| 125 | <seglistitem>
|
---|
[75c492d] | 126 | <seg>lsusb, update-usbids, and usb-devices</seg>
|
---|
[1ed12e2d] | 127 | <seg>None</seg>
|
---|
| 128 | <seg>None</seg>
|
---|
| 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | <variablelist>
|
---|
| 133 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 134 | <?dbfo list-presentation="list"?>
|
---|
| 135 | <?dbhtml list-presentation="table"?>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="lsusb">
|
---|
| 138 | <term><command>lsusb</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>is a utility for displaying information about all USB buses in the
|
---|
| 141 | system and all devices connected to them.</para>
|
---|
| 142 | <indexterm zone="usbutils lsusb">
|
---|
| 143 | <primary sortas="b-lsusb">lsusb</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="update-usbids">
|
---|
| 149 | <term><command>update-usbids</command></term>
|
---|
| 150 | <listitem>
|
---|
| 151 | <para>downloads the current version of the USB ID list. Requires
|
---|
| 152 | <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
|
---|
| 153 | <indexterm zone="usbutils update-usbids">
|
---|
| 154 | <primary sortas="b-update-usbids">update-usbids</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
[75c492d] | 158 |
|
---|
| 159 | <varlistentry id="usb-devices">
|
---|
| 160 | <term><command>usb-devices</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>is a shell script that displays details of USB buses and devices
|
---|
| 163 | connected to them. It is designed to be used if /proc/bus/usb/devices
|
---|
| 164 | is not available on your system.</para>
|
---|
| 165 | <!-- /proc/bus/usb/devices is scheduled to be moved from usbfs to
|
---|
| 166 | debugfs in linux-2.6.31. -->
|
---|
| 167 | <indexterm zone="usbutils usb-devices">
|
---|
| 168 | <primary sortas="b-usb-devices">usb-devices</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
[1ed12e2d] | 173 | </variablelist>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | </sect1>
|
---|