Git Product home page Git Product logo

Comments (6)

mattjlewis avatar mattjlewis commented on May 23, 2024

Hi Christian, sorry about this. I suspect I know what is going on here, could you let me know the output of these commands please:

uname -a
cat -v /proc/device-tree/compatible
grep Revision /proc/cpuinfo
ls -l /dev/gpio*

In the meantime could you please try run with -Ddiozero.gpio.chardev=false and let me know if that helps.

from diozero.

cbockermann avatar cbockermann commented on May 23, 2024

Hi Matt,

thanks for the reply. The diozero.gpio.chardev=false settings solved it.

As for the information you asked for:

chris@web-radio:~$ uname -a
Linux web-radio 5.4.79+ #1373 Mon Nov 23 13:18:15 GMT 2020 armv6l GNU/Linux
chris@web-radio:~$ cat -v /proc/device-tree/compatible
raspberrypi,model-b^@brcm,bcm2835^
chris@web-radio:~$ grep Revision /proc/cpuinfo 
Revision	: 000f
chris@web-radio:~$ ls -l /dev/gpio*
crw-rw---- 1 root gpio 254, 0 Jan  9 23:17 /dev/gpiochip0
crw-rw---- 1 root gpio 246, 0 Jan  9 23:17 /dev/gpiomem

Yes, it's an older PI, Java startup is sloooow, but RFID-Card reading seems to be much faster with MFRC522 using diozero than the Python libs I've tested... (+ I am a Java guy... :-))

Thanks for the library!

Regards,
Christian

from diozero.

mattjlewis avatar mattjlewis commented on May 23, 2024

I've just released 1.0.1 - hopefully with this release you won't need to run with -Ddiozero.gpio.chardev=false

from diozero.

cbockermann avatar cbockermann commented on May 23, 2024

Thanks! Will start testing right away tomorrow and give you feedback.

Christian

from diozero.

cbockermann avatar cbockermann commented on May 23, 2024

Version 1.0.1 works like charm (without -Ddiozero.gpio.chardev=false).

Thanks for the quick fix and new release!

from diozero.

mattjlewis avatar mattjlewis commented on May 23, 2024

You're very welcome.

from diozero.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.