42ity / fty-sensor-gpio

Agent to manage GPIO sensors and devices
Other
0 stars 9 forks source link

Problem: Various GPIO problems #7

Closed aquette closed 7 years ago

aquette commented 7 years ago

Problem: Need privileges to access GPIO sysfs

Solution: Add udev rule and script, and code delay. There must be a minimum delay between exporting the GPIO, which triggers the creation of new entries under sysfs, and setting the direction and further operations on the GPIO, for the udev rules to be applied.

Signed-off-by: Arnaud Quette ArnaudQuette@Eaton.com

Problem: Need a way to test GPO without actual device

Solution: Install the GPOTEST template too

Signed-off-by: Arnaud Quette ArnaudQuette@Eaton.com