I’ve been trying to get rpi gpio working on the latest version of volumio. I’ve had no luck downloading the taz.gz file directly and running the setup script contained in it. It appears to try to compile something but the compiler is not installed. I can get the installer for v0.1.0 of the rpi gpio to install but it doesn’t contain most of the necessary calls. I’ve also tried everything in these 2 threads
pi@volumio:~$ sudo dpkg -i python-rpi.gpio_0.5.11-1_armhf.deb
dpkg-deb: error: `python-rpi.gpio_0.5.11-1_armhf.deb’ is not a debian format arc hive
dpkg: error processing python-rpi.gpio_0.5.11-1_armhf.deb (–install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
python-rpi.gpio_0.5.11-1_armhf.deb
[/code]
It’s not already installed so I don’t understand why it would fail there.
sudo apt-get update
sudo apt-get install build-essential python-dev python-pip mercurial
cd ~
hg clone http://hg.code.sf.net/p/raspberry-gpio-python/code raspberry-gpio-python-code
cd raspberry-gpio-python-code
sudo python setup.py install
pick the default for all the prompts
this appears to have done the trick. I don’t have a multimeter to check the pin outs but it looks like its working. Will update later.