repaper / gratis

EPD Source codes and Documentation
238 stars 132 forks source link

spi-bcm2835 on Raspberry Pi 2 #38

Closed delormev closed 8 years ago

delormev commented 8 years ago

It looks like my device is using spi-bcm2835 rather than spi-bcm2708.

In https://github.com/repaper/gratis/blob/master/PlatformWithOS/RaspberryPi/epd-fuse.sh#L34, changing modprobe spi-bcm2708 to modprobe spi-bcm2835 (line ) did the trick for me, for I'm guess it depends on the model / version of the OS people are using...

shawaj commented 8 years ago

I think spi-bcm2835 is correct on all versions of Raspberry Pi now. I will post on RasPi forum to confirm and then post back here

shawaj commented 8 years ago

So far it looks like spi-bcm2708 is completely deprecated and Raspbian now uses spi-bcm2835 - https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=133024

hxw commented 8 years ago

should be fixed