Ignore:
Timestamp:
08/01/2015 04:26:22 AM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
ad6910d
Parents:
4a83293
Message:

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/usbutils.xml

    r4a83293 rac38e9dc  
    77  <!ENTITY usbutils-download-http "http://ftp.kernel.org/pub/linux/utils/usb/usbutils/usbutils-&usbutils-version;.tar.xz">
    88  <!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          "416 KB">
    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">
    1212  <!ENTITY usbutils-time          "less than 0.1 SBU">
    1313]>
     
    3131
    3232    <para>
    33       The <application>USB Utils</application> package contains an utility
     33      The <application>USB Utils</application> package contains utilities
    3434      used to display information about USB buses in the system and the
    3535      devices connected to them.
    3636    </para>
    3737
    38     &lfs76_checked;
     38    &lfs77_checked;
    3939
    4040    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7979    </para>
    8080
     81    <bridgehead renderas="sect4">Required Runtime</bridgehead>
     82    <para role="required runtime">
     83      <xref linkend="python2"/>    </para>
     84
    8185    <para condition="html" role="usernotes">User Notes:
    8286      <ulink url="&blfs-wiki;/usbutils"/>
     
    9296    </para>
    9397
    94 <screen><userinput>sed -i '/^usbids/ s:usb.ids:hwdata/&amp;:' lsusb.py &amp;&amp;
    95 
    96 ./configure --prefix=/usr --datadir=/usr/share/hwdata &amp;&amp;
     98<screen><userinput>sed -i '/^usbids/ s:usb.ids:misc/&amp;:' lsusb.py &amp;&amp;
     99
     100./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
    97101make</userinput></screen>
    98102
     
    105109    </para>
    106110
    107 <screen role="root"><userinput>make install &amp;&amp;
    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>
    109119
    110120  </sect2>
     
    114124
    115125    <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>.
    120128    </para>
    121129
     
    126134
    127135    <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/ &amp;&amp;
    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>
    134141
    135142    <para>
    136143      You may wish to add an entry to
    137144      <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>)
    139146      crontab to automatically update the <filename>usb.ids</filename> file
    140147      periodically.
     
    153160      <seglistitem>
    154161        <seg>
    155           lsusb, update-usbids, usb-devices, and usbhid-dump
     162          lsusb, lsusb.py, usb-devices, and usbhid-dump
    156163        </seg>
    157164        <seg>
     
    174181          <para>
    175182            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.
    177185          </para>
    178186          <indexterm zone="usbutils lsusb">
     
    182190      </varlistentry>
    183191
    184       <varlistentry id="update-usbids">
    185         <term><command>update-usbids</command></term>
    186         <listitem>
    187           <para>
    188             downloads the current version of the USB ID list. Requires
    189             <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>
    193201          </indexterm>
    194202        </listitem>
Note: See TracChangeset for help on using the changeset viewer.