Source: libgpiod
Version: 1.6.3-1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

When looking at the upstream README, I see this in 'examples':
$ gpiodetect

Which indicates it can/should be run as a normal user.
But when I try it on my PC, I get the following error:
diederik@pc:~$ gpiodetect
gpiodetect: unable to access GPIO chips: Permission denied

It works when I do it as root though.
It would be great if (f.e.) there was a `gpio` group setup by this
package which grants access to the gpio devices, so that normal users
can interact with the GPIO chips/subsystem.

- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-3-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZUO29gAKCRDXblvOeH7b
blSCAP9M2Mt1TfQaGyhbLfr5eF1OI6/at7z6FCIdYTiX1tSkwAEAgxF6N1pmX1yB
vRKGDgxFcO0Q3XVWA79lE2f6FIp3agg=
=E/J4
-----END PGP SIGNATURE-----

Reply via email to