[mythtv-users] lirc on MythTV

Lan Barnes lan at falleagle.net
Sat Dec 15 17:21:38 UTC 2007


On Sun, December 9, 2007 9:56 am, Gus Wirth wrote:
> Lan Barnes wrote:
>> I have a memory of a previous time when I changed things on a Myth box
>> with more than one PVR capture card. The remote stopped working; and
>> then
>> I found a config file which said which card the IR receiver was attached
>> to. When I changed that, it worked.
>>
>> On my new box, everything is now working (YEAA!!) *except* the remote.
>> The
>> correct lircrc and lirc.conf files are in place, but I think that other
>> config needs to be tweaked. The remote has no effect. The keyboard,
>> OTOH,
>> works wonderfully.
>>
>> Do any of you Kplug Myth guys know where I need to go on this?
>
> Since you have two PVR-150 cards, you have two choices for which card to
> use for the lirc control. Unless you have some other device selected
> like a serial port. Do you know which card lirc is trying to use?
>
> You can run a quick check by booting but not running MythTV. Then do a :
>
> $ cat -A /dev/lirc
>
> You might have multiple /dev/lirc? devices because you have multiple
> cards. This is NOT the same as /dev/lircd because /dev/lircd is what you
> get after everything gets processed.

I have not less than two choices: lirc0 and lirc1

[root at xena init.d]# ls /dev|grep lirc
lirc
lirc0
lirc1
lircd

>
> Then try pressing the remote buttons to see if you get any output. That
> way you'll make sure you are using the right /dev/lirc? device to start
> with.

This was done way long ago. I wouldn't have asked the question if it had
worked in myth already.

Perhaps you're recommending a lower level test with myth shut down. Last
time, I didn't bother testing. I had two choices. I changed to the other
one, and it worked. End of test.

But I can't remember where I changed it.

>
> Once you identify the correct /dev/lirc? device you might need to make a
> small change to the lircd init.d script to make sure it uses the correct
> device.
>

See above on identifying it. When I find the config location, it'll be
[0|1] and I'll make it the other.

/etc/rc.d/initd/lircd is unrewarding. Other than pointing to
/etc/lirc.conf, which defines the buttons and nothing else, it has no
config I can find.

Nothing seems to be in any of the 3 .mythtv dirs, /home/mythtv, /root, or /
There is a lircrc in the /home/mythtv/.mythtv, but it seems to be a
mapping from the button map to the myth functions.

So I ask again, can anyone confirm|deny that there is a config somewhere
that chooses lirc[0|1], and if so, where is it?

-- 
Lan Barnes

SCM Analyst              Linux Guy
Tcl/Tk Enthusiast        Biodiesel Brewer



More information about the mythtv-users mailing list