LinHES Forums http://forum.linhes.org/ |
|
.lircrc default http://forum.linhes.org/viewtopic.php?f=6&t=16483 |
Page 1 of 1 |
Author: | rakasis [ Thu Sep 13, 2007 10:01 am ] |
Post subject: | .lircrc default |
Hello, I have a question about restoring the default .lircrc file on my knoppmyth system. I have a HP 150 MCE with the silver remote and I had tried to attach a script for turning the monitor off to the power button. The tutorial said I must edit the .lircrc file in my home directory. Once I did this i lost all functionality of the remote. My keyboard works fine but the remote is dead. How can I restore the default settings of the remote? |
Author: | slowtolearn [ Thu Sep 13, 2007 10:18 am ] |
Post subject: | Re: .lircrc default |
rakasis wrote: Hello, Did you edit the file on a Windoze box? If so, try I have a question about restoring the default .lircrc file on my knoppmyth system. I have a HP 150 MCE with the silver remote and I had tried to attach a script for turning the monitor off to the power button. The tutorial said I must edit the .lircrc file in my home directory. Once I did this i lost all functionality of the remote. My keyboard works fine but the remote is dead. How can I restore the default settings of the remote? Code: dos2unix .lircrc
If not, remove whatever changes you made. Alternatively, you should be able to extract the file from your backup (/myth/backup/savedfilesXXX) |
Author: | rakasis [ Thu Sep 13, 2007 10:35 am ] |
Post subject: | |
I can't take out my changes because like an idiot i wrote over a different command that i thought would wreck my work. So i can't take out my changes, also there are no files in the /myth/backup folder.... am i screwed? ps. I edit the file with nano right in xterm |
Author: | slowtolearn [ Thu Sep 13, 2007 10:51 am ] |
Post subject: | |
rakasis wrote: I can't take out my changes because like an idiot i wrote over a different command that i thought would wreck my work. So i can't take out my changes, also there are no files in the /myth/backup folder.... am i screwed? You can ps. I edit the file with nano right in xterm Code: cp -p /usr/local/share/knoppmyth/remotes/hauppauge/etc/lircrc-s.conf /home/mythtv/.mythtv/lircrc (/home/mythtv/.lircrc is a symbolic link to /home/mythtv/.mythtv/lircrc)
chown mythtv:mythtv /home/mythtv/.mythtv/lircrc |
Author: | rakasis [ Thu Sep 13, 2007 1:13 pm ] |
Post subject: | |
Hey, first of all i would just like to say thank you so much for your help. I tried what you suggested but it couldn't seem to find a file under that directory. The closest thing i could find was a folder callled /usr/local/share/knoppmyth/remotes/Hauppauge_Silver_remote_A415-HPG. Inside was 3 files. hardware.conf lircd.conf and lircrc. I used your code on the lircd.conf file and nothing happend.... I am getting really confused here. What am i doing? Are these the remote specific .lircrc files? |
Author: | rakasis [ Thu Sep 13, 2007 1:16 pm ] |
Post subject: | |
Nm, i figured it out. I had to just copy the lircrc file instead of the lircd.conf. Thank you so much for your help! |
Author: | slowtolearn [ Thu Sep 13, 2007 3:27 pm ] |
Post subject: | |
rakasis wrote: Hey, first of all i would just like to say thank you so much for your help. Sorry, I must have been looking at one of my R5D1 boxen. Glad you got it sorted out.
I tried what you suggested but it couldn't seem to find a file under that directory. The closest thing i could find was a folder callled /usr/local/share/knoppmyth/remotes/Hauppauge_Silver_remote_A415-HPG. Inside was 3 files. hardware.conf lircd.conf and lircrc. I used your code on the lircd.conf file and nothing happend.... I am getting really confused here. What am i doing? Are these the remote specific .lircrc files? |
Author: | tjc [ Thu Sep 13, 2007 7:22 pm ] |
Post subject: | |
Worth noting that as a general solution you can just run: Code: lirc-reconfig.sh
which will recreate the files for you. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |