%general-entities; ]> $LastChangedBy$ $Date$ libusb-&libusb-version; Libusb 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 MD5 sum: &libusb-md5sum; Download size: &libusb-size; Estimated disk space required: &libusb-buildsize; Estimated build time: &libusb-time; <application>libusb</application> dependencies Optional (required to build the <acronym>HTML</acronym> user manual) and DocBOOK SGML DTD-4.2 Optional (required to build the <acronym>API</acronym> documentation) and GraphViz Installation of <application>libusb</application> Install libusb by running the following commands: ./configure --prefix=/usr --disable-build-docs && make If you wish to build the API documentation, issue the following command: make apidox Now, as the root user: make install If you built the HTML user manual, install it using the following commands as the root user: install -v -d -m755 /usr/share/doc/libusb-&libusb-version;/html && install -v -m644 doc/html/* /usr/share/doc/libusb-&libusb-version;/html If you built the API documentation, install it using the following commands as the root user: install -v -d -m755 /usr/share/doc/libusb-&libusb-version;/apidocs && install -v -m644 apidocs/html/* /usr/share/doc/libusb-&libusb-version;/apidocs Command explanations : This switch avoids building the HTML user manual. If you wish to build the user manual, you may need to remove the OpenSP catalog definitions from the system SGML catalogs. Use the following command before building the package to accomplish this: sed -i.orig \ -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \ /etc/sgml/catalog \ /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, ensure the usb group exits on your system. If necessary, create the usb group using the following command: groupadd -g 14 usb Ensure that you have compiled the USB device filesystem directly into the kernel or compiled it as a module (listing the resulting usbcore module in the /etc/sysconfig/modules file). You should also have an entry similar to the line below in your /etc/fstab file: USB device filesystem usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0 Contents Installed Program Installed Libraries Installed Directory usb-config libusb.[so,a] and libusbpp.[so,a] /usr/share/doc/libusb-&libusb-version; Short Descriptions usb-config is a script that provides the right compiler and linker flags for programs using libusb. usb-config libusb.[so,a] libraries contain C functions for accessing USB hardware. libusb.[so,a]