WiringPi / WiringPi-Node

Node.js bindings to wiringPi
333 stars 94 forks source link

Unable to determine hardware version: I see: hardware: bcm2835 #88

Open vandrei977 opened 6 years ago

vandrei977 commented 6 years ago

Please update the install script to download the latest version of wiringpi from their git repo as the version you currently have in the script does not work on linux kernel 4.9.x. There are other wrappers on top of wiringPi that have the same issue.

tillepille commented 6 years ago

Just as an idea to this problem: As how I see it, why not pull directly from git.drogon.net/wiringPi than use these unregular maintained repos?

nitwhiz commented 6 years ago

Documentation is aware of bcm2835, but the software isn't? DOCUMENTATION.md:195 : "Unlike Arduino, the BCM2835 has both pull-up and down internal resistors."

gouthamgandhi commented 6 years ago

I see the same problem anyone found a work around for this ?

toolboc commented 6 years ago

You may try downgrading your raspberry pi kernel to 4.4.50, this fixed the issue for me.

sudo rpi-update 52241088c1da59a359110d39c1875cda56496764

iammoen commented 5 years ago

You may try downgrading your raspberry pi kernel to 4.4.50, this fixed the issue for me.

sudo rpi-update 52241088c1da59a359110d39c1875cda56496764

This worked for me. One note is that I had to remove the node_modules folder and do an npm install after the reboot otherwise I would get a Segmentation Fault. Just in case someone else stumbles across that.