%general-entities; ]> $LastChangedBy$ $Date$ libusb-&libusb-version; Libusb Introduction to libusb 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; libusb Dependencies Optional (Required to Build the API Documentation) User Notes: Installation of libusb Install libusb by running the following commands: ./configure --prefix=/usr && make If you wish to build the API documentation (see the required dependencies), issue the following command: cd doc && make docs && cd .. This package does not come with a test suite. Now, as the root user: make install 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 doc/html/* \ /usr/share/doc/libusb-&libusb-version;/apidocs Configuring Libusb To access raw USB devices (those not treated as a disk by the mass-storage driver), appropriate support must be available in the kernel. Check your kernel configuration for Device Drivers ⇒ USB support ⇒ Support for Host-side USB. Select any USB hardware device drivers you may need on the same page. Support for Host-side USB To have raw USB devices set up properly, add the following udev rule. cat > /etc/udev/rules.d/23-usb.rules << "EOF" # Set group ownership for raw USB devices SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" EOF Add any users that need to access raw USB devices to the usb group. usermod -a -G usb <username> Contents Installed Program Installed Libraries Installed Directories None libusb-1.0.{so,a} /usr/include/libusb-1.0 and /usr/share/doc/libusb-&libusb-version; Short Descriptions libusb.{so,a} libraries contain C functions for accessing USB hardware. libusb-1.0.{so,a}