LinHES Forums http://forums.linhes.org/ |
|
location of lircrc files under R6 http://forums.linhes.org/viewtopic.php?f=6&t=20272 |
Page 1 of 1 |
Author: | graysky [ Mon Aug 31, 2009 1:30 pm ] |
Post subject: | location of lircrc files under R6 |
Where on the FS do the lircrc files for the various remotes reside? |
Author: | goofee [ Mon Aug 31, 2009 1:57 pm ] |
Post subject: | |
/usr/MythVantage/templates/remotes/ has a large list of remotes. Each one has a lircd.conf and lircrc file. |
Author: | graysky [ Mon Aug 31, 2009 2:03 pm ] |
Post subject: | |
Just what I was looking for, thanks! |
Author: | ponley [ Mon Feb 15, 2010 4:58 pm ] |
Post subject: | |
With the new location what happens to custom configuration? I have used the same remote and kept the same configuration through countless upgrades but the config files were located in the home directories. It looks as though the lircrc file in ~/.mythtv is still there and contains an include directive for the template in MythVantage. What is the correct way to customize your remote so that it will persist through future upgrades. |
Author: | graysky [ Mon Mar 15, 2010 2:39 am ] |
Post subject: | |
Ozdemon wrote: I have had to do a fresh install of 6.02. I saved my lircd.con and lircrc files (Logitech Harmony remote). I have now copied them to their own folder on /usr/MythVantage/templates/remotes/.
However, they do not show up on the linhes setup. I suspect that there needs to be a symlink from somewhere. Please, does anyone know the correct locations and links for the remote files? @Oz - they won't. The setup script is I believe independent of the files in the folders. @ponley - Correct way? I dunno how the LH scripts work. Best thing to do is use the service menu. If you have a custom setup, I don't think there is a way you can easily edit the service menu. Here's how I do it: 1) Keep the symlink ~/.mythtv Code: lircrc -> /etc/lircrc 2) Edit /etc/lircrc to your liking, e.g. Code: include "/usr/MythVantage/templates/remotes/hauppauge-grey/mine.txt" 3) Make sure that your /etc/lircd.conf is also to your liking, Code: include "/usr/MythVantage/templates/remotes/hauppauge-grey/lircd-haupgrey.conf" See the Arch Lirc article for more. Note that the following two files will work with a Hauppauge Grey Remote only; I post them as examples. mine.txt 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 lircd-haupgrey.conf Code: #
# this config file was automatically generated # using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999 # # contributed by Jens Leuschner <leuschner@gmx.net> # # brand: Hauppauge # model: # supported devices: WinTV primo; WinTV pci; WinTV radio # # This config file will work with both homebrew receivers and # original Hauppauge TV cards !!! # begin remote name Hauppauge bits 13 flags SHIFT_ENC eps 30 aeps 100 one 950 830 zero 950 830 plead 960 gap 89584 repeat_bit 2 begin codes TV 0x000000000000100F RADIO 0x000000000000100C FULL_SCREEN 0x000000000000102E CH+ 0x0000000000001020 CH- 0x0000000000001021 VOL- 0x0000000000001011 VOL+ 0x0000000000001010 MUTE 0x000000000000100D SOURCE 0x0000000000001022 1 0x0000000000001001 2 0x0000000000001002 3 0x0000000000001003 4 0x0000000000001004 5 0x0000000000001005 6 0x0000000000001006 7 0x0000000000001007 8 0x0000000000001008 9 0x0000000000001009 0 0x0000000000001000 RESERVED 0x000000000000101E MINIMIZE 0x0000000000001026 end codes end remote # # this config file was automatically generated # using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003 # # contributed by # # brand: Hauppauge # model no. of remote control: # devices being controlled by this remote: PVR 2/350 # begin remote name hauppauge_pvr bits 13 flags RC5|CONST_LENGTH eps 30 aeps 100 one 969 811 zero 969 811 plead 1097 gap 114605 toggle_bit 2 begin codes Power 0x00000000000017FD Go 0x00000000000017FB 1 0x00000000000017C1 2 0x00000000000017C2 3 0x00000000000017C3 4 0x00000000000017C4 5 0x00000000000017C5 6 0x00000000000017C6 7 0x00000000000017C7 8 0x00000000000017C8 9 0x00000000000017C9 Back/Exit 0x00000000000017DF 0 0x00000000000017C0 Menu 0x00000000000017CD Red 0x00000000000017CB Green 0x00000000000017EE Yellow 0x00000000000017F8 Blue 0x00000000000017E9 Ch+ 0x00000000000017E0 Ch- 0x00000000000017E1 Vol- 0x00000000000017D1 Vol+ 0x00000000000017D0 Ok 0x00000000000017E5 Mute 0x00000000000017CF Blank 0x00000000000017CC Full 0x00000000000017FC Rewind 0x00000000000017F2 Play 0x00000000000017F5 Forward 0x00000000000017F4 Record 0x00000000000017F7 Stop 0x00000000000017F6 Pause 0x00000000000017F0 Replay 0x00000000000017E4 Skip 0x00000000000017DE end codes end remote # # this config file was automatically generated # using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004 # # contributed by # # brand: Hauppauge 350 # Created: G.J. Werler (The Netherlands) # Project: Mythtv Fedora Pundit-R www.mythtvportal.com # Date: 2004/11/28 # model no. of remote control: Hauppauge A415-HPG # devices being controlled by this remote: PVR-350 # begin remote name Hauppauge_350 bits 13 flags RC5|CONST_LENGTH eps 30 aeps 100 one 969 811 zero 969 811 plead 1097 gap 114605 toggle_bit 2 begin codes Go 0x00000000000017BB Power 0x00000000000017BD TV 0x000000000000179C Videos 0x0000000000001798 Music 0x0000000000001799 Pictures 0x000000000000179A Guide 0x000000000000179B Radio 0x000000000000178C Up 0x0000000000001794 Left 0x0000000000001796 Right 0x0000000000001797 Down 0x0000000000001795 OK 0x00000000000017A5 Back/Exit 0x000000000000179F Menu/i 0x000000000000178D Vol+ 0x0000000000001790 Vol- 0x0000000000001791 Prev.Ch 0x0000000000001792 Mute 0x000000000000178F Ch+ 0x00000000000017A0 Ch- 0x00000000000017A1 Record 0x00000000000017B7 Stop 0x00000000000017B6 Rewind 0x00000000000017B2 Play 0x00000000000017B5 Forward 0x00000000000017B4 Replay/SkipBackward 0x00000000000017A4 Pause 0x00000000000017B0 SkipForward 0x000000000000179E 1 0x0000000000001781 2 0x0000000000001782 3 0x0000000000001783 4 0x0000000000001784 5 0x0000000000001785 6 0x0000000000001786 7 0x0000000000001787 8 0x0000000000001788 9 0x0000000000001789 Asterix 0x000000000000178A 0 0x0000000000001780 # 0x000000000000178E Red 0x000000000000178B Green 0x00000000000017AE Yellow 0x00000000000017B8 Blue 0x00000000000017A9 end codes end remote |
Author: | christ [ Mon Mar 15, 2010 7:29 am ] |
Post subject: | |
ponley wrote: With the new location what happens to custom configuration? I have used the same remote and kept the same configuration through countless upgrades but the config files were located in the home directories. It looks as though the lircrc file in ~/.mythtv is still there and contains an include directive for the template in MythVantage. What is the correct way to customize your remote so that it will persist through future upgrades.
If you choose "tinker" for your remote type in the LinHES service menu, it will preserve your lirc files. |
Author: | Ozdemon [ Mon Mar 15, 2010 1:40 pm ] |
Post subject: | Remote problem |
Thanks Graysky. Your post must have overlapped the deletion of my post after I thought of a quick and dirty way of fixing my problem. I just selected an existing remote folder (Streamzap) and copied the contents of my lircd.conf and lircrc into the streamzap files whilst leaving the streamzap file names unchanged. Then in the Linhes service menu, I selected the streamzap remote and receiver, restarted and voila! remote now works. |
Author: | Golffies [ Fri Apr 09, 2010 2:48 pm ] |
Post subject: | RCT311DA2 lircd.conf file |
Ozdemon wrote: I just selected an existing remote folder (Streamzap) and copied the contents of my lircd.conf and lircrc into the streamzap files whilst leaving the streamzap file names unchanged.
Then in the Linhes service menu, I selected the streamzap remote and receiver, restarted and voila! remote now works. As far as I know, streamzap remote is coupled to an IR USB receiver; does your trick would work to install customised config files for an IR serial home-brew receiver ? I am looking at Thomson RCT311DA2 remote, coupled to a serial receiver I built; its lircd.conf file is available on Lirc website. BTW, how to populate a lircrc file on R6.02.00, when only lircd is available ? Do parameters in lircrc file have to be tuned according to the keybindings wiki page at mythtv.org, or are they specific to LinHES ? Anyway, it seems to be a pain to do. |
Author: | Ozdemon [ Fri Apr 09, 2010 3:48 pm ] |
Post subject: | Remote help |
Yes, you need the mythtv key codes. I just followed this guide as I have a harmony remote: http://www.mythtv.org/wiki/Logitech_Harmony_Generic_Setup It is not hard. Once you have created your files, it is really only a copy and paste into an existing profile. As I already had a streamzap rc with a usb IR, all I was doing was transferring the key commands to match my Harmony remote. As you have noticed, my connection was usb. Sorry, I can't help with a serial connection. I think it is possible to buy serial to usb converters at electronic shops, but I do not know if that is a good solution for you. You may also want to look at http://lircconfig.commandir.com/. I just tried to access the site but I had trouble getting past the first page. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |