View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 14, 2007 5:32 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 6:41 am 
Offline
Joined: Sat Apr 08, 2006 7:27 am
Posts: 125
i believe these are the two used

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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 7:59 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 9:07 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 9:27 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 9:42 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 11:45 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 2:06 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 3:10 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
thanks tjc, glad to hear I'm not going nuts.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu