Question

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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top