[mythtv-users] [OT?] lirc and dev/input/by-path

Greg Newton greg.newton at exemail.com.au
Thu Feb 12 07:16:37 UTC 2009


Hi all

I've been running my first MythTV, a combined FE/BE for about a year
now (MythBuntu 8.04 / 0.21 fixes), and have just bitten the bullet to
implement ACPIWake. That's now working pretty well, and saving heat
/noise / power as intended. However an unintended side-effect of
regular reboots is that the event number assigned to my remote (DvICO
Fusion Dual Digital 4) swaps sometimes between event4 and event6. I've
tried specifying the device in /etc/lirc/hardware.conf using the
appropriate 'by-path' link but that doesn't seem to work at all.

This works:

REMOTE_DEVICE="/dev/input/event4"

This doesn't:

REMOTE_DEVICE="/dev/input/by-path/pci-9-1--event-ir"

greg at melusine:~$ ls -l  /dev/input/by-path
 total 0
lrwxrwxrwx 1 root root 9 2008-03-12 14:04
pci-0000:00:13.1-usb-0:2:1.0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 2008-03-12 14:04
pci-0000:00:13.1-usb-0:2:1.1-event-mouse -> ../event2
lrwxrwxrwx 1 root root 9 2008-03-12 14:04
pci-0000:00:13.1-usb-0:2:1.1-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 2008-03-12 14:04 pci-9-1--event-ir -> ../event4
lrwxrwxrwx 1 root root 9 2008-03-12 14:04 platform-pcspkr-event-spkr
-> ../event3



So - my question is, can I somehow force the order in which events are
inserted into the table so that I ALWAYS get the same event number on
boot, or is there a trick to getting lirc to work with the by-path
"proxy"?

Cheers,
Greg  |;^)


More information about the mythtv-users mailing list