Hi
Just getting a chance to see this thread now.
Alas, some remotes ‘look’ the same but aren’t always exact. I think the Apple remote is like this and had a few revisions. Some of these remotes have not been tested and their keymaps are sourced from the community.
However, it should be possible for you to actually learn the remote with the real codes to make sure they are accurate.
SSH in to the device and run the following:
sudo systemctl stop lircd_helper@lirc0
Now you can run irrecord
to record your keymap
At the end, you will have a file called lircd.conf
.
You can move this to the system directory with:
sudo mv lircd.conf /etc/lirc/lircd.conf
And after sudo systemctl start lircd_helper@lirc0
the remote should start working again.
NB: unfortunately not all remotes are learnable and some do some nasty things, for example Sky+ remotes do something strange with the toggle bit.
S