source: general/sysutils/usbutils.xml@ fafbdef

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fafbdef was fafbdef, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

itstool-2.0.2 doesn't need docbook-xsl-1.78.1.
Finally, my first tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14286 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY usbutils-download-http "http://ftp.kernel.org/pub/linux/utils/usb/usbutils/usbutils-&usbutils-version;.tar.xz">
8 <!ENTITY usbutils-download-ftp "ftp://ftp.kernel.org/pub/linux/utils/usb/usbutils/usbutils-&usbutils-version;.tar.xz">
9 <!ENTITY usbutils-md5sum "c9df5107ae9d26b10a1736a261250139">
10 <!ENTITY usbutils-size "416 KB">
11 <!ENTITY usbutils-buildsize "4.8 MB">
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 USB Utils</title>
31
32 <para>
33 The <application>USB Utils</application> package contains an utility
34 used to display information about USB buses in the system and the
35 devices connected to them.
36 </para>
37
38 &lfs76_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&usbutils-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&usbutils-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &usbutils-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &usbutils-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &usbutils-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &usbutils-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">USB Utils Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="libusb"/>
79 </para>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/usbutils"/>
83 </para>
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of USB Utils</title>
88
89 <para>
90 Install <application>USB Utils</application> by
91 running the following commands:
92 </para>
93
94<screen><userinput>./configure --prefix=/usr \
95 --disable-zlib \
96 --datadir=/usr/share/misc &amp;&amp;
97make</userinput></screen>
98
99 <para>
100 This package does not come with a test suite.
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>make install &amp;&amp;
108mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
109
110 </sect2>
111
112 <sect2 role="commands">
113 <title>Command Explanations</title>
114
115 <para>
116 <option>--disable-zlib</option>: This stops
117 <application>USB Utils</application> from installing a
118 compressed <filename>usb.ids</filename> alongside the
119 uncompressed one.
120 </para>
121
122 </sect2>
123
124 <sect2 role="configuration">
125 <title>Configuring USB Utils</title>
126
127 <para>
128 The <filename>usb.ids</filename> data file is constantly being
129 updated. To get a current version of this file, run
130 <command>update-usbids</command> as the <systemitem
131 class="username">root</systemitem> user. This program requires the
132 <xref linkend="which"/> script or program to find <xref linkend="lynx"/>
133 or <xref linkend="wget"/> which are used to download the most current file,
134 and replace the existing file in
135 <filename class="directory">/usr/share/misc</filename>.
136 </para>
137
138 <para>
139 You may wish to add an entry to
140 <systemitem class="username">root</systemitem>'s (or any other user who has
141 write privilege to <filename class="directory">/usr/share/misc</filename>)
142 crontab to automatically update the <filename>usb.ids</filename> file
143 periodically.
144 </para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 lsusb, update-usbids, usb-devices, and usbhid-dump
159 </seg>
160 <seg>
161 None
162 </seg>
163 <seg>
164 None
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="lsusb">
175 <term><command>lsusb</command></term>
176 <listitem>
177 <para>
178 is an utility for displaying information about all USB buses
179 in the system and all devices connected to them.
180 </para>
181 <indexterm zone="usbutils lsusb">
182 <primary sortas="b-lsusb">lsusb</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="update-usbids">
188 <term><command>update-usbids</command></term>
189 <listitem>
190 <para>
191 downloads the current version of the USB ID list. Requires
192 <xref linkend="lynx"/> or <xref linkend="wget"/>.
193 </para>
194 <indexterm zone="usbutils update-usbids">
195 <primary sortas="b-update-usbids">update-usbids</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="usb-devices">
201 <term><command>usb-devices</command></term>
202 <listitem>
203 <para>
204 is a shell script that displays details of USB buses and devices
205 connected to them. It is designed to be used if /proc/bus/usb/devices
206 is not available on your system.
207 </para>
208 <indexterm zone="usbutils usb-devices">
209 <primary sortas="b-usb-devices">usb-devices</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="usbhid-dump">
215 <term><command>usbhid-dump</command></term>
216 <listitem>
217 <para>
218 is used to dump report descriptors and streams from HID
219 (human interface device) interfaces of USB devices.
220 </para>
221 <indexterm zone="usbutils usbhid-dump">
222 <primary sortas="b-usbhid-dump">usbhid-dump</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 </variablelist>
228
229 </sect2>
230
231</sect1>
Note: See TracBrowser for help on using the repository browser.