The libusb package contains a library used by some applications for USB device access.
This package is known to build and work properly using an LFS-7.6 systemd platform.
Download (HTTP): http://downloads.sourceforge.net/libusb/libusb-1.0.19.tar.bz2
Download MD5 sum: f9e2bb5879968467e5ca756cb4e1fa7e
Download size: 512 KB
Estimated disk space required: 7.3 MB (additional 2.8 MB for API documentation)
Estimated build time: less than 0.1 SBU
Install libusb by running the following commands:
sed -i "s:PROJECT_LOGO:#PROJECT_LOGO:g" -i doc/doxygen.cfg.in && ./configure --prefix=/usr --disable-static && make
If Doxygen is installed and you wish to build the API documentation, issue the following command:
make -C doc docs
This package does not come with a test suite.
Now, as the
If you built the API documentation, install it using the following
commands as the
install -v -d -m755 /usr/share/doc/libusb-1.0.19/apidocs && install -v -m644 doc/html/* \ /usr/share/doc/libusb-1.0.19/apidocs
sed -i "s:PROJECT_LOGO:#PROJECT_LOGO:g" ...: This sed fixes building of the documentation.
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.
For more details on setting up USB devices, see the section called “USB Device Issues”.
Last updated on 2014-08-23 16:15:33 +0000