IR Not Working After October Update

Originally within our config.txt - /boot/config.txt - we had:

dtoverlay=lirc-rpi,gpio_in_pin=23,gpio_out_pin=22

This was set years ago from an old guide for setting up LIRC on a Raspberry Pi.

Assigning this to dtoverlay might no longer work with the update of OSMC. But we’ve also read from another thread that OSMC updates do not have any control over changing transmission for LIRC, but a moderator could probably better address that.

We poked around on this thread and also at this thread:

and after we followed the advice of going to the OSMC Setting:

On OSMC, with your keyboard, go through My OSMCPi ConfigHardware Support

We set:
gpio_pin(0 for disabled) - to 22 - Might be different verbiage depending on the version of OSMC.

We then restarted.

Later we found that after explicitly setting dtoverlay=gpio-ir-tx,gpio_pin=22 in /boot/config.txt , the transmitter worked once again. - This was also after rebooting.

We are assuming that the more import part of this assignment is the gpio-ir-tx.
We don’t need the receiver, so we don’t know the correct assignment for rx.

Also, we don’t know if it matters (we were trying just about anything at this point) , we replaced /etc/lirc/tv.conf with our config with known working remote codes and chose this as the default remote by simply selecting it in the Remotes section of My OSMC.

Hope this helps somebody else!!