Two remotes with LIRC (random detection order)
#1
I have an Asrock ION 330HT with integrated infrared receiver (nuvoton). It works fine, but because the unit is out-of-sight I have added an MCEUSB receiver. Sometimes the remote doesn't work with XBMC. I did some research and I found out that the remote detection is in random order.

Sometimes, when I boot the system it shows the following messages during boot:
Code:
lirc_dev: IR Remote Control driver registered, major 250
rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
rc rc1: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 1

Other times it shows these messages:
Code:
lirc_dev: IR Remote Control driver registered, major 250
rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
rc rc1: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 1

My REMOTE_DEVICE in /etc/lirc/hardware.conf is set to /dev/lirc0, so it only works when MCEUSB is detected first. Is there some way I can fix the order of detection or force LIRC to use MCEUSB?

I disabled the integrated infrared receiver in the BIOS, but this doesn't help. Of course I can remove the nuvoton_cir.ko file from my system, but I think there should be a better solution. Any hints?
Reply
#2
Hi
You could try blacklisting the driver you dont want to use
Reply
#3
I didn't think about that. Works like a charm. More information about blacklisting modules can be found here.
Reply

Logout Mark Read Team Forum Stats Members Help
Two remotes with LIRC (random detection order)0