| ||||||||||||
| ||||||||||||
Description: Delcom Generation 2 USB HID Linux Sample Code1 Note(4)
Linux Kernel Issue in v4.8+ Demo linux for delcom gen2 io chip card 902000 - Wray Hutton 2012 this was compiled and tested on SUSE SLES11 SP2 a demo program accepts a integer range 0-255 to turn on leds retrieves current settings, and then sets new pattern Requires libhid libusb-compat-0.1.4.tar.bz2 and libusb-1.0.9.tar.bz2 http://www.libusb.org/ to install you will need to .execute configure;make; make install; you may need to copy cp .h files to usr/include as they are not installed #ls /usr/local/lib libhid.a libhid.so.0.0.0 libusb-1.0.la libusb.a pkgconfig libhid.la libusb-0.1.so.4 libusb-1.0.so libusb.la libhid.so libusb-0.1.so.4.4.4 libusb-1.0.so.0 libusb.so libhid.so.0 libusb-1.0.a libusb-1.0.so.0.1.0 libyasm.a you may need to execute the following if it cannot find the library at runtime #ldconfig -v to compile gcc -I/usr/include -o delcomio2 -lhid delcomio2.c Download Source Code Works with all G2 products.
|