LinHES Forums
http://forums.linhes.org/

PVR250 Grey Remote not working correctly
http://forums.linhes.org/viewtopic.php?f=2&t=3092
Page 1 of 2

Author:  javertiz [ Sun Dec 19, 2004 1:41 pm ]
Post subject:  PVR250 Grey Remote not working correctly

I bought one of the newer PVR 250 cards (980) and have gotten it to work just fine (after 3 installations of KnoppMyth and a lot of troubleshooting).

The trouble is with the remote. It won't work. The interesting thing is that irw doesn't show anything unless I press the 5 and 6 buttons on the remote repeatedly and randomly... then it shows

000000000001fc6 00 6 hauppaugegrey
or
000000000001fc5 00 5 hauppaugegrey

I'm not sure what is going on - it doesn't do it with any other buttons and won't work on Myth.

What I've done so far....
- I'm running KnoppMyth R4V5 with the newer ivtv drivers (not v3, 2c I think).
- I installed the lirc-0.7.0pre4 package that came with KnoppMyth. Followed all the instructions, used the setup program, selected the Hauppauge remote, compiled and installed fine. All the modules are running fine.

Yet I'm getting that sporadic results with irw and NOTHING in Myth.
Any ideas, suggestions?

Thanks for the help.

My System:
MB ASUS A7n266 BIOS 1004
256 2700 Memory
AMD 1400 (T-bird processor) running at 1260 so I can slow down the fans a bit.
PVR 250 Model 980
GeForce2 GTS card with TV/out (not using TV out - YET)
40 Gig HD

P.S. First post

Author:  Xsecrets [ Sun Dec 19, 2004 2:13 pm ]
Post subject: 

just curious why would you bother with installing lirc? It is preinstalled and setup for the hauppage remote by default. you shouldn't have to do anything with it other than install the mythtv packages with lirc support. The only reason you should have to mess with lirc is if you are using an irblaster to change channels on a set top box of some sort.

Author:  javertiz [ Sun Dec 19, 2004 5:02 pm ]
Post subject: 

Well, I installed the packages but the remone never worked so I figured maybe since I have a newer version of the PVR 250 they changed the remote and I need a newer version of lirc.

Is there a way to take it back to the default (per KnoppMyth) without having to redo the install?

Author:  mccoyn [ Mon Dec 20, 2004 1:21 pm ]
Post subject: 

I'm having the same problem with my PVR-350 (990) grey remote. I havn't tested it with irw, but the best I can do is get the CH- button to work intermitantly.

Author:  javertiz [ Mon Dec 20, 2004 5:13 pm ]
Post subject: 

mccoyn - have you tried the latest LIRC drivers? I'm wondering if they changed something in the receiver configuration for all the new cards.

Author:  mccoyn [ Wed Dec 22, 2004 6:48 am ]
Post subject: 

Yeah, but only after I couldn't get the remote working. It still didn't work.

Author:  xm301 [ Thu Dec 23, 2004 10:52 am ]
Post subject: 

I have a new PVR-350 with the grey remote, and it isn't working either. I thought it was the unit so I exchanged it and still the same issues. If I press the buttons in a random pattern occasional irw will report a "6" key press.

Just to make sure it isn't pilot error can we confirm we all have the same remote; pop the batteries out and see what model you have.

I've got an A415 with a 10/04 datecode.

Those of you that had the remote work out of the box can you tell us what model you have?

thanks

Author:  cesman [ Thu Dec 23, 2004 2:59 pm ]
Post subject: 

