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

PVR remote problems
http://forums.linhes.org/viewtopic.php?f=6&t=3303
Page 1 of 1

Author:  Escher0 [ Sat Jan 22, 2005 3:35 pm ]
Post subject:  PVR remote problems

For a while, the remote on my mythtv box would do nothing, and no response was given even using irw. I fixed that by loading the lircd.conf from this thread http://mysettopbox.tv/phpBB2/viewtopic.php?t=3092
After doing that, the remote worked perfectly with irw. I loaded the lircrc from that same thread, fixing the errors in there plus adding some missing commands (all covered in that thread), But now, mythtv does not respond to the remote at all.

This problem may just be me putting the file in the wrong place though. I placed it in /home/mythtv/.mythtv/ after renaming the old lircrc. I've seen this file called both lircrc and .lircrc though and seen people mention other locations. Where should it go and what should it be called? I've tried both lircrc and .lircrc in the /home/mythtv/.mythtv/ directory.

Here is my lircrc
Code:
# ~/.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

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

# Volume Down
begin
prog = mythtv
button = Volume-DOWN
repeat = 3
config = [
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 = Mute
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

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

# Fast forward (30 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

# Previous Channel
begin
prog = mythtv
button = Prev-Channel
repeat = 3
config = H
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

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = Guide
repeat = 3
config = M
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 = Home
end

# Seek to next commercial cut point
begin
prog = mythtv
button = blue
repeat = 3
config = End
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

# Mplayer Volume Up
begin
prog = mplayer
button = Volume-UP
repeat = 1
config = volume 1
end

# Mplayer Volume Down
begin
prog = mplayer
button = Volume-DOWN
repeat = 1
config = volume -1
end

# 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

Author:  meanjeans [ Sat Jan 22, 2005 4:31 pm ]
Post subject: 

Hi Escher0

put licrc in the /home/mythtv/.mythtv directory.

Author:  Escher0 [ Sat Jan 22, 2005 4:56 pm ]
Post subject: 

I just figured it out, it was a formatting error. dos2unix fixed it

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