source: general/sysutils/usbutils.xml@ 00785d8

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 00785d8 was 00785d8, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to qt-4.8.0.
Editorial changes to KDE4 introductory text.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9175 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.bz2">
8 <!ENTITY usbutils-download-ftp " ">
9 <!ENTITY usbutils-md5sum "fc69cde51b2094aa4bbd804c0ba97e35">
10 <!ENTITY usbutils-size "472 KB">
11 <!ENTITY usbutils-buildsize "4.5 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 &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>./configure --prefix=/usr --disable-zlib &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;
87mv -v /usr/sbin/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><parameter>--disable-zlib</parameter>: This stops
95 <application>usbutils</application> from installing a compressed usb.ids
96 alongside the uncompressed one.</para>
97
98 </sect2>
99
100 <sect2 role="configuration">
101 <title>Configuring usbutils</title>
102
103 <para>The <filename>usb.ids</filename> data file is constantly being
104 updated. To get a current version of this file, run
105 <command>update-usbids</command> as the <systemitem
106 class="username">root</systemitem> user. This program requires the
107 <xref linkend="which"/> script or program to find <xref linkend="wget"/>
108 or <xref linkend="lynx"/> which are used to download the most current file,
109 and replace the existing file in
110 <filename class='directory'>/usr/share</filename>.</para>
111
112 <para>You may wish to add an entry to
113 <systemitem class="username">root</systemitem>'s (or any other user who
114 has write privilege to <filename class='directory'>/usr/share</filename>)
115 crontab to automatically update the <filename>usb.ids</filename> file
116 periodically.</para>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directories</segtitle>
127
128 <seglistitem>
129 <seg>lsusb, update-usbids, and usb-devices</seg>
130 <seg>None</seg>
131 <seg>None</seg>
132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140 <varlistentry id="lsusb">
141 <term><command>lsusb</command></term>
142 <listitem>
143 <para>is a utility for displaying information about all USB buses in the
144 system and all devices connected to them.</para>
145 <indexterm zone="usbutils lsusb">
146 <primary sortas="b-lsusb">lsusb</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="update-usbids">
152 <term><command>update-usbids</command></term>
153 <listitem>
154 <para>downloads the current version of the USB ID list. Requires
155 <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
156 <indexterm zone="usbutils update-usbids">
157 <primary sortas="b-update-usbids">update-usbids</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="usb-devices">
163 <term><command>usb-devices</command></term>
164 <listitem>
165 <para>is a shell script that displays details of USB buses and devices
166 connected to them. It is designed to be used if /proc/bus/usb/devices
167 is not available on your system.</para>
168 <!-- /proc/bus/usb/devices is scheduled to be moved from usbfs to
169 debugfs in linux-2.6.31. -->
170 <indexterm zone="usbutils usb-devices">
171 <primary sortas="b-usb-devices">usb-devices</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect2>
179
180</sect1>
Note: See TracBrowser for help on using the repository browser.