source: general/sysutils/usbutils.xml@ d6341da

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 d6341da was 53412367, checked in by Krejzi <krejzi@…>, 12 years ago

usbutils 005

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

  • Property mode set to 100644
File size: 6.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.de.debian.org/debian/pool/main/u/usbutils/usbutils_&usbutils-version;.orig.tar.gz">
8 <!ENTITY usbutils-download-ftp " ">
9 <!ENTITY usbutils-md5sum "2e990265d472e2f6f0662356d654683b">
10 <!ENTITY usbutils-size "232 KB">
11 <!ENTITY usbutils-buildsize "6.0 MB">
12 <!ENTITY usbutils-time "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 &lfs70_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">
64 <xref linkend="libusb"/> and
65 <xref linkend="pkgconfig"/>
66 </para>
67
68 <para condition="html" role="usernotes">User Notes:
69 <ulink url="&blfs-wiki;/usbutils"/></para>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of usbutils</title>
75
76 <para>Install <application>usbutils</application> by
77 running the following commands:</para>
78
79<screen><userinput>./autogen.sh --prefix=/usr --sbindir=/usr/sbin \
80 --disable-zlib &amp;&amp;
81make</userinput></screen>
82
83 <para>This package does not come with a test suite.</para>
84
85 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
86
87<screen role="root"><userinput>make install &amp;&amp;
88mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids</userinput></screen>
89
90 </sect2>
91
92 <sect2 role="commands">
93 <title>Command Explanations</title>
94
95 <para><parameter>--disable-zlib</parameter>: This stops
96 <application>usbutils</application> from installing a compressed usb.ids
97 alongside the uncompressed one.</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, update-usbids, and usb-devices</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
163 <varlistentry id="usb-devices">
164 <term><command>usb-devices</command></term>
165 <listitem>
166 <para>is a shell script that displays details of USB buses and devices
167 connected to them. It is designed to be used if /proc/bus/usb/devices
168 is not available on your system.</para>
169 <!-- /proc/bus/usb/devices is scheduled to be moved from usbfs to
170 debugfs in linux-2.6.31. -->
171 <indexterm zone="usbutils usb-devices">
172 <primary sortas="b-usb-devices">usb-devices</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.