source: general/sysutils/usbutils.xml@ 73fe507

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 73fe507 was 73fe507, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • More short descriptions and fixes, thanks to Denis Mugnier.
  • Update to LVM2.2.02.126. URL changed to a directory with all past releases.
  • Update to mdadm-3.3.3.
  • Update to vsftpd-3.0.3.

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

  • Property mode set to 100644
File size: 7.0 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 "2780b6ae21264c888f8f30fb2aab1259">
10 <!ENTITY usbutils-size "284 KB">
11 <!ENTITY usbutils-buildsize "3.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 utilities
34 used to display information about USB buses in the system and the
35 devices connected to them.
36 </para>
37
38 &lfs77_checked; &gcc5_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 <bridgehead renderas="sect4">Required Runtime</bridgehead>
82 <para role="required runtime">
83 <xref linkend="python2"/> </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/usbutils"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of USB Utils</title>
92
93 <para>
94 Install <application>USB Utils</application> by
95 running the following commands:
96 </para>
97
98<screen><userinput>sed -i '/^usbids/ s:usb.ids:hwdata/&amp;:' lsusb.py &amp;&amp;
99
100./configure --prefix=/usr --datadir=/usr/share/hwdata &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 This package does not come with a test suite.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 <para>
114 The script <command>lsusb.py</command> displays information in a more
115 easily readable form than <command>lsusb</command>. To find the options,
116 use <command>lsusb.py -h</command>. One form of use recommended by the
117 developer is <command>lsusb.py -ciu</command>.
118 </para>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para>
126 <command>sed ... lsusb.py</command>: Instructs lsusb.py where to search
127 <filename>usb.ids</filename>.
128 </para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring USB Utils</title>
134
135 <para>
136 The <filename>usb.ids</filename> data file is constantly being updated.
137 To get a current version of this file, using <xref linkend="wget"/>, run,
138 as the <systemitem class="username">root</systemitem> user:</para>
139
140<screen role="root"><userinput>install -dm755 /usr/share/hwdata/ &amp;&amp;
141wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen>
142
143 <para>
144 You may wish to add an entry to
145 <systemitem class="username">root</systemitem>'s (or any other user who has
146 write privilege to <filename class="directory">/usr/share/hwdata</filename>)
147 crontab to automatically update the <filename>usb.ids</filename> file
148 periodically.
149 </para>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>
163 lsusb, lsusb.py, usb-devices, and usbhid-dump
164 </seg>
165 <seg>
166 None
167 </seg>
168 <seg>
169 None
170 </seg>
171 </seglistitem>
172 </segmentedlist>
173
174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
179 <varlistentry id="lsusb">
180 <term><command>lsusb</command></term>
181 <listitem>
182 <para>
183 is a utility for displaying information about all USB buses
184 in the system and all devices connected to them, but not in human
185 friendly form.
186 </para>
187 <indexterm zone="usbutils lsusb">
188 <primary sortas="b-lsusb">lsusb</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="lsusb.py">
194 <term><command>lsusb.py</command></term>
195 <listitem>
196 <para>
197 displays information about all USB buses in the system and all
198 devices connected to them in reasonable human friendly form.
199 </para>
200 <indexterm zone="usbutils lsusb.py">
201 <primary sortas="b-lsusb.py">lsusb.py</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="usb-devices">
207 <term><command>usb-devices</command></term>
208 <listitem>
209 <para>
210 is a shell script that displays details of USB buses and devices
211 connected to them. It is designed to be used if /proc/bus/usb/devices
212 is not available on your system.
213 </para>
214 <indexterm zone="usbutils usb-devices">
215 <primary sortas="b-usb-devices">usb-devices</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="usbhid-dump">
221 <term><command>usbhid-dump</command></term>
222 <listitem>
223 <para>
224 is used to dump report descriptors and streams from HID
225 (human interface device) interfaces of USB devices.
226 </para>
227 <indexterm zone="usbutils usbhid-dump">
228 <primary sortas="b-usbhid-dump">usbhid-dump</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 </variablelist>
234
235 </sect2>
236
237</sect1>
Note: See TracBrowser for help on using the repository browser.