rcn-ee / repos

repos.rcn-ee.com
41 stars 30 forks source link

Enable non-root user access to the eQEP modules #34

Closed dplanella closed 6 years ago

dplanella commented 6 years ago

At the moment, any user space software that tries to use the eQEP modules (e.g. using a rotary encoder with Python) needs to be run as root.

It would be preferable to do as the other two subsystems that initially required root access (gpio and pwm) and use a udev rule to set the right permissions at boot time to allow e.g. a particular (non-root) group to access the relevant sysfs eqep attributes.

Pull request #33 does exactly that.

dplanella commented 6 years ago

PR #33 was merged and a new package was immediately uploaded. This issue can now be closed.