libusb and Tux Droid
Instructions for the installation of libusb for use and development of Tux Droid.
Overview
libusb is used for driving the USB control data endpoints instead of the Linux HID driver for distribution compatibility reasons. The following section describes the minimum libusb requirements for running Tux Droid Daemon and developing Tux Droid programs using libusb. Useful links are provided for troubleshooting if needed.
libusb requirements
Tux Droid applications require:- the libusb version 1.8 or higher
- libusb-devel version 1.8 or higher
libusb installation status
You may check if ALSA is installed by typing in a terminal the following command:
$ whereis libusb
libusb: /usr/lib/libusb.la /usr/lib/libusb.a /usr/lib/libusb.so
Installing libusb
libsusb is installed by default on user-friendly Linux distributions. it is easy to install it with your favorite package manager. Under Fedora Core 5, type as root:# yum install libusb *
Using libusb with Tux Droid
Documentation and the source code can be found at libusb project home.
The easiest way to understand libusb is to read the Tux Daemon documentation and source code. It describes the conversion between high level TCP/IP requests and basic libusb equivalents (Tux Droid Services)