commit | e37590c3b910aa774476afaa5569353c9401a9a8 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Thu Nov 07 15:22:01 2019 -0800 |
committer | Jonas Larsson <ljonas@google.com> | Thu Nov 07 16:22:45 2019 -0800 |
tree | 7a6b17ee148bebe46c5afb8bdce930cb3ea6b062 | |
parent | 5a83eb164a9d856c3093ff63498970aac5485ddc [diff] |
Allow non-root access to GPIO & PWM sysfs nodes Mechanism borrowed from Pi to ensure full compatibility with libs like python-periphery. https://github.com/RPi-Distro/raspberrypi-sys-mods/blob/master/etc.armhf/udev/rules.d/99-com.rules Note that a separate group 'gpio' is not used, instead the existing group 'input' is. This is to allow updating an already flashed board with this package to get the feature without re-flashing. Pi adds the gpio group at image build time, requiring re-flash or manual groupadd after update. BUG: 144068132 Change-Id: I27ad8f826536ad6461496a6891c486311e8104d7