source: general/sysutils/usbutils.xml@ 1ed12e2d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 1ed12e2d was 1ed12e2d, checked in by Randy McMurchy <randy@…>, 18 years ago

Added new package usbutils-0.72

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

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY usbutils-download-http "http://prdownloads.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 <keywordset>
22 <keyword role="package">usbutils-&usbutils-version;.tar</keyword>
23 <keyword role="ftpdir">usbutils</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>usbutils-&usbutils-version;</title>
28
29 <indexterm zone="usbutils">
30 <primary sortas="a-usbutils">usbutils</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to usbutils</title>
35
36 <para>The <application>usbutils</application> package contains a utility
37 used to display information about USB buses in the system and the devices
38 connected to them.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&usbutils-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&usbutils-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &usbutils-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &usbutils-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &usbutils-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &usbutils-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">usbutils Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Required</bridgehead>
65 <para role="required"><xref linkend="libusb"/></para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/usbutils"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of usbutils</title>
74
75 <para>Install <application>usbutils</application> by
76 running the following commands:</para>
77
78<screen><userinput>sed -i 's|DEST=|&amp;/usr/share/|' update-usbids.sh &amp;&amp;
79./configure --prefix=/usr &amp;&amp;
80make</userinput></screen>
81
82 <para>This package does not come with a test suite.</para>
83
84 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
85
86<screen role="root"><userinput>make install &amp;&amp;
87install -v -m755 update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
88
89 </sect2>
90
91 <sect2 role="commands">
92 <title>Command Explanations</title>
93
94 <para><command>sed -i '...' update-usbids.sh</command>: This command is
95 used to modify the download script so that it will replace the existing
96 file in <filename class='directory'>/usr/share</filename> instead of in
97 the current directory.</para>
98
99 </sect2>
100
101 <sect2 role="configuration">
102 <title>Configuring usbutils</title>
103
104 <para>The <filename>usb.ids</filename> data file is constantly being
105 updated. To get a current version of this file, run
106 <command>update-usbids</command> as the <systemitem
107 class="username">root</systemitem> user. This program requires the
108 <xref linkend='which'/> script or program to find <xref linkend='wget'/>
109 or <xref linkend='lynx'/> which are used to download the most current file,
110 and replace the existing file in
111 <filename class='directory'>/usr/share</filename>.</para>
112
113 <para>You may wish to add an entry to
114 <systemitem class="username">root</systemitem>'s (or any other user who
115 has write privilege to <filename class='directory'>/usr/share</filename>)
116 crontab to automatically update the <filename>usb.ids</filename> file
117 periodically.</para>
118
119 </sect2>
120
121 <sect2 role="content">
122 <title>Contents</title>
123
124 <segmentedlist>
125 <segtitle>Installed Programs</segtitle>
126 <segtitle>Installed Libraries</segtitle>
127 <segtitle>Installed Directories</segtitle>
128
129 <seglistitem>
130 <seg>lsusb and update-usbids</seg>
131 <seg>None</seg>
132 <seg>None</seg>
133 </seglistitem>
134 </segmentedlist>
135
136 <variablelist>
137 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
138 <?dbfo list-presentation="list"?>
139 <?dbhtml list-presentation="table"?>
140
141 <varlistentry id="lsusb">
142 <term><command>lsusb</command></term>
143 <listitem>
144 <para>is a utility for displaying information about all USB buses in the
145 system and all devices connected to them.</para>
146 <indexterm zone="usbutils lsusb">
147 <primary sortas="b-lsusb">lsusb</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="update-usbids">
153 <term><command>update-usbids</command></term>
154 <listitem>
155 <para>downloads the current version of the USB ID list. Requires
156 <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
157 <indexterm zone="usbutils update-usbids">
158 <primary sortas="b-update-usbids">update-usbids</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162 </variablelist>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.