3 ms·
I wrote one that decodes Wiegand[0] off of GPIO. I ended up not using it because epoll-ing the pins is easier to use from a userspace perspective and fast enoug
by samtho 9y ago
I wrote one that decodes Wiegand[0] off of GPIO. I ended up not using it because epoll-ing the pins is easier to use from a userspace perspective and fast enough to capture the transmission. I loosely based the kernel module off of one that was written for another microcontroller[1].
[0]: https://en.wikipedia.org/wiki/Wiegand_interface https://en.wikipedia.org/wiki/Wiegand_interface
[1]: https://github.com/rascalmicro/wiegand-linux https://github.com/rascalmicro/wiegand-linux
- ianhowson 9y agoI did the same but kept it in-kernel to meet Wiegand timings. I had (horrible) another driver which could hang the system for long enough to lose bits. I was in Australia for that work too...