leosac / access-control

Leosac Access Control - Open Source Physical Access Control System
https://leosac.com
GNU Affero General Public License v3.0
240 stars 40 forks source link

libsysfsgpio.so not setting gpio name #63

Closed tagno25 closed 9 years ago

tagno25 commented 9 years ago

I am trying to use libsysfsgpio.so to talk to my wiegand reader, but both libled-buzzer.so and libwiegand.so are complaining about GPIOs not existing. I can see that they are being exported correctly, but later modules are not able to use them.

using Leosac from leosac_0.6.0-1_armhf.deb on a Raspberry Pi B+

Config: http://pastebin.com/dad7w8HR Log: http://pastebin.com/0A0KKJ2U

tagno25 commented 9 years ago

errors fixed with pull #64

Still have to test I/O on hardware

xaqq commented 9 years ago

Thank you for the patch. BTW be wary of #48 when playing around with libsysfsgpio.