Hi
I have just got a new RPi2 and was trying to get the GPIO working under Python but got the same error in the original report i.e. module only runs on a Raspberry Pi, I had previously run the apt-get update and upgrade and appear to be running the 0.5.9 code
[email protected] ~ $ find /usr | grep -i gpio
/usr/share/pyshared/RPi.GPIO-0.5.9.egg-info
/usr/share/doc/python3-rpi.gpio
/usr/share/doc/python3-rpi.gpio/changelog.gz
/usr/share/doc/python3-rpi.gpio/copyright
/usr/share/doc/python3-rpi.gpio/changelog.Debian.gz
/usr/share/doc/python-rpi.gpio
/usr/share/doc/python-rpi.gpio/changelog.gz
/usr/share/doc/python-rpi.gpio/copyright
/usr/share/doc/python-rpi.gpio/changelog.Debian.gz
/usr/lib/python3/dist-packages/RPi.GPIO-0.5.9.egg-info
/usr/lib/python3/dist-packages/RPi/GPIO.cpython-32mu.so
/usr/lib/python2.7/dist-packages/RPi.GPIO-0.5.9.egg-info
/usr/lib/python2.7/dist-packages/RPi/GPIO.so
/usr/lib/pyshared/python2.7/RPi/GPIO.so
/usr/lib/pyshared/python2.6/RPi/GPIO.so
/usr/lib/python2.6/dist-packages/RPi.GPIO-0.5.9.egg-info
/usr/lib/python2.6/dist-packages/RPi/GPIO.so
But I noticed that the hardware displayed when running
cat /proc/cpuinfo
is BMC2709 - is this causing the problem with the system not recognising it is running on a Raspberry Pi ? Is there likely to be a fix or do I have to try the dev code with attendant risks.
[email protected] ~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 1
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 2
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 3
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : BCM2709
Revision : a01041
Serial : 0000000078484eb9
I am a school governor trying out some programs for the school and would prefer not to have to ask the school to use dev code rather than mainline code, if possible.
Many thanks
John