source: general/sysutils/usbutils.xml@ a41f643

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 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 systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a41f643 was a41f643, checked in by Randy McMurchy <randy@…>, 14 years ago

Globally removed all extraneous spaces

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

  • Property mode set to 100644
File size: 5.9 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 "&sourceforge-repo;/linux-usb/usbutils-&usbutils-version;.tar.gz">
8 <!ENTITY usbutils-download-ftp " ">
9 <!ENTITY usbutils-md5sum "34979f675d2bcb3e1b45012fa830a53f">
10 <!ENTITY usbutils-size "246 KB">
11 <!ENTITY usbutils-buildsize "2 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 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
36 &lfs65_checked;
37
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>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="libusb-compat"/></para>
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
76<screen><userinput>./configure --prefix=/usr --disable-zlib &amp;&amp;
77make</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 &amp;&amp;
84mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
85
86 </sect2>
87
88 <sect2 role="commands">
89 <title>Command Explanations</title>
90
91 <para><parameter>--disable-zlib</parameter>: This stops
92 <application>usbutils</application> from installing a compressed usb.ids
93 alongside the uncompressed one.</para>
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
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,
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>
126 <seg>lsusb, update-usbids, and usb-devices</seg>
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>
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
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.