Open fquirin opened 2 years ago
Yeah so I've had same issue. If you want PWM you need root access. But you can use SPI on like port 10 and you won't need root access, just to be part of the gpio group.
I think that was what I did. It was a bit messy to get it right though if I remember correctly :-|. Since I had 'spi-device' already as dependency I sticked with that in the end.
Using the library requires root permissions aka
sudo
or you will get:My hope was that
/dev/gpiomem
is enough (see this issue) so I made sure my user has access:sudo usermod -a -G gpio $USER
but it doesn't seem to work. Still the same error.Is it because of PWM? I found this but I'm not sure if it plays any role here.