LIRC Configuration

Ok, how about

irdb-get list

Should provide a pretty long list...

1 Like

Yes a very long list, but I think this is the one I need

T--- Apple_A1294 apple/A1294.lircd.conf

I am not sure how to install the driver ...

2 Likes

We're rock n' rolling' now.

irdb-get download apple/A1294.lircd.conf

Once you have it downloaded, move it to its new home:

sudo mv apple/A1294.lircd.conf /etc/lirc/lircd.conf.d/

Restart the LIRC service:

sudo systemctl start lircd

1 Like

I have confirmed the A1294.lircd.conf file is in /etc/lirc/lircd.conf.d

Should this file be renamed as "lircd.conf"?

I ran
"sudo systemctl start lircd"

When I use the remote control I can still only control the volume

1 Like

lircd.conf.d is the directory name and A1294.lircd.conf is the File Name.

Have you rebooted your computer?

1 Like


I have rebooted the computer.

What the screenshots show is correct.

What is the output of

sudo ir-keytable

1 Like

puser@Macmini-Zorin:~$ sudo ir-keytable
[sudo] password for xpuser:
sudo: ir-keytable: command not found
xpuser@Macmini-Zorin:~$

sudo apt install -y ir-keytable

Let's try the above... but I just did a bit of checking and found this:
https://bugzilla.kernel.org/show_bug.cgi?id=210755

Does not bode well.:expressionless:

1 Like

xpuser@Macmini-Zorin:~$ sudo ir-keytable
No devices found
xpuser@Macmini-Zorin:~$

1 Like

Interesting that the remote partially works ...

1 Like

The bug report states that user installed keymaps are not being loaded. Perhaps it is only able to direct the keypresses that are defaulted in.

I am not sure.

EDIT: Searching that bug report led me to this post that suggests a possible workaround:
https://forum.mythtv.org/viewtopic.php?f=29&t=3729&start=30#p20670

1 Like

I just looked at that post but I am none the wiser how I would apply the fix???

From your home folder, right click an open area within the folder and from the menu, select to create a new document.
Name it:
70-infrared.rules

Open the newly created document and paste this into it:

# Automatically load the proper keymaps after the Remote Controller device
# creation.  The keycode tables rules should be at /etc/rc_maps.cfg

ACTION=="add", SUBSYSTEM=="input", SUBSYSTEMS=="rc", KERNEL=="event*", ENV{.rc_sysdev}="$id", RUN+="/usr/bin/ir-keytable -a /etc/rc_maps.cfg -s $env{.rc_sysdev}"

Now, let's move it:

sudo mv 70-infrared.rules /lib/udev/rules.d/

Do you have the following directory on your computer?
/lib/udev/rc_keymaps

1 Like

Done

Is there a file within rc_keymaps that matches the name of your remote?

I can't find it if is there ...

1 Like

I am also flying by the seat of my pants, here. This is not something I have ever done, before.
However, reading that workaround link above, it looks like this rec_keymaps portion only applies if you created your own custom keymap.

I can only suggest at this point rebooting and testing - with all your fingers and toes crossed. Given that it references kernels well below the 5.11 version currently in use, I will admit I am not very optimistic...
If it fails to help you, then I am not sure of a solution, either.

1 Like

I did a cold boot and despite fingers crossed it hasn't changed.
I am thinking there is obviously some mapping going on because of the ability to control the volume ... it shows the IR is working just not quite right.

Thanks for your help I really appreciate it, perhaps someone else might have some more ideas?

I was surprised how easy it was to get Zorin installed on the macmini. Everything apart from the IR control worked out of the box. In fact I prefer Linux over macos ....

This is a bit of an experiment so I might even try a clean reinstall ...

Regards

2 Likes