From: Sean Y. <se...@me...> - 2025-09-14 21:16:35
|
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 |