%general-entities; ]> $LastChangedBy$ $Date$ libusb-&libusb-version; Introduction to <application>libusb</application> The libusb package contains a library used by some applications for USB device access. Package information Download (HTTP): Download (FTP): Download size: &libusb-size; Estimated Disk space required: &libusb-buildsize; Estimated build time: &libusb-time; <application>libusb</application> dependencies Optional and Installation of <application>libusb</application> Install libusb by running the following commands: ./configure --prefix=/usr --disable-build-docs && make && make install Command explanations : This switch avoids building the documentation. If you wish to build the documentation , you may need to remove the OpenSP catalog definitions from the system SGML catalogs. Use the following commands before building the package to accomplish this: sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \ /etc/sgml/catalog && sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \ /etc/sgml/sgml-docbook.cat If desired, restore the orginal SGML catalogs after the build is complete using the following commands: cp /etc/sgml/catalog.orig /etc/sgml/catalog && cp /etc/sgml/sgml-docbook.cat.orig /etc/sgml/sgml-docbook.cat Configuring <application>libusb</application> libusb requires the usbfs kernel filesystem to be mounted on /proc/bus/usb. Applications require the files in this directory to be accessible to the user, sometimes for both reading and writing. To restrict access to USB devices, create the usb group: groupadd -g 15 usb Mount usbfs at system boot-up using a special init script, as putting an extra line into /etc/fstab does not work for those who compiled "USB device filesystem" as a kernel module. Install the /etc/rc.d/init.d/usb init script included in the package: make install-usb Contents The libusb package contains libusb libraries, the /usr/include/usb.h header, and a usb-config script. Description libusb libraries libusb libraries contain C functions for accessing USB hardware. usb-config The usb-config script provides the right compiler and linker flags for programs using this library.