jperkin/node-rpio

SPI not available in gpiomem mode, latest kernel and RPIO

Opened this issue · 2 comments

Hello,

I updated my raspberry pi to latest kernel using apt upgrade and downloaded latest RPIO and I can't use SPI devices anymore.
GPIO control works fine, but my app crashes on spiBegin(); This problem persist even if running node as sudo.

groups pi output:
pi : pi adm dialout cdrom sudo audio video plugdev games users input netdev spi i2c gpio
uname -r output:
5.4.51-v7+

For anyone with the same problem, I can recommend the "spi-device" npm package until this is fixed

Still present in 6.1.21+ on a raspberry pi zero