Driver installation
USB DUX is part of the comedi project. The installation instructions below show you therefore how to install comedi on your system.
On the comedi page there's a WIKI which has the most up to date installation intructions.
Generic installation instructions
Comedi source packages
Note that these packages are usually not the newest versions but they have been tested with the DUX boards.
You can get the newest source code from the comedi.cvs. This is recommended if you work with very recent kernels.
Debian sarge packages
The kernel modules are compiled for kernel-image-2.6.8-3-386.
Install with the command: "dpkg -i packagename.deb"
Debian etch packages
The kernel modules are compiled for kernel-image-2.6.18-6-686.
Install with the command: "dpkg -i packagename.deb"
- kernel drivers
- comedilib (dynamic .so files)
- comedilib development files (static lib and header files)
- all debian related files
Ubuntu edgy eft packages
- comedi kernel drivers for egdy (kernel 2.6.17-11-generic)
- comedi-lib for edgy
- comedi-lib development files
- python bindings for comedi
- directory of all packages (including the source packages)
Ubuntu feisty packages
- comedi kernel drivers for kernel 2.6.20-16-generic
- comedi-lib
- comedi-lib development files
- python bindings for comedi
- directory of all packages (including the source packages)
Ubuntu hardy packages
- comedi kernel drivers for kernel 2.6.24-22-generic
- comedi-lib
- comedi-lib development files
- python bindings for comedi
- directory of all packages (including the source packages)
Hints, release notes, trouble shooting
- First of all: have a look at dmesg. If you
see the lines:
comedi_: usbdux0 has been successfully initialized.
usbcore: registered new driver usbdux
but you don't see the lines:
comedi0: usbdux: usb-device 0 is attached to comedi.
comedi0: successfully attached to usbdux.
you probably don't have hotplug installed. The quick fix is to issue the command manually:
comedi_config -i /usr/local/share/usb/usbdux_firmware.hex /dev/comedi0 usbdux
- Check if the firmware is actually in the directory "/usr/local/share/usb" or "/usr/share/usb" or "/lib/firmware". The firmware files are called "usbdux_firmware.hex" or "usbduxfast_firmware.hex".
- There are two hotplug mechanisms. The old one is located in /etc/hotplug and the new one in /etc/udev. If you've got the directory /etc/hotplug then you have the old hotplug mechanism. If you have a very recent kernel (2.6.15 or newer) and the subdirectroy /etc/udev/rules.d/ then you probably have the new udev support. comedilib supports both, udev and the old hotplug. Just type "./configure --help" in comedilib to get a list of the options.
Here are two simple test scripts which will acquire 1000 samples and plot them with gnuplot:
for further information please have a look at the README files in the tar balls.
If the help and software here has helped you, please fill in our questionnaire.
