LinHES Forums
http://forum.linhes.org/

location of lircrc to customize my grey remote
http://forum.linhes.org/viewtopic.php?f=17&t=16963
Page 1 of 1

Author:  graysky [ Sun Oct 14, 2007 5:32 am ]
Post subject:  location of lircrc to customize my grey remote

I'd like mess around with some customization of lirc and need to know which of the following lircrc files to edit (i.e. which one is the "live" one).

I have tried ~/.mythtv/lircrc and ~/.lircrc but neither of these seems to be working.

If I do a
Code:
$ locate lircrc
on my R5F27 box, I get many returns:
Code:
/home/mythtv/.lircrc
/home/mythtv/.lircrc_r5a30.2
/home/mythtv/.lircrc_virgin
/home/mythtv/.mythtv/lircrc
/home/mythtv/.mythtv/lircrc.orig
/myth/nuv2disc/contrib/sample.lircrc
/usr/bin/lircrcd
/usr/local/share/knoppmyth/remotes.old/atiusb/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/commandir/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/dvico/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/firefly/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/hauppauge/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/hauppauge/etc/lircrc-150
/usr/local/share/knoppmyth/remotes.old/hauppauge/etc/lircrc-db
/usr/local/share/knoppmyth/remotes.old/hauppauge/etc/lircrc-RS
/usr/local/share/knoppmyth/remotes.old/hauppauge/etc/lircrc-s
/usr/local/share/knoppmyth/remotes.old/mceusb/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/mceusb2/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/rca-6n1/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/streamzap/etc/lircrc
/usr/local/share/knoppmyth/remotes.old/winfast_rm0010/etc/lircrc
/usr/local/share/knoppmyth/remotes/AMCEUSB-new/lircrc
/usr/local/share/knoppmyth/remotes/ATI_Remote_Wonder/lircrc
/usr/local/share/knoppmyth/remotes/CommandIR_Tranceiver/lircrc
/usr/local/share/knoppmyth/remotes/Dvico/lircrc
/usr/local/share/knoppmyth/remotes/Hauppauge_Grey_remote/lircrc
/usr/local/share/knoppmyth/remotes/Hauppauge_PVR-150_with_transmitter_and_receiver-dog_bone/lircrc
/usr/local/share/knoppmyth/remotes/Hauppauge_PVR-150_with_transmitter_and_receiver/lircrc
/usr/local/share/knoppmyth/remotes/Hauppauge_Radio_Shack_Universal_Remote/lircrc
/usr/local/share/knoppmyth/remotes/Hauppauge_Silver_remote_A415-HPG/lircrc
/usr/local/share/knoppmyth/remotes/Homebrew_Serial_Receiver/lircrc
/usr/local/share/knoppmyth/remotes/MCEUSB-new/lircrc
/usr/local/share/knoppmyth/remotes/MCEUSB-old/lircrc
/usr/local/share/knoppmyth/remotes/RCA-6N1/lircrc
/usr/local/share/knoppmyth/remotes/SnapStream_Firefly/lircrc
/usr/local/share/knoppmyth/remotes/StreamZap/lircrc
/usr/local/share/knoppmyth/remotes/Winfast_RM0010/lircrc
/usr/share/doc/lirc/examples/lircrc.gz
/usr/share/doc/lirc/html/lircrcd.html
/usr/share/lirc/remotes/caraca/lircrc.caraca
/usr/share/lirc/remotes/ea65/lircrc.ea65
/usr/share/lirc/remotes/life-view/lircrc.flyvideo
/usr/share/lirc/remotes/pcmak/lircrc.pcmak
/usr/share/lirc/remotes/pixelview/lircrc.playtv_pro
/usr/share/man/man1/lircrcd.1.gz
/usr/share/oxine/lircrc

Author:  stevetv [ Sun Oct 14, 2007 6:41 am ]
Post subject: 

i believe these are the two used

/home/mythtv/.lircrc
/home/mythtv/.mythtv/lircrc

Author:  graysky [ Sun Oct 14, 2007 7:59 am ]
Post subject: 

I thought it might be one or both of them too, but when I renamed them one-at-a-time and then tested the remote in the GUI, it still worked. I would think if you remove the config file, lirc shouldn't be able to decode the signals... no?

Author:  marc.aronson [ Sun Oct 14, 2007 9:07 am ]
Post subject: 

My lircrc is heavily customized and is located in /home/mythtv/.mythtv/lircrc; /home/mythtv/.lircrc is a sym link to that file.

In terms of your experiment -- I find that some types of changes require a restart of lirc (/etc/init.d/lirc restart) followed by a restart of what used to be called "GDM" (forget the name of the replacement component -- sorry) to "take"...

Marc

Author:  graysky [ Sun Oct 14, 2007 9:27 am ]
Post subject: 

Hi marc, thanks for the reply. Yeah, the way you do the old /etc/init.d/gdm restart is [code]$ pkill xinit[/url]

For some strange reason, when ever I restart lirc (# /etc/init.d/lirc restart) followed by a $ pkill xinit, the sound in mythtv is always messed up (almost sounds like the speakers are underwater).

I thought lirc reads the lircrc in real time, in other words, if you make a change to the file, its effect will be known the next time you push a button on the remote.

Author:  marc.aronson [ Sun Oct 14, 2007 9:42 am ]
Post subject: 

This will sound odd, but... There have been times when the changes seem to take in real-time; there are other times that I seem to require a restart. I don't know why I have seen these differing outcomes.

Marc

Author:  marc.aronson [ Sun Oct 14, 2007 11:45 am ]
Post subject: 

Here is an observation. If I edit my .lircrc mplayer settings while mplayer is running, then lirc continues to follow the specifications of the original .lircrc mplayer settings. Once I exit and restart mplayer, lirc follows the specs of the new .lircrc mplayer settings...


Marc

Author:  tjc [ Sun Oct 14, 2007 2:06 pm ]
Post subject: 

This post contains most of the details you need. http://mysettopbox.tv/phpBB2/viewtopic.php?t=15551

The LIRC driver/demon/client stack is fairly deep. You need to stop all the clients, stop the demon(s), and remove the drivers for certain changes to take effect. It's often faster to just reboot.

Author:  graysky [ Sun Oct 14, 2007 3:10 pm ]
Post subject: 

thanks tjc, glad to hear I'm not going nuts.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/