I'm starting with the Dreamplug and also with Linux environment.
Actually I've a DreamPlug with preinstalled Debian Lenny with kernel 22.214.171.124 and I like to start with some USB application because my goal will be control external device trough the USB bus.
As s first step I like to run a simple usb discover application. Regarding this point I've did a little search on the DreamPlug in order to understand what version of the libusb was installed:
dreamplug-debian:~# find / | grep libusb
find: File system loop detected; `/media/usb1' is part of the same file system loop as `/'.
regarding this point I think that the only version is the libusb-0.1.
Now I like to ask to some expert following questions:
I've read out here that there is also the libusb-1.0 version, is better to use this one or I can stay with the pre installed version libusb-0.1?
I'm not able to found any .h file to include into source file, from this post I've discovered that I need to install the dev version of the libusb.
By using the command:
apt-get install libusb-dev
I can install the dev version of the libusb-0.1 this is approx 14.7 MB in size.
I've to use this one or is better switch to the 1.0 release and then install this one?
From my little Linux knowledge I've used this command:
dreamplug-debian:~# apt-cache search libusb
libdjconsole-data - Hercules DJ Console access library - data files
libdjconsole-dev - Hercules DJ Console access library - development headers
libdjconsole0 - Hercules DJ Console access library
libftdi1 - Library to control and program the FTDI USB controller
libhid-dev - userspace USB HID development files
libhid0 - userspace USB HID access library
python-hid - Python wrapper for USB HID access library
libusb++-0.1-4c2 - userspace C++ USB programming library
libusb++-dev - userspace C++ USB programming library development files
libusb-0.1-4 - userspace USB programming library
libusb-dev - userspace USB programming library development files
spectools - Utilities for using the Wi-Spy USB spectrum analyzer hardware
libusbprog-dev - Development files for libusbprog
libusbprog0 - Library for programming the USBprog hardware
ekeyd-uds - Simtec Electronics UDEKEY01 Entropy Key Daemon (UDS variant)
libhpmud-dev - HP Multi-Point Transport Driver (hpmud) development libraries
libhpmud0 - HP Multi-Point Transport Driver (hpmud) run-time libraries
libusb-1.0-0-dev - userspace USB programming library development files
libusb-1.0-0 - userspace USB programming library
Could someone point me into the right direction?
Thanks in advance