Comments (5)
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.
I su to root rather than have a user with sudo privileges, so I ran it as root.
from txtempus.
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.
OK. Thanks. It was worth a shot.
from txtempus.
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)
- 3d printed case! Can we have the files??? HOT 2
- Copy HOT 2
- Rpi2 60khZ frequency needs overclock HOT 4
- Use different GPIO pins HOT 6
- WWVB daylight davings time HOT 7
- Is it possible to add BPC signal support? HOT 2
- JJY Testing Feedback HOT 2
- does not compile in Visual Studio Cross env for RPI HOT 1
- upcoming minute will fail when current minute has leapsecond
- Implementing txtempus for NVIDIA Jetson series HOT 2
- [Add Feature] Support for ALS162 (ex TDF) French NTP signal on 162 kHz HOT 2
- DCF77 weather protocol HOT 4
- [Suggestion] Removal of attenuation pin
- [Suggestion] Request to Add BPC Time Service Support
- Amplifier HOT 2
- Tried to sync a weather station without success - Help Wanted HOT 6
- JJY not working
- Q: Increase transmit power/range HOT 96
- Crontab instruction HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from txtempus.