Re: lirc - Send doesn't work e.g. ir-ctl -stv.ir

Sean Young <[email protected]> Sun, 14 Sep 2025 22:16:27 +0100
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On Sun, Sep 14, 2025 at 05:38:22PM +0200, Mariusz Ferdyn wrote:
> @Sean Thank you fro your help - moving to pwm-ir-tx for sending (receive was
> OK) - /boot/firmware/config.txt:
> dtoverlay=pwm-ir-tx,gpio_pin=18
> dtoverlay=gpio-ir,gpio_pin=22

That's great! The pwm-ir-tx driver really only becomes reliable in kernel
v6.8, with commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=363d0e56285e80cda997d41d94c22313b673557d

In earlier kernels, under load the generated IR might be garbage. YMMV

Best to update to the latest bookworm version with kernel 6.12.

> It is working for Raspbery Pi 1 - for TV Samsung, Sound Bar Creative and Air
> Condition!
> 
> 
> Thanks for help.

Glad to be of help.

> It is part of bigger project:
> https://github.com/MariuszFerdyn/AirConditionIoTCentral - anyway you can
> link it to LIRC links.

Very nice. I am not really understanding the setup though. You're using
ir-ctl, yet there are various references to lircd. Is lircd used at all,
if so what for what?

Note that ir-ctl doesn't require or use lircd.


Sean