I have a project where I use the https://github.com/golemparts/rppal library on the Pi4. Now I have a new Pi5 with a an issue with permissions.
In the issue https://github.com/golemparts/rppal/issues/154 I have written a lot of details and the author mentioned this might be a Linux issue.
I created a fresh image from the Pi OS lite 64 bits. I activated the 2 channel PWM but when I look at the permissions they are just for root:
In the boot config: All actions needs to be owned by the gpio group but it is not. What am I'm missing since the author mentioned no additional udev rules should be needed and he doesn't have this issue.
In the issue https://github.com/golemparts/rppal/issues/154 I have written a lot of details and the author mentioned this might be a Linux issue.
I created a fresh image from the Pi OS lite 64 bits. I activated the 2 channel PWM but when I look at the permissions they are just for root:
Code:
$ stat /sys/class/pwm/pwmchip2/export File: /sys/class/pwm/pwmchip2/export Size: 16384 Blocks: 0 IO Block: 16384 regular fileDevice: 0,18Inode: 23381 Links: 1Access: (0200/--w-------) Uid: ( 0/ root) Gid: ( 0/ root)Access: 2024-09-05 19:14:28.863921234 +0200Modify: 2024-09-05 19:14:28.863283257 +0200Change: 2024-09-05 19:14:28.863283257 +0200 Birth: -
Code:
dtoverlay=pwm-2chan,pin=12,func=4,pin2=13,func2=4
Statistics: Posted by johansmitsnl — Sat Sep 07, 2024 1:01 pm