gsexton
gsexton
OK, playing with this I realized that I needed to add gpioioctl to host_linux.go, so I added netlink as well. Closing.
Re-Opening. Will submit patch on a PR.
@maruel So i'm pretty sure the reason that netlink was not loading in host init() is because the pipeline blocked infinitely trying receive the message from the netlink socket. I...
@maruel Were you waiting on me for something more? I think I've got everything you asked for completed.
@fstanis I updated the PR to the current head of periph.io/devices and addressed a minor lint error. Did you ever get a chance to test this?
@kedare I'm assuming you're using a Raspberry Pi. Is that correct? Can you tell us what version of periph.io/x/host is listed in your go.mod file? The latest version has updates...
@kedare Thanks for posting that. The error you're getting seems to be coming out of the GPIO subsystem. Unfortunately, I don't have one of those displays and they're on the...
@kedare Can you report what kernel you're using? I've looked through the code, and I'm not seeing where the file descriptor is getting closed. Just to confirm the operation of...
@kedare It would need a jumper between GPIO2 and GPIO10 for the edge on inpin to trigger.
That's working as expected then. I've got a display on order. If you leave your repo up, I'll take a look. It will take at least a week, I'm sure...