Dear Gianfranco, Threre are two patches as follows:
For lirc-0.9.4c: https://github.com/neuralassembly/raspi/blob/master/lirc-gpio-ir.patch For lirc-0.10.1: https://github.com/neuralassembly/raspi/blob/master/lirc-gpio-ir-0.10.patch Please note that the patch for lirc-0.9.4c cannot be applied to lirc-0.10.1 because "mode2.cpp" in lirc-0.10.1 is slightly different from that of lirc-0.9.4c. Similarly, applying the patch for lirc-0.10.1 to lirc-0.9.4c will fail although I have not tried it. Sincerely, Takashi Kanamaru