[mythtv-users] Hauppauge grey remote with homemade serial IR receiver in MythTV 0.26 and Fedora 19
Bob Shanteau
rmshant at gmail.com
Sun Aug 25 18:54:35 UTC 2013
I have installed MythTV in Fedora 19 on a test box mostly following
these instructions, except using RPM Fusion and the Software Install GUI
instead of yum:
<http://www.mythtv.org/wiki/Installing_MythTV_on_Fedora>
Now I want to get my Hauppauge grey remote working with a homemade
serial receiver, which are currently working in MythDora 12.23, but I
have not been successful. I copied lircd.conf and .lircrc from the
MythDora installation to /etc/lirc and ~, respectively, on the test box,
but what now? (I've listed those files below my signature.)
The documentation on the lirc.org page is not working right now, so I
installed lirc-docs. Those instructions assume you are compiling LIRC
from scratch, which I am not. According to this page, the LIRC modules
are already in the kernel.
<http://www.mythtv.org/wiki/LIRC>
I tried running
#modprobe lirc_serial
and it seemed to run OK, but neither irw nor irrecord is showing any
keypresses.
What do I do now?
Bob Shanteau
---
lircd.conf:
#
# 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
---
.lircrc:
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the new grey Hauppauge remote
#
# Here we have the jump point commands. They only work if you have
# defined function keys for these jump points. For me the most
# common command is the menu of recordings, so I put that on "videos"
# even though that's counter-intuitive
begin
prog = mythtv
button = TV
repeat = 3
config = F5
end
begin
prog = mythtv
button = Videos
repeat = 3
config = F2
end
# Not yet defined
begin
prog = mythtv
button = Music
repeat = 3
config = Up
end
# Given another function for now, I don't use mythgallery
begin
prog = mythtv
button = Pictures
repeat = 3
config = F
end
begin
prog = mythtv
button = Guide
repeat = 3
config = O
end
# Radio brings up menu
begin
prog = mythtv
button = Go
repeat = 3
config = I
end
begin
prog = mythtv
button = Radio
repeat = 3
config = F4
end
begin
prog = mythtv
button = Up
repeat = 3
config = Up
end
begin
prog = mythtv
button = Down
repeat = 3
config = Down
end
begin
prog = mythtv
button = Left
repeat = 3
config = Left
end
begin
prog = mythtv
button = Right
repeat = 3
config = Right
end
# Channel Up
begin
prog = mythtv
button = Ch+
repeat = 3
config = Up
end
# Channel Down
begin
prog = mythtv
button = Ch-
repeat = 3
config = Down
end
# OKSelect
begin
prog = mythtv
button = OK
repeat = 3
config = Return
end
# Play
begin
prog = mythtv
button = Play
repeat = 3
config = Return
end
# Stop
begin
prog = mythtv
button = Stop
repeat = 3
config = Esc
end
# Escape/Exit/Back
begin
prog = mythtv
button = Back/Exit
repeat = 3
config = Esc
end
# Power Off/Exit
begin
prog = irexec
button = Power
config = /usr/bin/mythpowerbutton.sh
end
# Pause
begin
prog = mythtv
button = Pause
repeat = 3
config = P
end
# Mute
begin
prog = mythtv
button = Mute
repeat = 3
config = |
end
# Fast forward
begin
prog = mythtv
button = Rewind
repeat = 3
config = <
end
# Rewind
begin
prog = mythtv
button = Forward
repeat = 3
config = >
end
# Skip forward (10 min default)
begin
prog = mythtv
button = SkipForward
repeat = 3
config = PgDown
end
# Skip backward (10 min default)
begin
prog = mythtv
button = Replay/SkipBackward
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
# Decrease play speed
begin
prog = mythtv
button = Green
repeat = 3
config = U
end
# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = Menu/i
repeat = 3
config = M
end
# Scroll up
begin
prog = mythtv
button = Vol+
repeat = 3
config = F11
end
# Scroll down
begin
prog = mythtv
button = Vol-
repeat = 3
config = F10
end
# Bring up OSD info
begin
prog = mythtv
button = Go
repeat = 3
config = I
end
# Change display aspect ratio
begin
prog = mythtv
button = Prev.Ch
repeat = 3
config = H
end
# double speed watch
begin
prog = mythtv
button = Yellow
repeat = 3
config = J
end
# change tuners
begin
prog = mythtv
button = Asterix
repeat = 3
config = Y
end
# Bring up Time stretch
begin
prog = mythtv
button = Blue
repeat = 3
config = A
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/i
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
begin
prog = mplayer
button = Left
repeat = 3
config = seek -10
end
# Seek back 10 seconds
begin
prog = mplayer
button = Rewind
repeat = 3
config = seek -10
end
begin
prog = mplayer
button = Right
repeat = 3
config = seek +30
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 = SkipForward
repeat = 3
config = seek +600
end
# Seek backward 10 minutes
begin
prog = mplayer
button = Replay/SkipBackward
repeat = 3
config = seek -600
end
# Toggle full-screen
begin
prog = mplayer
button =
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 = Back/Exit
repeat = 3
config = Quit
end
begin
prog = xine
button = Pause
repeat = 3
config = Pause
end
begin
prog = xine
button = Up
repeat = 3
config = EventUp
end
begin
prog = xine
button = Down
repeat = 3
config = EventDown
end
begin
prog = xine
button = Left
repeat = 3
config = EventLeft
end
begin
prog = xine
button = Right
repeat = 3
config = EventRight
end
begin
prog = xine
button = OK
repeat = 3
config = EventSelect
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 = Vol+
repeat = 3
config = Volume+
end
begin
prog = xine
button = Vol-
repeat = 3
config = Volume-
end
begin
prog = xine
button = Mute
repeat = 3
config = Mute
end
begin
prog = xine
button = Menu/i
repeat = 3
config = RootMenu
end
begin
prog = xine
button = SkipForward
repeat = 3
config = EventNext
end
begin
prog = xine
button = Replay/SkipBackward
repeat = 3
config = EventPrior
end
begin
prog = xine
button = Go
repeat = 3
config = OSDStreamInfos
end
---
More information about the mythtv-users
mailing list