Feature Request - Allow unpriv access to gpio, i2c, and spi
Bug #1880627 reported by
Dale
This bug report is a duplicate of:
Bug #1923363: Grant access to hardware (UARTs, I2C, etc.) via custom udev rules.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
raspi-config (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There should be groups 'gpio', 'i2c', and 'spi' and these should be the groups for the associated hardware pins with read/write access. Users can be put in these groups to allow unpriv access to this hardware. One should not need to have the root password to use these features.
This is resolved on the Ubuntu Server for Pi images; /dev/spidev.*, /dev/gpiochip*, and /dev/i2c-* are now accessible by members of the "dialout" group which the default user is added to by cloud-init.
Unfortunately, it's not yet resolved on Ubuntu Desktop for Pi as although the permissions are correct there, the default user is not a member of the "dialout" group. However, at this point this bug is now effectively a duplicate of 1923363, so I'll mark it as such.