[mythtv-users] Re:Re:LIRC and Hauppauge question
Harry Orenstein
ho_9 at hotmail.com
Wed Nov 12 23:14:57 EST 2003
>From: Nelson Butterworth <red_five at charter.net>
>Reply-To: Discussion about mythtv <mythtv-users at mythtv.org>
>To: "mythtv-users at mythtv.org" <mythtv-users at mythtv.org>
>Subject: [mythtv-users] Re:Re:LIRC and Hauppauge question
>Date: Wed, 12 Nov 2003 10:45:51 -0500
>
>I am interested in a lirc.conf file and such. I've been trying to get my
>RCA RCU-810 uni remote working. It just so happens that my VCR uses code 81
>(well, on the RCU, the codes have an offset if 17, so it's programmed in as
>98), and I tried to create the config for it, but I wasn't successful in
>doing so. I'd love to use my big remote and ditch the little grey thing.
>
>Nelson
>
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Nelson,
I don't know about compatibility between the two remotes, but
here are the lircd.conf and Myth lircrc files. I created them by
using the full RC5 code list from the LIRC website, so if they
don't work you could try to repeat my procedure. Just set the
RC5 conf file from the LIRC website to be your conf file and
run irw if necessary and observe which buttons return which
codes. You can then pare down the original file to just use
the codes you need and rename them to be the button names.
Hope this works for you.
-- Harry O.
_________________________________________________________________
>From Beethoven to the Rolling Stones, your favorite music is always playing
on MSN Radio Plus. No ads, no talk. Trial month FREE!
http://join.msn.com/?page=offers/premiumradio
-------------- next part --------------
#------------------------------------------------------------------------------
# contributed by Claas Langbehn (claas at bigfoot.com) 01-May-2000
#------------------------------------------------------------------------------
#
# filename: RC-5
# encoding: shift encoded, RC-5
# brand: Philips (and others)
# model: all
# supported devices: all
#
#------------------------------------------------------------------------------
begin remote
name PHILIPS_RC-5
bits 11
flags RC5|CONST_LENGTH
eps 20
aeps 0
header 0 0
one 889 889
zero 889 889
plead 889
ptrail 0
foot 0 0
repeat 0 0
pre_data_bits 2
pre_data 0x02
post_data_bits 0
post_data 0x0
pre 0 0
post 0 0
gap 113792
toggle_bit 2
frequency 36000
duty_cycle 50
begin codes
0 0x0000000000000140
1 0x0000000000000141
2 0x0000000000000142
3 0x0000000000000143
4 0x0000000000000144
5 0x0000000000000145
6 0x0000000000000146
7 0x0000000000000147
8 0x0000000000000148
9 0x0000000000000149
INFO 0x000000000000014a
SELECT 0x000000000000014b
POWER 0x000000000000014c
MUTE 0x000000000000014d
VOL+ 0x0000000000000150
VOL- 0x0000000000000151
MENU 0x000000000000015d
CH+ 0x0000000000000160
CH- 0x0000000000000161
PAUSE 0x0000000000000169
EXIT 0x0000000000000171
REW 0x0000000000000172
FFW 0x0000000000000174
PLAY 0x0000000000000175
STOP 0x0000000000000176
REC 0x0000000000000177
LAST 0x000000000000017b
DISPLAY 0x000000000000017c
TV/VCR 0x000000000000017e
end codes
end remote
begin remote
name PHILIPS_RC-5_ALT
bits 13
flags RC5|CONST_LENGTH
eps 20
aeps 0
one 889 889
zero 889 889
plead 889
gap 113792
min_repeat 1
toggle_bit 2
frequency 36000
duty_cycle 50
begin codes
LEFT 0x0000000000000155
RIGHT 0x0000000000000156
end codes
end remote
-------------- next part --------------
# lircrc.example.HauppaugeGrey-nativelirc
# 2003-09-17, Robert Kulagowski
# mailto:rkulagow at rocketmail.com
# Save this file in ~/.mythtv/lircrc
#begin
# prog = mythtv
# button = POWER
# config = Esc
#end
begin
prog = mythtv
button = TV/VCR
# 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 = EXIT
config = Esc
end
begin
prog = mythtv
button = 0
config = 0
end
begin
prog = mythtv
button = MENU
config = M
end
# Below are keys used with the Hauppauge Grey remote
begin
prog = mythtv
# This is the Red key
# We'll use it for "Delete"
button = POWER
config = D
end
begin
prog = mythtv
# Turn on browse mode
button = INFO
config = O
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
# This is the Yellow key
# Use it as a volume key
button = VOL-
repeat = 3
config = F10
end
begin
prog = mythtv
# This is the Blue key
# Use it as a volume key
button = VOL+
repeat = 3
config = F11
end
begin
prog = mythtv
button = CH+
# This is the "up" on the central diamond
repeat = 3
config = Up
end
begin
prog = mythtv
button = CH-
# This is the "down" on the central diamond
repeat = 3
config = Down
end
begin
prog = mythtv
button = LEFT
# This is the "left" on the central diamond
repeat = 3
config = Left
end
begin
prog = mythtv
button = RIGHT
# This is the "right" on the central diamond
repeat = 3
config = Right
end
begin
prog = mythtv
# Middle button on the diamond
button = SELECT
config = Return
end
begin
prog = mythtv
button = MUTE
config = F9
end
begin
prog = mythtv
# This is the Green key
# We'll use it for "Information"
button = DISPLAY
config = I
end
begin
prog = mythtv
# Channel history
button = LAST
config = H
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 = REC
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
begin
prog = mplayer
button = EXIT
config = quit
end
begin
prog = mplayer
button = MUTE
config = mute
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 = PLAY
config = pause
end
begin
prog = mplayer
button = PAUSE
config = pause
end
begin
prog = mplayer
button = STOP
config = quit
end
begin
prog = mplayer
button = DISPLAY
config = osd
end
begin
prog = mplayer
button = FFW
config = skip 1
end
begin
prog = mplayer
button = REW
config = skip -1
end
#begin
# prog = mplayer
# button = REPLAY
# config = skip -60
#end
#begin
# prog = mplayer
# button = SKIP
# config = skip 60
#end
More information about the mythtv-users
mailing list