glfs/general/genlib/libusb/libusb-config.xml
Tushar Teredesai ccca0bd5cf Updated to blfs-bootscripts-2004-05-15, added usb and kerberos init scripts
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2164 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-15 07:16:06 +00:00

27 lines
1.1 KiB
XML

<sect2>
<title>Configuring <application>libusb</application></title>
<!-- To be reviewed when hotplug enters the LFS book -->
<para>libusb requires the usbfs kernel filesystem to be mounted on
<filename class="directory">/proc/bus/usb</filename>. Applications
require the files in this directory to be accessible to the user,
sometimes for both reading and writing.</para>
<para>To restrict access to <acronym>USB</acronym> devices, create the
usb group:</para>
<screen><userinput><command>groupadd -g 15 usb</command></userinput></screen>
<para>To get usbfs mounted on boot, we will create a special init script,
because just putting an extra line into
<filename>/etc/fstab</filename> does not work for those who compiled
"USB device filesystem" as a kernel module.
Install <filename>/etc/rc.d/init.d/usb</filename>
init script included in the
<xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-usb</command></userinput></screen>
</sect2>