[mythtv-users] I cannot get native lirc working with MythTV

Robert Creager Robert_Creager at LogicalChaos.org
Wed Nov 29 14:41:06 UTC 2006


Henry A Harper III wrote:
>> I'm using MythTV 0.20 and lirc 0.8.0 from source,
>>
>>     
[snip]
>> I've setup a ~/.lircrc and linked ~/.mythtv/lircrc to that.  A couple of
>> tests with irexec (eject's the DVD):
>> begin
>>     prog = irexec
>>     button = Eject
>>     config = /usr/bin/eject
>>     repeat = 0
>> end
>> and irxevent (with mythfrontend as the screen, moves out one menu
>> sequence as expected):

>> begin
>>     prog = irxevent
>>     button = Esc
>>     config = Key Escape CurrentWindow
>> end
>>
>> Seems that the remote is working find.
>>
>> But, when I try this:
>> begin
>>     prog = mythtv
>>     button = Esc
>>     config = Esc
>> end
>> nothing happens.  I ran mythfrontend with full logging on, but saw
>> nothing about lirc anywhere, but I didn't chew through the source to see
>> if I should of.
>>
>> Am I missing something here?
>>     
>
> I am successfully using the iMon remote that came with my LC16M case...let's
> see what I can figure out.
>
> Here's my mythfrontend --version output (I compiled from source a while
> ago):
> Library API version: 0.20.20060828-3
> Source code version: 11166
> Options compiled in:
>  linux release using_xvmcw using_v4l using_oss using_alsa using_arts
> using_ivtv using_dbox2 using_hdhr using_ip_rec using_freebox using_live
> using_lirc using_joystick_menu using_dvb using_x11 using_xv using_xrandr
> using_xvmc using_xvmc_vld using_opengl_vsync using_opengl using_frontend
> using_backend
>   
Mine shows:

Library API version: 0.20.20060828-3
Source code version: exported
Options compiled in:
 linux release using_xvmcw using_v4l using_oss using_alsa using_arts 
using_ivtv using_dbox2 using_hdhr using_ip_rec using_freebox using_live 
using_lirc using_joystick_menu using_x11 using_xv using_xrandr 
using_xvmc using_xvmc_vld using_opengl_vsync using_opengl using_frontend 
using_backend

Hmmm...  I don't have using-dvb.  I'll re-config and see what happens.
> I used the lirc package from venky.ws (linked from Silverstone's LC16M page)
>   
They point to the official lirc page (I just looked).  iMON has been 
supported through lirc since 0.7.1, and it's at 0.8.0.
> My /etc/lircd.conf is copied directly from that package's
> remotes/imon/lircd.conf.imon-pad (I couldn't get a recording of any other
> remote, or any lircd.conf downloaded from lirc.org to work with the imon VFD
> hardware)
>   
Yeah, I have the lircd.conf (from the 0.8.0 distribution) which is 
referenced in posts from the forums on venky.ws.  The two versions are 
the same.
> My ~mythtv/lircrc and ~mythtv/.mythtv/lircrc (no ~mythtv/.lircrc) is a
> slightly modified version of Jarod's grey-Hauppage one (can't find link
> right now...) but the Esc section looks just like your sample above.
>
> I don't use irevent or irxexec at all.
>
> I hope that's a little helpful?
>   
Thanks for the try, but unless somehow the dvb has some effect...  Maybe 
it's because I cannot spell lirc (licrc).

The remote is working, through lirc, I just cannot get it into mythtv 
natively for some reason.  Gah, guess I could hook up the debugger (sigh).

I did note that a netstat shows no lircd connection with mythtv 
running.  When I launch irw, a new socket is opened (the diff between 
two netstats one with no irw and the next with irw running):

< unix  3      [ ]         STREAM     CONNECTED     558717   /dev/lircd
< unix  3      [ ]         STREAM     CONNECTED     558716  

Should mythtv be opening a socket connection to receive the events?  Is 
mythtv looking for a different device node?

robert at mystic:~$ ls -l /dev/lircd
srw-rw-rw- 1 root root 0 2006-11-27 17:38 /dev/lircd

Thanks,
Rob



More information about the mythtv-users mailing list