source: general/sysutils/usbutils.xml@ 6732c094

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 6732c094 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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

  • Property mode set to 100644
File size: 5.4 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://downloads.sourceforge.net/linux-usb/usbutils-&usbutils-version;.tar.gz">
8 <!ENTITY usbutils-download-ftp " ">
9 <!ENTITY usbutils-md5sum "ee345fe605ffcfce843dae4aed81122b">
10 <!ENTITY usbutils-size "166 KB">
11 <!ENTITY usbutils-buildsize "1.6 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 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&usbutils-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&usbutils-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &usbutils-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &usbutils-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &usbutils-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &usbutils-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">usbutils Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Required</bridgehead>
61 <para role="required"><xref linkend="libusb"/></para>
62
63 <para condition="html" role="usernotes">User Notes:
64 <ulink url="&blfs-wiki;/usbutils"/></para>
65
66 </sect2>
67
68 <sect2 role="installation">
69 <title>Installation of usbutils</title>
70
71 <para>Install <application>usbutils</application> by
72 running the following commands:</para>
73
74<screen><userinput>sed -i 's|DEST=|&amp;/usr/share/|' update-usbids.sh &amp;&amp;
75./configure --prefix=/usr &amp;&amp;
76make</userinput></screen>
77
78 <para>This package does not come with a test suite.</para>
79
80 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
81
82<screen role="root"><userinput>make install &amp;&amp;
83install -v -m755 update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
84
85 </sect2>
86
87 <sect2 role="commands">
88 <title>Command Explanations</title>
89
90 <para><command>sed -i '...' update-usbids.sh</command>: This command is
91 used to modify the download script so that it will replace the existing
92 file in <filename class='directory'>/usr/share</filename> instead of in
93 the current directory.</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 and update-usbids</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 </variablelist>
159
160 </sect2>
161
162</sect1>
Note: See TracBrowser for help on using the repository browser.