📡 Getting the Fintek IR receiver to work with Linux
Some of the Medion AIO (all-in-one) desktop pc-s are equipped with IR remote receiver, which doesn’t work out of the box on linux. Instead during boot it gives the following error:
[ 6.925985] fintek-cir 00:06: IR PNP Port not valid!
Quite annoying, but here is a workaround for it. It’s not really a fix, because the error message still appears at boot, but the IR receiver is going to work afterwards.
Unload the module called
modprobe -r fintek-cir
Fix the drivers IO mapping:
echo "auto" > /sys/bus/acpi/devices/FIT0002:00/physical_node/resources
Re-load the module
That’s it, the IR receiver should work now. You can check the
dmesg to make sure it’s fine.
Now to automate this process at boot, the following steps were necessary:
Create a file with the following content:
#!/bin/sh /sbin/modprobe -r fintek-cir echo "auto" > "/sys/bus/acpi/devices/FIT0002:00/physical_node/resources" /sbin/modprobe fintek-cirSave it somewhere, like
Mark it as executable:
chmod +x /etc/fintek-cir.sh
Add an entry to the crontab (root):
The receiver should work after every (re)boot, LIRC can be installed now.