Public bug reported:

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-raspi-settings) rather than in a specific
GPIO library (like rpi.gpio).

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).

** Affects: ubuntu-settings (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Provide access to GPIO to default user
+ [FFe] Provide access to GPIO to default user

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1923672

Title:
  [FFe] Provide access to GPIO to default user

Status in ubuntu-settings package in Ubuntu:
  New

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-raspi-settings) rather than in a
  specific GPIO library (like rpi.gpio).

  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-settings/+bug/1923672/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to