On Mon, 2005-02-21 at 15:12, Michael Smith wrote:
> I just did a new myth install on Suse 9.2 with running an Intel Pentium 4 
> with a WinTv-PVR 350.  However, I am having trouble getting Myth to 
> recognize my PVR-360 remote.  I have verified that linux is recognizing the 
> ir signals using irw.  I also have the latest remote config /etc/lircd.conf 
> :

I've just been through this myself.  :)

Assuming for the moment that irw shows you pressing the keys and they
match up.

The problem I had was the lircrc file.  There were two points of
confusion.  

First the lircrc file on Jarod's site (BTW: thanks for the How To
Jarod!) is for the old gray Hauppauge remote.  I have what appears to be
the new gray Hauppauge remote.  

In another thread on this list several of us were having problems and 
via pointers there I found the missing/wrong key mappings and created
the lircrc file below that seems to work for most things.  Have not
tested everything yet but it get it working so I don't have to hit the
keyboard for most things now.

The second thing is some confusion on where the lircrc file goes.  At
present I have the file in two places.  /home/mythtv/.lircrc and
/home/mythtv/.mythtv/lircrc.

I came across information indicating one or the other is correct.

I also found it may be a good idea to do the following when testing
changes to the lircrc file.  

#service lircd stop
#depmod -a
#rmmod lirc_i2c
#depmod -a
#modprobe lirc_i2c
#service lircd start

This appears to make sure everything gets reloaded and reads the lircrc
file (which ever one is really used).


-- 
Scot L. Harris
[EMAIL PROTECTED]

Now I lay me down to sleep,
I pray the Lord my soul to keep,
If I should die before I wake,
I'll cry in anguish, "Mistake!!  Mistake!!" 
# ~/.mythtv/lircrc
#
# 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 = OFF
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 = Mute
repeat = 3
config = F9
end

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

# Rewind (10 sec default)
begin
prog = mythtv
button = Rewind
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 = BLANK
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 = UP
repeat = 3
config = Up
end

# Scroll down
begin
prog = mythtv
button = DOWN
repeat = 3
config = Down
end

# Scroll right
begin
prog = mythtv
button = RIGHT
repeat = 3
config = Right
end

# Scroll Left
begin
prog = mythtv
button = LEFT
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 = Stop
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

### Xine lirc setup

begin
prog = xine
button = Play
repeat = 3
config = Play
end

begin
prog = xine
button = Stop
repeat = 3
config = Stop
end

begin
prog = xine
button = OFF
repeat = 3
config = Quit
end

begin
prog = xine
button = Pause
repeat = 3
config = Pause
end

begin
prog = xine
button = Channel-UP
repeat = 3
config = EventUp
end

begin
prog = xine
button = Channel-DOWN
repeat = 3
config = EventDown
end

begin
prog = xine
button = Volume-UP
repeat = 3
config = EventLeft
end

begin
prog = xine
button = Volume-DOWN
repeat = 3
config = EventRight
end

begin
prog = xine
button = OK
repeat = 3
config = EventSelect
end

begin
prog = xine
button = Menu
repeat = 3
config = Menu
end

begin
prog = xine
button = Forward
repeat = 3
config = SpeedFaster
end

begin
prog = xine
button = Rewind
repeat = 3
config = SpeedSlower
end

begin
prog = xine
button = Volume-UP
repeat = 3
config = Volume+
end

begin
prog = xine
button = Volume-DOWN
repeat = 3
config = Volume-
end

begin
prog = xine
button = Mute
repeat = 3
config = Mute
end

begin
prog = xine
button = Menu
repeat = 3
config = RootMenu
end

begin
prog = xine
button = Next
repeat = 3
config = EventNext
end

begin
prog = xine
button = Pervious
repeat = 3
config = EventPrior
end

begin
prog = xine
button = GO
repeat = 3
config = OSDStreamInfos
end

begin
prog = xine
button = red
repeat = 3
config = Quit
end

begin
prog = xine
button = red
repeat = 3
config = Quit
end
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to