Changeset ac38e9dc for general/sysutils/usbutils.xml
- Timestamp:
- 08/01/2015 04:26:22 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- ad6910d
- Parents:
- 4a83293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/usbutils.xml
r4a83293 rac38e9dc 7 7 <!ENTITY usbutils-download-http "http://ftp.kernel.org/pub/linux/utils/usb/usbutils/usbutils-&usbutils-version;.tar.xz"> 8 8 <!ENTITY usbutils-download-ftp "ftp://ftp.kernel.org/pub/linux/utils/usb/usbutils/usbutils-&usbutils-version;.tar.xz"> 9 <!ENTITY usbutils-md5sum " c9df5107ae9d26b10a1736a261250139">10 <!ENTITY usbutils-size " 416KB">11 <!ENTITY usbutils-buildsize " 4.8 MB">9 <!ENTITY usbutils-md5sum "2780b6ae21264c888f8f30fb2aab1259"> 10 <!ENTITY usbutils-size "284 KB"> 11 <!ENTITY usbutils-buildsize "3.8 MB"> 12 12 <!ENTITY usbutils-time "less than 0.1 SBU"> 13 13 ]> … … 31 31 32 32 <para> 33 The <application>USB Utils</application> package contains an utility33 The <application>USB Utils</application> package contains utilities 34 34 used to display information about USB buses in the system and the 35 35 devices connected to them. 36 36 </para> 37 37 38 &lfs7 6_checked;38 &lfs77_checked; 39 39 40 40 <bridgehead renderas="sect3">Package Information</bridgehead> … … 79 79 </para> 80 80 81 <bridgehead renderas="sect4">Required Runtime</bridgehead> 82 <para role="required runtime"> 83 <xref linkend="python2"/> </para> 84 81 85 <para condition="html" role="usernotes">User Notes: 82 86 <ulink url="&blfs-wiki;/usbutils"/> … … 92 96 </para> 93 97 94 <screen><userinput>sed -i '/^usbids/ s:usb.ids: hwdata/&:' lsusb.py &&95 96 ./configure --prefix=/usr --datadir=/usr/share/ hwdata&&98 <screen><userinput>sed -i '/^usbids/ s:usb.ids:misc/&:' lsusb.py && 99 100 ./configure --prefix=/usr --datadir=/usr/share/misc && 97 101 make</userinput></screen> 98 102 … … 105 109 </para> 106 110 107 <screen role="root"><userinput>make install && 108 mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids</userinput></screen> 111 <screen role="root"><userinput>make install</userinput></screen> 112 113 <para> 114 The script <command>lsusb.py</command> displays information in a more 115 easily readable form than <command>lsusb</command>. To find the options, 116 use <command>lsusb.py -h</command>. One form of use recommended by the 117 developer is <command>lsusb.py -ciu</command>. 118 </para> 109 119 110 120 </sect2> … … 114 124 115 125 <para> 116 <option>--disable-zlib</option>: This stops 117 <application>USB Utils</application> from installing a 118 compressed <filename>usb.ids</filename> alongside the 119 uncompressed one. 126 <command>sed ... lsusb.py</command>: Instructs lsusb.py where to search 127 <filename>usb.ids</filename>. 120 128 </para> 121 129 … … 126 134 127 135 <para> 128 The <filename>usb.ids</filename> data file is constantly being 129 updated. To get a current version of this file, run, as the <systemitem 130 class="username">root</systemitem> user:</para> 131 132 <screen role="root"><userinput>install -dm755 /usr/share/hwdata/ && 133 wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen> 136 The <filename>usb.ids</filename> data file is constantly being updated. 137 To get a current version of this file, using <xref linkend="wget"/>, run, 138 as the <systemitem class="username">root</systemitem> user:</para> 139 140 <screen role="root"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/misc/usb.ids</userinput></screen> 134 141 135 142 <para> 136 143 You may wish to add an entry to 137 144 <systemitem class="username">root</systemitem>'s (or any other user who has 138 write privilege to <filename class="directory">/usr/share/ hwdata</filename>)145 write privilege to <filename class="directory">/usr/share/misc</filename>) 139 146 crontab to automatically update the <filename>usb.ids</filename> file 140 147 periodically. … … 153 160 <seglistitem> 154 161 <seg> 155 lsusb, update-usbids, usb-devices, and usbhid-dump162 lsusb, lsusb.py, usb-devices, and usbhid-dump 156 163 </seg> 157 164 <seg> … … 174 181 <para> 175 182 is an utility for displaying information about all USB buses 176 in the system and all devices connected to them. 183 in the system and all devices connected to them, but not in human 184 friendly form. 177 185 </para> 178 186 <indexterm zone="usbutils lsusb"> … … 182 190 </varlistentry> 183 191 184 <varlistentry id=" update-usbids">185 <term><command> update-usbids</command></term>186 <listitem> 187 <para> 188 d ownloads the current version of the USB ID list. Requires189 <xref linkend="lynx"/> or <xref linkend="wget"/>.190 </para> 191 <indexterm zone="usbutils update-usbids">192 <primary sortas="b- update-usbids">update-usbids</primary>192 <varlistentry id="lsusb.py"> 193 <term><command>lsusb.py</command></term> 194 <listitem> 195 <para> 196 displays information about all USB buses in the system and all 197 devices connected to them in reasonable human friendly form. 198 </para> 199 <indexterm zone="usbutils lsusb.py"> 200 <primary sortas="b-lsusb.py">lsusb.py</primary> 193 201 </indexterm> 194 202 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.