jperkin / node-rpio

Raspberry Pi GPIO library for node.js
857 stars 123 forks source link

SPI not available in gpiomem mode, latest kernel and RPIO #126

Open richardstefun opened 4 years ago

richardstefun commented 4 years ago

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+

richardstefun commented 3 years ago

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

fusionstream commented 1 year ago

Still present in 6.1.21+ on a raspberry pi zero