Some kind of port of lirc_rpi driver