Coder Social home page Coder Social logo

Problem With Non Raspberry OS about txtempus HOT 5 OPEN

hzeller avatar hzeller commented on July 30, 2024
Problem With Non Raspberry OS

from txtempus.

Comments (5)

hzeller avatar hzeller commented on July 30, 2024

If txtempus gives out that message, then it would fall back to Raspberry Pi 3, so that should probably just work in your case.

But you need to be root to be able to access the GPIO pins. Did you start txtempus with sudo ?

from txtempus.

DSH850 avatar DSH850 commented on July 30, 2024

I su to root rather than have a user with sudo privileges, so I ran it as root.

from txtempus.

hzeller avatar hzeller commented on July 30, 2024

it couldn't memory map the GPIO area of the Raspberry Pi, that should not be dependent on the operating system (I used it at least with DietPi). This is why it looks like you're not running as root.

Anyway, if you're running a non-standard operating system on your Pi, you'll have to figure out the details involved getting it to run.

from txtempus.

DSH850 avatar DSH850 commented on July 30, 2024

OK. Thanks. It was worth a shot.

from txtempus.

lachesis avatar lachesis commented on July 30, 2024

I'm running Debian 10 on my Pi Zero W v1.1. Debian sets CONFIG_STRICT_DEVMEM=y which blocks mmapping on /dev/mem unless you pass iomem=relaxed on the kernel command line (by editing /boot/firmware/cmdline.txt). This may not apply in OP's specific situation but leads to a similar error, so I found myself here.

https://wiki.debian.org/RaspberryPi4#GPIO_support

from txtempus.

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.