Make the phidget devices accessable:
*) Open/create the udev rule file
$ sudo nano /etc/udev/rules.d/80_phidget.rules
*) Add the following content:
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="06c2", ATTRS{idProduct}=="00[3-a][0-f]", MODE="666"
*) set USB_DEVFS_PATH to /dev/bus/usb by adding to ~/.bashrc:
export USB_DEVFS_PATH=/dev/bus/usb
*) restart udev:
$ services udev restart
*) if it doesn't work. Try the good old:
$ sudo reboot
General libraries needed:
$ sudo apt-get install libusb-dev
Installing libs for C development
*) Install lib-usb
$ sudo apt-get install libusb-dev
For the latest c drivers go to http://www.phidgets.com/drivers.php and download the Linux source (currently: http://www.phidgets.com/downloads/libraries/libphidget_2.1.8.20111220.tar.gz)
*) Extract, compile and install
$ tar xvf libphidget_2.1.8.20111220.tar.gz
$ cd libphidget_2.1.8.20111220
$ ./configure
$ make
$ sudo make install
Installing libs for C# development
For the latest c drivers go to http://www.phidgets.com/drivers.php and download the windows libs (currently: http://www.phidgets.com/downloads/libraries/Phidget21-windevel_2.1.8.20111220.zip)
*) Extract and install
$ unzip Phidget21-windevel_2.1.8.20111220.zip
$ cd phidget21-windevel/
$ sudo gacutil -i Phidget21.NET.dll
The file will be located in directory in /usr/lib/mono/gac/Phidget21.NET/
$ cd libphidget_2.1.8.20111220
$ ./configure
$ make
$ sudo make install
For the latest c drivers go to http://www.phidgets.com/drivers.php and download the windows libs (currently: http://www.phidgets.com/downloads/libraries/Phidget21-windevel_2.1.8.20111220.zip)
*) Extract and install
$ unzip Phidget21-windevel_2.1.8.20111220.zip
$ cd phidget21-windevel/
$ sudo gacutil -i Phidget21.NET.dll
The file will be located in directory in /usr/lib/mono/gac/Phidget21.NET/
No comments:
Post a Comment