[mythtv-users] Problems after upgrading frontend from Mythbuntu 12.04 to 14.04

Alec Leamas leamas.alec at gmail.com
Wed Dec 9 06:55:59 UTC 2015


On 09/12/15 02:50, Phill Edwards wrote:

> Because /dev/input/eventX changes every boot, I've also got a udev rule
> that creates a symlink to whatever /dev/input/eventX has been allocated
> by the kernel on boot. For posterity my rule is
> in /etc/udev/rules.d/10-local.rules and looks like this:
> 
> # Feature Integration Technology Inc. (Fintek) F71610A or F71612A
> Consumer Infrared Receiver/Transceiver (branded as HP)
> SUBSYSTEM=="input", KERNEL=="event*", ATTRS{idVendor}=="1934",
> ATTRS{idProduct}=="5168", SYMLINK+="lirc-hp"
> 
> This ensures that there's always a symlink pointing to the right event ID:
> 
> $ ls -l /dev/lirc*
> crw------- 1 root root 247, 0 Dec  9 12:32 /dev/lirc0
> lrwxrwxrwx 1 root root     15 Dec  9 12:32 /dev/lircd -> /run/lirc/lircd
> lrwxrwxrwx 1 root root     12 Dec  9 12:32 /dev/lirc-hp -> input/event8
> 
> I reference device this in etc/lirc/hardware.conf (instead of
> REMOTE_DEVICE="/dev/input/event8")

This should work just fine. However, note that the creating a udev rule
is not really necessary in this case [1]

Cheers!

--alec


[1] http://lirc.org/html/configuration-guide.html#appendix-6



More information about the mythtv-users mailing list