looks like some race, OPi:GPIO is trying to access them faster then udev is chowning and chmoding files... I'm banging my head for days no more ideas
system is:
Welcome to ARMBIAN 5.32 user-built Debian GNU/Linux 8 (jessie) 3.4.113-sun8i
root@orangepizeroplus2:~# uname -a
Linux orangepizeroplus2 3.4.113-sun8i #4 SMP PREEMPT Thu Sep 21 03:24:39 CEST 2017 armv7l GNU/Linux
I can change the system to any other one (other kernel, other whatever..) if that will help, I was going with the older kernel hoping this will solve the problem, having identical problem with
Welcome to ARMBIAN 5.27 stable Debian GNU/Linux 8 (jessie) 4.10.11-sun8i
root@orangepione:~# uname -a
Linux orangepione 4.10.11-sun8i #2 SMP Tue Apr 18 17:55:20 CEST 2017 armv7l GNU/Linux
so, if anyone have any idea what to try I'd really appreciate some help
Question
arhi
I have seen this old thread but since last post was long time ago and it was shell based I decided to go with new one ...
I have the udev setup (you can see some old versions inside commented out too)
and when I do it step by step from shell I kinda get it working but a simple
fails .. depending on the number of restarts it fails on /sys/class/gpio/gpio1/direction or in one other file there ..
python user is in gpio group, all files are 777...
looks like some race, OPi:GPIO is trying to access them faster then udev is chowning and chmoding files... I'm banging my head for days no more ideas
system is:
I can change the system to any other one (other kernel, other whatever..) if that will help, I was going with the older kernel hoping this will solve the problem, having identical problem with
so, if anyone have any idea what to try I'd really appreciate some help
Link to comment
Share on other sites
4 answers to this question
Recommended Posts