danrubel / rpi_gpio.dart

Dart library for accessing the Raspberry Pi GPIO pins
Other
47 stars 5 forks source link

sudo-less GPIO access #10

Closed sebe closed 5 years ago

sebe commented 8 years ago

Saw this tweet about sudo-less gipo access. https://twitter.com/ben_nuttall/status/649573697368551425 I did notice the sudo-less GPIO cmd line access in the debian Jessie on my rpi 2, would be a nice if sudo wasn't required in dart.

danrubel commented 8 years ago

Good idea. I'll dig and see what functionality I can provide without sudo.

danrubel commented 5 years ago

As part of overhauling for Dart 2, I'm investigating /dev/gpiomem access of GPIO pins which, according to the documentation, can be done when not sudo or root.

danrubel commented 5 years ago

New native code in 0.5.0 should allow sudo-less access to gpio pins.