firsttris / mfrc522-rpi

:key: Control your MFRC522 RFID Module with your Raspberry-pi and JavaScript
MIT License
118 stars 35 forks source link

Unable to determine hardware version. I see: Hardware : BCM2835 #1

Closed nitin7dc closed 7 years ago

nitin7dc commented 7 years ago

Getting below error

Unable to determine hardware version. I see: Hardware : BCM2835

firsttris commented 7 years ago

which raspberry are you using?

seems to be related to "wiring-pi" unable to determine your raspberry pi version.

regards Tristan

nitin7dc commented 7 years ago

Raspberry pi 3 Model B running raspbian-jessie-lite

firsttris commented 7 years ago

Okay.. i researched you issue

it seems to be related to the new Kernel Version 4.9

there is already an issue in the Wiring-Pi Module: https://github.com/WiringPi/WiringPi-Node/issues/70

hopefully the will update Wiring-Pi soon..

or we have to switch to another GPIO library which is better maintained.

nitin7dc commented 7 years ago

thanks, i will try on older version of kernel.

firsttris commented 7 years ago

i changed to a fixed wiringpi library https://github.com/firsttris/mfrc522-rpi/commit/20b2fe60b8da27912992e1bf425f290a1deefea7 should be working now on Kernel Version 4.9

nitin7dc commented 7 years ago

thanks, i will check and confirm.

ameenmohamed commented 7 years ago

4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

does not work for me

ameenmohamed commented 7 years ago

i used 1.2 snap shot and upgraded . iupdated etc then it worked for me

com.pi4j pi4j-core 1.2-SNAPSHOT oss-snapshots-repo Sonatype OSS Maven Repository https://oss.sonatype.org/content/groups/public true always
mesutpiskin commented 7 years ago

java -Dpi4j.linking=dynamic ....