Mine doesn't have a model number. You'll probaly need a new lircd.conf and lircrc. Check the MythTV [url=http://mythtv.org/docs/mythtv-HOWTO-8.html]docs for details, you'll probably also want to check the LIRC docs.

Author:  xm301 [ Fri Dec 24, 2004 9:42 am ]
Post subject: 

Okay, After reading through the lirc mailing-list archives. I was able to get output via irw by changing my /etc/lircd.conf

Code:
# /etc/lircd.conf
# this config file was automatically generated
# using lirc-0.7.0(hauppauge) on Tue Nov 30 00:38:32 2004
#
# contributed by
#
# brand:                       lirc.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  grayHauppauge
  bits           13
  flags RC5
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          200966
  repeat_bit    2

      begin codes
          Power                    0x00000000000017BD
          Go                       0x0000000000001FBB
          TV                       0x000000000000179C
          Videos                   0x0000000000001F98
          Music                    0x0000000000001799
          Pictures                 0x0000000000001F9A
          Guide                    0x000000000000179B
          Radio                    0x0000000000001F8C
          UP                       0x0000000000001794
          LEFT                     0x0000000000001F96
          RIGHT                    0x0000000000001797
          DOWN                     0x0000000000001F95
          OK                       0x00000000000017A5
          Back-Exit                0x0000000000001F9F
          Menu                     0x000000000000178D
          Prev-Channel             0x0000000000001F92
          Mute                     0x000000000000178F
          Volume-UP                0x0000000000001F90
          Volume-DOWN              0x0000000000001791
          Channel-UP               0x0000000000001FA0
          Channel-DOWN             0x00000000000017A1
          Record                   0x0000000000001FB7
          Stop                     0x00000000000017B6
          Rewind                   0x0000000000001FB2
          Forward                  0x00000000000017B4
          Play                     0x0000000000001FB5
          Previous                 0x00000000000017A4
          Next                     0x0000000000001F9E
          Pause                    0x00000000000017B0
          1                        0x0000000000001F81
          2                        0x0000000000001782
          3                        0x0000000000001F83
          4                        0x0000000000001784
          5                        0x0000000000001F85
          6                        0x0000000000001786
          7                        0x0000000000001F87
          8                        0x0000000000001788
          9                        0x0000000000001F89
          0                        0x0000000000001780
          star                     0x0000000000001F8A
          hash                     0x000000000000178E
          red                      0x0000000000001F8B
          green                    0x00000000000017AE
          yellow                   0x0000000000001FB8
          blue                     0x00000000000017A9
      end codes

end remote

and /home/mythtv/.mythtv/lircrc

Code:
# MythTV native LIRC config file for
# the grey Hauppauge remote
#
# By Jarod Wilson, 2003/12/21
# Amalgamated from Jeff Campbell's,
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
#

# Channel Up
begin
prog = mythtv
button = Channel-UP
repeat = 3
config = Up
end

# Channel Down
begin
prog = mythtv
button = Channel-DOWN
repeat = 3
config = Down
end

# OK/Select
begin
prog = mythtv
button = OK
config = Space
end

# Play
begin
prog = mythtv
button = Play
config = Return
end

# Stop
begin
prog = mythtv
button = Stop
config = Esc
end

# Escape/Exit/Back
begin
prog = mythtv
button = Back-Exit
config = Esc
end

# Power Off/Exit
begin
prog = mythtv
button = Power
config = Esc
end

# Red means stop!
#begin
#prog = mythtv
#button = red
#config = Esc
#end

# Pause
begin
prog = mythtv
button = Pause
repeat = 3
config = P
end

# Mute
begin
prog = mythtv
button = Mure
repeat = 3
config = F9
end

begin
prog = mythtv
button = UP
repeat = 3
config = Up
end

begin
prog = mythtv
button = RIGHT
repeat = 3
config = Right
end

begin
prog = mythtv
button = DOWN
repeat = 3
config = Down
end

begin
prog = mythtv
button = LEFT
repeat = 3
config = Left
end




# Fast forward (30 sec default)
begin
prog = mythtv
button = Rewind
repeat = 3
config = Left
end

# Rewind (10 sec default)
begin
prog = mythtv
button = Forward
repeat = 3
config = Right
end

# Skip forward (10 min default)
begin
prog = mythtv
button = Next
repeat = 3
config = PgDown
end

# Skip backward (10 min default)
begin
prog = mythtv
button = Previous
repeat = 3
config = PgUp
end

# Record
begin
prog = mythtv
button = Record
repeat = 3
config = R
end

# Delete
begin
prog = mythtv
button = red
repeat = 3
config = D
end

# OSD browse
begin
prog = mythtv
button = green
repeat = 3
config = O
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = Menu
repeat = 3
config = M
end

# Scroll up
begin
prog = mythtv
button = Volume-UP
repeat = 3
config = Right
end

# Scroll down
begin
prog = mythtv
button = Volume-DOWN
repeat = 3
config = Left
end

# Bring up OSD info
begin
prog = mythtv
button = Go
repeat = 3
config = I
end

# Change display aspect ratio
#begin
#prog = mythtv
#button = FULL
#repeat = 3
#config = W
#end

# Seek to previous commercial cut point
begin
prog = mythtv
button = yellow
repeat = 3
config = Q
end

# Seek to next commercial cut point
begin
prog = mythtv
button = blue
repeat = 3
config = Z
end

# Numbers 0-9

begin
prog = mythtv
button = 0
repeat = 3
config = 0
end

begin
prog = mythtv
button = 1
repeat = 3
config = 1
end

begin
prog = mythtv
button = 2
repeat = 3
config = 2
end

begin
prog = mythtv
button = 3
repeat = 3
config = 3
end

begin
prog = mythtv
button = 4
repeat = 3
config = 4
end

begin
prog = mythtv
button = 5
repeat = 3
config = 5
end

begin
prog = mythtv
button = 6
repeat = 3
config = 6
end

begin
prog = mythtv
button = 7
repeat = 3
config = 7
end

begin
prog = mythtv
button = 8
repeat = 3
config = 8
end

begin
prog = mythtv
button = 9
repeat = 3
config = 9
end


### MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = Menu
repeat = 3
config = osd
end

# Pause playback
begin
prog = mplayer
button = Pause
repeat = 3
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = Play
repeat = 3
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = Stop
repeat = 3
config = quit
end

# Mute
begin
prog = mplayer
button = Mute
repeat = 3
config = mute
end

# Seek back 10 seconds
begin
prog = mplayer
button = Rewind
repeat = 3
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = Forward
repeat = 3
config = seek +30
end

# Quit
begin
prog = mplayer
button = Back-Exit
repeat = 3
config = quit
end

# Seek forward 10 minutes
begin
prog = mplayer
button = Next
repeat = 3
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = Previous
repeat = 3
config = seek -600
end

# Toggle full-screen
#begin
#prog = mplayer
#button = FULL
#repeat = 3
#config = vo_fullscreen
#end


Now I just need to figure out why MythTV isn't getting the commands...

Author:  cesman [ Fri Dec 24, 2004 12:16 pm ]
Post subject: 

Ensure lircd is started. You don't need to use xirevent (or whatever the name is...). Start mythfrontend from an xterm and quit. You should see a message about lirc.

Author:  lane [ Fri Dec 24, 2004 6:02 pm ]
Post subject: 

I'm having the same problem but have so far not touched anything except modifying the files as xm301 showed to. My 350 is brand new, and has the same model/make dates as that one.

When doing the above procedure I notice this line as probably my issue:

There seems to be a file error.

" in line 11 ignoredn "
" in line 13 ignoredn "begin
mythtv: bad file format, line 14
Failed to read lirc config /home/mythtv/.mythtv/lircrc for mythtv

Below are the first few lines, they look pretty normal to me.:
Code:
# MythTV native LIRC config file for
# the grey Hauppauge remote
#
#   /home/mythtv/.mythtv/lircrc
#
# By Jarod Wilson, 2003/12/21
# Amalgamated from Jeff Campbell's,
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
#

# Channel Up
begin
prog = mythtv
button = Channel-UP
repeat = 3
config = Up
end


Need to get back to familly, will work on it more later.

-Lane

Author:  lane [ Sat Dec 25, 2004 1:34 am ]
Post subject: 

Looks like I'm a victim of window formatting or something. I've typed a few of the commands in manually and it works just fine now.

There is a formating error with your Channel Down. That should be a dash and not a underscore.

Run the irexec test command at http://www.lirc.org/html/configure.html to be sure it's not a hardware thing.

I fixed my formatting with the ultra uber command "dos2unix". Try man dos2unix if you are having errors reading the files and you have copied them from a winblows box. It's installed with R4V5.

-Lane

Author:  xm301 [ Sun Dec 26, 2004 12:37 am ]
Post subject: 

Quote:
There is a formating error with your Channel Down. That should be a dash and not a underscore.


That was it. Now my remote is working. :D

Author:  lane [ Tue Dec 28, 2004 9:23 pm ]
Post subject: 

xm301, I noticed that your remote isn't being used for volume (if you are using default keys that is). If this is because it's not making any difference in the volume level like it was mine and you want it to (or someone else reading this does)

http://knoppmythwiki.homelinux.org/inde ... stallation
Use 6 to fix your sound once you are using the 350 hardware TV-Out
Turn the "mic" all the way up in aumix (run this while in X it's much cooler than in cli).
Be sure to change it to "master" in Setup, Setup, General, Mixer Control. If you don't then you can't make changes to the TV sound level with your new working remote.

To make changes to xm301's config, just change the lircrc file
button = Volume-UP
config = ]

and

button = Volume-DOWN
config = [

Oh, and Mute is spelled Mure. :)

-Lane

Author:  xm301 [ Tue Dec 28, 2004 10:54 pm ]
Post subject: 

Quote:
xm301, I noticed that your remote isn't being used for volume (if you are using default keys that is). If this is because it's not making any difference in the volume level like it was mine and you want it to (or someone else reading this does)


I didn't create the lircrc file, just copied it from the lirc mailing-list. I feed all my media through a sony reciever, so I don't use the volume in mythtv. But good catch, I'm sure some people will want to use the volume.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/