[mythtv-users] LIRC considerations before adding second PVR-150

Ma Begaj derliebegott at gmail.com
Wed Jan 9 15:56:56 UTC 2008


2008/1/9, Mike Smith <mike at smithburnett.net>:
> Hello,
>
> I'm about to add a second PVR-150 to my dedicated MythTV backend-only
> system (Ubuntu 7.04). Both cards will be controlling DirecTV boxes via
> LIRC and the PVR IR blaster.
>
> I'm assuming LIRC will create a second entry in /dev for the second
> blaster. So I can tweak my channel-change script to send IR codes to
> either /dev/lirc0 or /dev/lirc1 depending on which source it needs to
> change. No problems there.
>
> But how do I know which card corresponds to which LIRC device? IOW, is
> the assumption that lirc0 ALWAYS points to the card in PCI slot #2 a
> safe one, or are the devices subject to switch around on reboots, for
> example?
>

use UDEV to force card 0 to be always /dev/lirc0 etc.

http://www.mythtv.org/wiki/index.php/Device_Filenames_and_udev


More information about the mythtv-users mailing list