View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5A22 PVR250 lirc Setup
PostPosted: Sun Oct 30, 2005 11:39 am 
Offline
Joined: Sun Apr 03, 2005 2:45 pm
Posts: 22
Location: Lees Summit MO
I thought I would give the remote another shot with R5A22. The install went fine until my choice of remotes. I use the remote with the model number A415 under the battery cover. There seems to be a lot of confusion as to the color of this model. Some posts refer to it as silver and other refer to it as grey. It appears to be silver to me.....Anyway, I chose the hauppauge option for the silver remote and there was not a config for it. I decided to use the following files for my setup:

/etc/lircd.conf

Code:
#
# 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


/home/mythtv/.mythtv/lircrc

Code:
# lircrc.example.HauppaugeSilver-nativelirc
# 2005-01-27, Russell Salerno
# mailto:rsalern5@optonline.net
# Save this file in ~/.mythtv/lircrc

begin
    prog = mythtv
    button = Off
    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/i
    config = M
end

# Below are keys used with the Hauppauge Silver remote

begin
   prog = mythtv
# This is the Red key
# We'll use it for "Delete"
   button = Red
   config = D
end

begin
   prog = mythtv
# This is the Green key
# We'll use it for "Information"
   button = Green
   config = I
end

begin
  prog = mythtv
# This is the Blue key
# Use it for the sleep timer
  button = Blue
  config = F8
end

begin
  prog = mythtv
# This is the Yellow key
# adjust video
  button = Yellow
  config = F
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
  button = vol-
  repeat = 3
  config = F10
end

begin
  prog = mythtv
  button = vol+
  repeat = 3
  config = F11
end

begin
  prog = mythtv
  button = Ch+
  config = Up
end

begin
  prog = mythtv
  button = Ch-
  repeat = 3
  config = Down
end

begin
    prog = mythtv
    button = Up
# This is the "up" on the central diamond
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = Down
# This is the "down" on the central diamond
    repeat = 3
    config = Down
end

begin
    prog = mythtv
#    button = Vol-
    button = Left
# This is the "left" on the central diamond
    repeat = 3
    config = Left
end

begin
    prog = mythtv
#    button = Vol+
    button = Right
# 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 = Rew
    config = Left
end

begin
    prog = mythtv
    button = Play
    config = P
end

begin
    prog = mythtv
    button = FFW
    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 = Off
   config = quit
end

begin
   prog = mplayer
   button = MENU
   config = osd
end

begin
   prog = mplayer
   button = Rew
   config = seek -10
   repeat = 1
end

begin
   prog = mplayer
   button = FFW
   config = seek +10
   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 = Play
    config = pause
end

begin
   prog = mplayer
   button = BACK
   config = quit
end

begin
   prog = mplayer
   button = VOL+
   config = volume +1
   repeat = 1
end

begin
   prog = mplayer
   button = VOL-
   config = volume -1
   repeat = 1
end

begin
   prog=mplayer
   button=Mute
   config=mute
end


I made sure the permissions on /home/mythtv/.mythtv/lircrc were set to 777 with the owner mythtv. The symbolic link to lircrc in /home/mythtv is also working fine. I have not made any other configuration changes.

I was thinking of running the install-i586-l script, but wanted to check with the group first. I hit this same wall on the previous version and hoped the loading of lirc on boot would resolve the issue.

End result....No remote. If anyone has any insight on what I may have done wrong in the setup or have the missing step to get this running, please let me know.

By the way...love the install on R5A22...very simple install.

_________________
websites: http://www.willoliver.com http://healthcareitforum.com


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 30, 2005 1:17 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Quote:
I made sure the permissions on /home/mythtv/.mythtv/lircrc were set to 777 with the owner mythtv.

Sigh... 777 BAD. Please don't do that or tell others to do that. Permissions and ownership on that file should be:
Code:
root@black2:~# ls -al /home/mythtv/.mythtv/lircrc
-rw-r--r--  1 mythtv mythtv 5779 Sep 10 12:29 /home/mythtv/.mythtv/lircrc

To set these properly please use the following commands:
Code:
chown mythtv:mythtv /home/mythtv/.mythtv/lircrc
chmod u=rw,go=r /home/mythtv/.mythtv/lircrc

BTW - If you'd picked the "grey" remote it should have done this for you without all the fuss, and you can rerun the relevenat command (lirc-reconfig.sh) at anytime.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 30, 2005 2:17 pm 
Offline
Joined: Sun Apr 03, 2005 2:45 pm
Posts: 22
Location: Lees Summit MO
Heh...I knew 777 is bad, but I open it up since my box is safely behind a firewall.

