commit | 5e78a1360d83b121db290702a06ed7d4cca24657 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Thu Nov 07 15:22:01 2019 -0800 |
committer | June Tate-Gans <jtgans@google.com> | Fri Nov 08 20:33:34 2019 +0000 |
tree | 7a6b17ee148bebe46c5afb8bdce930cb3ea6b062 | |
parent | 2048cc28714f405fed10a9350a085e50246a36cc [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 (cherry picked from commit e37590c3b910aa774476afaa5569353c9401a9a8)