Search code examples
linuxlirc

Where is LIRC 36 kHz modulation function?


I'd like to modify LIRC to output non-modulated signal (without 36-39 kHz modulation). I'm looking at irsend.c, but fail to see the hardware control code. It must have been somewhere in lirc main files. Any hints?


Solution

  • In my case the solution was already in the driver. The modified driver for raspberry pi (lirc_rpi) takes a few parameters, among them softcarrier. So if you do:

    sudo modprobe lirc_rpi softcarrier=0
    

    the carrier wave will be eliminated.