Unfortuantely, I have used the lirc-reconfig.sh script to no avail. I've read in several posts that the config for silver will be added at a later date. I wish there was a definitive answer on if this is the silver or grey.

There are sooo many posts now on getting this remote working that it's almost impossible to decern which ones are working. If anyone has this one working, would they mind posing their lircd.conf and lircrc files?

Image

_________________
websites: http://www.willoliver.com http://healthcareitforum.com


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 30, 2005 2:29 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
That is the "silver".

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 30, 2005 3:28 pm 
Offline
Joined: Sun Apr 03, 2005 2:45 pm
Posts: 22
Location: Lees Summit MO
That's what I thought, but there were some conflicting posts. I've used the config files at this post, but still no go. Do I need to go back a version in lirc? http://mysettopbox.tv/phpBB2/viewtopic.php?t=4609&highlight=lirc+setup+pvr150+silver+remote

_________________
websites: http://www.willoliver.com http://healthcareitforum.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 4:10 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
So.. rerun the relevant command (lirc-reconfig.sh) for hauppauge gray, then sub in the above PVR350 (silver) config file ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 7:30 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
We really need a wiki page with a guide to remote naming. I thought that the cigar shaped remote was the "silver"... :oops: If this still confuses me then what's a poor newbie to do? :?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 7:31 pm 
Offline
Joined: Mon Oct 24, 2005 12:23 pm
Posts: 8
The first time I installed R5A22 I selected silver and got the 'not supported' message. So, the 2nd time I installed I chose grey, and had the A415-HPG (silver) remote working as soon as it was up.

It does need tweaking - the button assignments arent perfect, but thats just a matter of editing lircrc.

the irw command returns perfect button recognition, so I believe this means the /etc/lirc/lircd.conf needs no editing at all...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 01, 2005 12:03 am 
Offline
Joined: Sun Apr 03, 2005 2:45 pm
Posts: 22
Location: Lees Summit MO
compdoc,

would you mind posting your lircd.conf and lircrc? If I can give yours a shot, I can narrow my issue down to faulty ir on the card...Thx

_________________
websites: http://www.willoliver.com http://healthcareitforum.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 01, 2005 8:07 am 
Offline
Joined: Mon Oct 24, 2005 12:23 pm
Posts: 8
my lircd.conf is the original one that comes with R5A22. There's no need to change it, since it works with the silver remote.

my lircrc file isnt finished yet - I just started adjusting it when the remote stopped working. I havent figured out why yet, but I think its because I deleted the original lircrc file and replaced it with a modified one. I think I broke a symbolic link to the file by doing that.

the irw command still sees the buttons being pressed, so its not a hardware problem...

Think I'm going to have to reinstall from scratch once again. :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 12:51 am 
Offline
Joined: Tue Oct 18, 2005 1:40 am
Posts: 35
Location: Aarhus, Denmark
Apparently I as so priviledged that I have what is known as the Hauppage "grey" remote the one with R800-HPG-S in the batery compartment. I use the word priviledged since it seem to work in almoste every part of Mythtv right out of the box.

Earlier i had R5A16 but choose to install R5A22 from scratch. I had success in the first run - great install - have my pvr-350 to run with tv-out on a pal tv and have the danish channels setup fixed. If needed I can post my danish MythTv - pvr-350 - Tvout - danish tv channels Howto.

During install I choose hauppage and the "grey" remote. In MythTV everything works ok. There are som minor glitches though. My major problem is currently lirc navigator. When i choose the MPEG4 in Mythtv i can't get out of it again neither by remote or by keyboard. Since my remote works ok I am hesitating a bit before editing lircrc and other files. So my question is have anybody else had a run at lirc navigator with the "grey" remote and have everything working?
Jensk


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 1:00 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Take a look at the lircrc... Use the power button to quit.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 27, 2005 5:53 pm 
Offline
Joined: Sun Nov 13, 2005 7:27 pm
Posts: 14
how would you switch in the new pvr350 silver remote config file for the old one?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 1:37 pm 
Offline
Joined: Sat Jun 18, 2005 7:47 am
Posts: 73
Location: Sweden
have the same problem with my avertv dvb 771 remote. I can see the buttons and labels with irw etc, so lircd.conf works fine.

however, strangely enough, whatever I seem to do with the ~/.mythtv/lircrc file, nothing changes in mythfrontend. the buttons are still backwards. I've set the permissions correctly of the lircrc file and updated it to use KP5 as enter, POWER as quit, etc. no fun. I even tried trashing the lircrc file in both root and .mythtv and rebooted, but the remote STILL worked in mythfrontend, albeit wrongly.

what the hell is relaying the commands from lircd.conf if it isn't the lircrc file anymore, like in the previous version of knoppmyth?!


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 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