Backporting lirc_odroid driver from hardkernel
Backporting the GPIO-based implementation of Lirc receiver/transmitter driver, initally contributed at https://github.com/hardkernel/linux/pull/29, but later reworked in https://github.com/hardkernel/linux/commit/ca7d83cd734d151b234a3dc6e9578d3fd733de8d#diff-a8d20779ea0c3115b28e31876ff93685
Tested this with LibreELEC 8.2.5.
Nice! What about these changes/insertions?
CONFIG_LIRC=y
CONFIG_IR_LIRC_CODEC=y
CONFIG_LIRC_STAGING=y
CONFIG_LIRC_ODROID=m
2013 version (for X/X2) is transmitter/receiver, unfortunatelly, rework done 2016/2017 change this to only transmitter.
Unfortunately I do not have the X or X2 boards to try it with. I made this patch for the C2.
Ok.. I just pointed out that the lirc_odroid as it is now, is only for transmitter.. For the receiver function gpioplug-ir-recv+gpio-ir-recv is needed :(
But that's exactly what I added. The GPIO Receiver functionality.
Btw, it seems like gpioplug-ir-recv was just added in a fork https://github.com/CoreELEC/CoreELEC/releases/tag/8.95.7
But that's exactly what I added. The GPIO Receiver functionality.
I could be wrong, but submitted lirc_odroid.c:
MODULE_DESCRIPTION("GPIO based IR Transmitter driver for Odroid C/C2");
MODULE_PARM_DESC(gpio_out_pin, "GPIO output/transmitter pin number");
is transmitter, not receiver.. This works for you as receiver?