[FFe] Provide access to GPIO to default user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-settings (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
At present, access to the GPIO pins is provided to the dialout group by the udev rules from the rpi.gpio-common package. However, rpi.gpio is a single GPIO library, and the device(s) it provides access to are not specific to it. Moreover, the interface used is deprecated and the /dev/gpiochip* interface is now the favoured mechanism for controlling the GPIO pins.
The choice of the dialout group appears reasonable (historically it's used to provide access to the serial ports, and indeed the serial ports are part of the GPIO header on Raspberry Pi devices), but the rules should be extended to cover the modern /dev/gpiochip* devices, the related /dev/spidev* and /dev/i2c-* devices, and should be placed in a central location (i.e. ubuntu-
Related to this is LP: #1923363 which seeks to ensure equal access across images (the default user is currently granted "dialout" group membership on the pi server images, but not the desktop ones).
summary: |
- Provide access to GPIO to default user + [FFe] Provide access to GPIO to default user |
Changed in ubuntu-settings (Ubuntu Impish): | |
status: | New → Won't Fix |
This bug was fixed in the package ubuntu-settings - 21.04.3
---------------
ubuntu-settings (21.04.3) hirsute; urgency=medium
[ William 'jawn-smith' Wilson ]
* Adding 99-gpio.rules udev rules for Raspberry Pi GPIO functionality
(LP: #1923672)
[ Dave Jones ]
* Replace netplan eth0 renaming rules for raspi with networkd link unit
(LP: #1922266)
-- Dave Jones <email address hidden> Tue, 13 Apr 2021 23:02:42 +0100