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

Yan Seiner yan at seiner.com
Thu Feb 12 12:44:21 UTC 2009


Greg Newton wrote:
> 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"
>   

Try

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

Note the backward quotes.

--Yan


>   



More information about the mythtv-users mailing list