akipta / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Webiopi is not working on Raspberry 2 #149

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've port a script to my new Raspberry 2, but it wasn't working at all, 
although it worked perfect on the Raspberry B
I've tried to reinstal from scratch on Raspberry2, but the simplest things 
won't work anymore. 

I think WEBIOPI is not working anymore for the newest Raspberry models

Original issue reported on code.google.com by rich.de....@gmail.com on 6 Apr 2015 at 8:50

GoogleCodeExporter commented 9 years ago
This fixed the problem for me:
1.python/native/cpuinfo.c,change "BCM2708" to "BCM2709";
2.python/native/gpio.c, change "#define BCM2708_PERI_BASE 0x20000000" to 
"#define BCM2708_PERI_BASE 0x3f000000";
3.run setup.sh again.

From:
http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=98981&p=692835

Original comment by clot...@gmail.com on 9 Apr 2015 at 3:24