Allow the default user to access the new gpio character device

Open
#2,289 23 comments 1 reaction 1 assignee View on GitHub

@XECDesign is already working on this.

Since Jul 30, 2019.

Assessment

This issue has not been assessed yet.

Description

Waiting for external input Waiting for internal comment

I want to switch Processing from using the legacy sysfs interface to the new character device interface (/dev/gpiochip*). To make this possible, those devices should be owned by the gpio group.

The following line, added to 99-com.rules achieves this:

SUBSYSTEM=="gpio", GROUP="gpio", MODE="0660"

Could this be added for upcoming Raspbian releases? Thanks!

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.