Author |
Message |
graysky
|
Posted: Sun Nov 01, 2009 3:44 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
It's been so long that I can't remember if I was running a customized lirc config on my R5.5 box. In any case, I see that ~/.lircrc is linked to /etc/lircrc in R6. Mine contains one line:
Code: include /usr/MythVantage/templates/remotes/hauppauge-grey/lircrc-haupgrey.txt
I have my R5.5 backups and would like to restore my lirc config file. When I look in the backup's /home/mythtv/.lircrc is a 0-byte file. I don't have a lircrc in the backup's /etc at all. Which files am I looking for in the backup and is this as simply as commenting out the include line in /etc/lircrc and pasting the whatever file from my backup?
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
jzigmyth
|
Posted: Sun Nov 01, 2009 6:55 pm |
|
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location:
middleton wi usa atsc
|
There are two files that need to be recovered from R5.5.
/home/mythtv/.mythtv/lircrc and
/etc/lirc/lircd.conf
just place both of those files in /etc on R6 and overwrite (or rename, if you're the cautious type) the sym links of the same name.
|
|
Top |
|
|
graysky
|
Posted: Mon Nov 02, 2009 2:19 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
jzigmyth wrote: There are two files that need to be recovered from R5.5. /home/mythtv/.mythtv/lircrc and /etc/lirc/lircd.conf
just place both of those files in /etc on R6 and overwrite (or rename, if you're the cautious type) the sym links of the same name.
This worked great, jzigmyth. Thanks!
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
bpmcgee
|
Posted: Mon Nov 02, 2009 2:38 pm |
|
Joined: Sat May 19, 2007 4:40 pm
Posts: 41
|
Graysky,
Be aware that at least /etc/lircrc is updated as part of a package -- not sure which, I just know my changes have been overwritten before.
I believe putting "etc/lircrc" in the pacman exclusions list should solve this problem, but I can't prove that.
B
|
|
Top |
|
|
graysky
|
Posted: Mon Nov 02, 2009 2:42 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
bpmcgee wrote: Graysky,
Be aware that at least /etc/lircrc is updated as part of a package -- not sure which, I just know my changes have been overwritten before.
I believe putting "etc/lircrc" in the pacman exclusions list should solve this problem, but I can't prove that.
B
You're totally right about the updates. I think I'd have to ignore the name of the package that does the updating though... I went ahead and made a backup of my personal copy and will hopefully remember if it gets overwritten!
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
jzigmyth
|
Posted: Mon Nov 02, 2009 2:44 pm |
|
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location:
middleton wi usa atsc
|
Also if you go into the Service Menu->Remotes and exit via the "finish" button, your configuration files will be overwritten with what has been selected in the Remotes menu. If you exit via "cancel" or "esc" nothing will be touched.
|
|
Top |
|
|
graysky
|
Posted: Mon Nov 02, 2009 2:50 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
jzigmyth wrote: Also if you go into the Service Menu->Remotes and exit via the "finish" button, your configuration files will be overwritten with what has been selected in the Remotes menu. If you exit via "cancel" or "esc" nothing will be touched.
I figured this would happen. Thanks for the headsup. The service menu is powerful, but I think I have mixed feelings about it for these sorts of reasons... what if someone else (wife, kid, etc.) messed with settings under the service menu? I'd like to see it locked down so only an authenticated user can even browse to it.
Link to feature request: http://linhes.org/flyspray/index.php?do ... ask_id=564
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
graysky
|
Posted: Mon Nov 09, 2009 10:47 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
For future reference, to make this change, simply:
Code: # nano cd /usr/MythVantage/templates/remotes/hauppauge-grey/mine.txt
<<paste the contents of your old ~/.mythtv/lircrc>> <<for my remote, see the below text>>
# nano /etc/lircrc
<<change this to point to the file you just made>> From here I would say just restart lircd but doing it on my box didn't work. It had to get rebooted for some reason. Code: # put this in /usr/MythVantage/templates/remotes/hauppauge-grey/ # then change /etc/lircrc to include it # # lircrc.example.HauppaugeGrey-nativelirc # 2003-09-17, Robert Kulagowski # mailto:rkulagow@rocketmail.com # Save this file in ~/.mythtv/lircrc
begin prog = mythtv button = Power config = Esc end
begin prog = mythtv button = Go # Swap the PiP windows config = N end
begin prog = mythtv button = 1 config = 1 end
begin prog = mythtv button = 2 config = 2 end
begin prog = mythtv button = 3 config = 3 end
begin prog = mythtv button = 4 config = 4 end
begin prog = mythtv button = 5 config = 5 end
begin prog = mythtv button = 6 config = 6 end
begin prog = mythtv button = 7 config = 7 end
begin prog = mythtv button = 8 config = 8 end
begin prog = mythtv button = 9 config = 9 end
begin prog = mythtv button = Back/Exit config = Esc end
begin prog = mythtv button = 0 config = 0 end
begin prog = mythtv button = Menu config = M end
# Below are keys used with the Hauppauge Grey remote
begin prog = mythtv # This is the Red key # We'll use it for "Delete" button = Red config = Space end
begin prog = mythtv # This is the Green key # We'll use it for "Information" button = Green config = I end
# Note the "repeat = " strings in the volume and channel. # This means that if you hold down the key, every nth instance will be # passed. This depends on your system, so you may want to increase or # decrease this and see what happens. repeat = 1 is probably too # fast.
begin prog = mythtv # This is the Yellow key # Use it as a volume key button = Yellow repeat = 3 config = F10 end
begin prog = mythtv # This is the Blue key # Use it as a volume key button = Blue repeat = 3 config = F11 end
begin prog = mythtv button = Ch+ # This is the "up" on the central diamond repeat = 3 config = Up end
begin prog = mythtv button = Ch- # This is the "down" on the central diamond repeat = 3 config = Down end
begin prog = mythtv button = Vol- # This is the "left" on the central diamond repeat = 3 config = Left end
begin prog = mythtv button = Vol+ # This is the "right" on the central diamond repeat = 3 config = Right end
begin prog = mythtv # Middle button on the diamond button = Ok config = Return end
begin prog = mythtv button = Mute config = F9 end
begin prog = mythtv # Change focus for PiP (to change channel in the other window) button = Blank config = B end
begin prog = mythtv # Toggle PiP on/off button = Full config = V end
begin prog = mythtv button = Rewind config = Left end
begin prog = mythtv button = Play config = P end
begin prog = mythtv button = Forward config = Right end
begin prog = mythtv button = Record config = R end
begin prog = mythtv # Teletext button = Stop config = T end
begin prog = mythtv button = Pause config = P end
begin prog = mythtv button = Replay # Use for backwards commercial skip config = Q end
begin prog = mythtv button = Skip # Use for forward commercial skip config = Z end
#MPlayer begin prog = mplayer button = Power config = quit end
begin prog = mplayer button = Menu config = osd end
begin prog = mplayer button = Rewind config = seek -10 repeat = 1 end
begin prog = mplayer button = Forward config = seek +10 repeat = 1 end
begin prog = mplayer button = Vol- config = seek -15 repeat = 1 end
begin prog = mplayer button = Vol+ config = seek +15 repeat = 1 end
begin prog = mplayer button = Replay config = seek -60 repeat = 1 end
begin prog = mplayer button = Skip config = seek +60 repeat = 1 end
begin prog = mplayer button = Pause config = pause end
begin prog = mplayer button = OK config = pause end
begin prog = mplayer button = Play config = pause end
begin prog = mplayer button = Back/Exit config = quit end
begin prog = mplayer button = Play config = pause end
begin prog = mplayer button = Ch+ config = volume +1 repeat = 1 end
begin prog = mplayer button = Ch- config = volume -1 repeat = 1 end
begin prog = mplayer button = Mute config = mute end ##XINE
begin prog = xine button = Play repeat = 3 config = Play end
begin prog = xine button = Stop repeat = 3 config = Stop end
begin prog = xine button = Back/Exit config = Quit end
begin prog = xine button = Pause repeat = 3 config = Pause end
begin prog = xine button = Ch+ repeat = 4 config = EventUp end
begin prog = xine button = Ch- repeat = 4 config = EventDown end
begin prog = xine button = Vol- repeat = 4 config = EventLeft end
begin prog = xine button = Vol+ repeat = 4 config = EventRight end
begin prog = xine button = Ok repeat = 0 config = EventSelect end
begin prog = xine button = Menu repeat = 0 config = Menu end
#vol down begin prog = xine button = Yellow repeat = 1 config = Volume- end
#vol up begin prog = xine button = Red repeat = 1 config = Volume+ end
begin prog = xine button = Forward repeat = 2 config = SeekRelative+30 end
begin prog = xine button = Rewind repeat = 2 config = SeekRelative-30 end
#ch up begin prog = xine button = Green repeat = 1 config = SeekRelative+60 end
#ch down begin prog = xine button = Blue repeat = 1 config = SeekRelative-60 end
#sleep begin prog = xine button = Go repeat = 1 config = ZoomIn end
#display begin prog = xine button = Skip repeat = 1 config = ZoomOut end
#skip chapter forward begin prog = xine button = Skip repeat = 1 config = EventNext end
#skip chapter backward begin prog = xine button = Replay repeat = 1 config = EventPrior end
begin prog = lircnav button = Vol- config = page_down end
begin prog = lircnav button = Vol+ config = page_up end
begin prog = lircnav button = Ch+ config = up end
begin prog = lircnav button = Ch- config = down end
begin prog = lircnav button = Ok config = select end
begin prog = lircnav button = Power config = quit end
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|