Re:Writing a Simple Linux Kernel Module
by samtho on Thursday November 30, 2017 @01:10PM
(#15817978)
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].
Re:Writing a Simple Linux Kernel Module
by ianhowson on Friday December 01, 2017 @07:17AM
(#15823381)
I 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.
[0]: https://en.wikipedia.org/wiki/Wiegand_interface
[1]: https://github.com/rascalmicro/wiegand-linux