Installing Phidgets in Fedora
January 26th, 2010
Phidgets are boards for sensing and control projects that are managed via a USB connection to a computer. I use the Phidget Interface Kit 0/0/4 for my Christmas light controllers. To control the boards from a Linux workstation, it is necessary to install the Phidgets driver. To allow connectivity to Phidgets from Fedora 12 (or Fedora 10 or 11):
- Download the Phidget source: http://www.phidgets.com/drivers.php
- Untar the contents and change to the
phidget21directory. - Run
make, thensudo make install. - Copy the udev configuration file to the appropriate location.
sudo cp udev/99-phidgets.rules /etc/udev/rules.d/
- Restart udev.
sudo /etc/init.d/udev-post reload
- Connect (or unplug and reconnect) the Phidget board to an available USB port.
I typically control the Phidget board using Python. To install the necessary Python modules:
- Download the Python module source: http://www.phidgets.com/programming_resources.php
- Unzip the module.
- Move the Phidgets directory to the standard location for Python modules.
sudo mv Phidgets/ /usr/lib64/python2.6/