[mythtv-users] Fix lirc devices to desired names
Josu Lazkano
josu.lazkano at gmail.com
Sun Aug 31 10:30:24 UTC 2014
Hello all,
I have two IR device in my frontend, and integrated CIR and USB MCE:
$ dmesg | grep lirc
[ 3.710645] lirc_dev: IR Remote Control driver registered, major 251
[ 3.721774] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir)
registered at minor = 0
[ 3.721921] rc rc1: lirc_dev: driver ir-lirc-codec (mceusb)
registered at minor = 1
So there are 2 lirc devices:
# ls -l /dev/lirc*
crw-rw---T 1 root video 250, 0 Aug 31 10:22 /dev/lirc0
crw-rw---T 1 root video 250, 1 Aug 31 12:22 /dev/lirc1
lrwxrwxrwx 1 root root 21 Aug 31 12:22 /dev/lircd -> ../var/run/lirc/lircd
Sometimes they switch the numbesr (0 and 1), so I can not know wich
device is each.
I can not disable the CIR device because it is in the board, so I want
to fix the names of the devices to use them, something like this:
/dev/lirc0 -> /dev/lirc_cir
/dev/lirc1 -> /dev/lirc_mce
Is this possible?
Thanks and best regards.
--
Josu Lazkano
More information about the mythtv-users
mailing list