Changeset 6397333 for general/sysutils/usbutils.xml
- Timestamp:
- 09/22/2018 11:32:07 PM (6 years ago)
- Branches:
- basic
- Children:
- 4de7ca7
- Parents:
- acf7e2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/usbutils.xml
racf7e2c r6397333 127 127 128 128 </sect2> 129 <!-- No longer needed 130 <sect2 role="commands"> 131 <title>Command Explanations</title> 132 133 <para> 134 <command>sed ... lsusb.py</command>: Instructs lsusb.py where to search 135 <filename>usb.ids</filename>. 136 </para> 137 138 </sect2> 139 --> 129 140 130 <sect2 role="configuration"> 141 131 <title>Configuring USB Utils</title> 142 132 143 <para revision="sysv">133 <para> 144 134 The <filename>usb.ids</filename> data file is constantly being updated. 145 To get a current version of this file, using <xref linkend="wget"/>,146 periodically run again, as the135 For System V based systems, get a current version of this file, using 136 <xref linkend="wget"/>, periodically run, as the 147 137 <systemitem class="username">root</systemitem> user: 148 138 </para> 149 139 150 <screen role="root" revision="sysv"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen>151 152 <para revision="sysv">140 <screen role="root"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen> 141 142 <para> 153 143 You may wish to add an entry to 154 144 <systemitem class="username">root</systemitem>'s (or any other user who has … … 158 148 </para> 159 149 160 <para revision="systemd">161 You should update the <filename>/usr/share/hwdata/usb.ids</filename> file162 periodically. Execute the following commands, as the150 <para> 151 For systemd based systems, 152 execute the following commands, as the 163 153 <systemitem class="username">root</systemitem> user, to create a systemd 164 154 timer to update it weekly on Sundays at 3:00 A.M. (local time): 165 155 </para> 166 156 167 <screen role="root" revision="systemd"><userinput>cat > /lib/systemd/system/update-usbids.service << "EOF" &&157 <screen role="root"><userinput>cat > /lib/systemd/system/update-usbids.service << "EOF" && 168 158 <literal>[Unit] 169 159 Description=Update usb.ids file
Note:
See TracChangeset
for help on using the changeset viewer.