[mythtv-users] lirc problems: irxevent sends multiple keypresses
Tom Lee
tom at zunta.org
Wed Jun 9 11:52:04 EDT 2004
I'm having a problem with irxevent. When I run irw, my remote (a generic universal set to impersonate a TiVo remote) appears to work fine. However, with irxevent, every keypress results in the output of two of the characters instead of the one keypress displayed by irw.
I've briefly tried using myth's native lirc support, but didn't have any luck. I am using a homebrew receiver and a lircd.conf and .lircrc that were working fine with an earlier version of lirc (0.6.6). I'm now running a 0.7.x cvs version (so that it'll work with FC2). I've also tried creating a new lircd.conf, but the same behavior occurs.
Does anyone have any suggestions? Where should I be calling irxevent from? Right now, I've got it in .bash_profile -- this worked fine on the old myth box, but could multiple instances be running here (ps -a implies that there aren't)?
Thanks for any help.
Attaching lircd.conf and .lircrc below
lircd.conf:
# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.0-CVS(any) on Wed Jun 9 10:06:05 2004
#
# contributed by
#
# brand: lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name lircd.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8984 4459
one 634 1605
zero 634 489
ptrail 634
repeat 8984 2236
pre_data_bits 16
pre_data 0xA10C
gap 107759
toggle_bit 0
begin codes
UP 0x0000000000002807
RIGHT 0x000000000000A807
LEFT 0x000000000000E807
DOWN 0x0000000000006807
DISPLAY 0x0000000000001807
TVVIDEO 0x0000000000005807
SELECT 0x0000000000009807
RECALL 0x000000000000640B
TIVO 0x0000000000000807
GUIDE 0x0000000000008807
RECORD 0x000000000000040B
PLAY 0x000000000000840B
CH+ 0x0000000000007807
CH- 0x000000000000F807
REW 0x000000000000440B
FFWD 0x000000000000240B
PAUSE 0x000000000000C40B
1 0x000000000000140B
2 0x000000000000940B
3 0x000000000000540B
4 0x000000000000D40B
5 0x000000000000340B
6 0x000000000000B40B
7 0x000000000000740B
8 0x000000000000F40B
9 0x0000000000000C03
0 0x0000000000008C03
ENTER 0x000000000000CC03
CLEAR 0x0000000000004C03
MENU 0x000000000000400F
end codes
end remote
.lircrc:
#begin
# prog = irxevent
# button = power
# config = Key CurrentWindow
#end
#begin
# prog = irxevent
# button = vtrdvdpower
# config = Key CurrentWindow
#end
begin
prog = irxevent
button = tvvideo
config = Key > CurrentWindow
end
begin
prog = irxevent
button = clear
config = Key i CurrentWindow
end
#begin
# prog = irxevent
# button = pip
# config = Key Z CurrentWindow
#end
#begin
# prog = irxevent
# button = sleep
# config = Key CurrentWindow
#end
#begin
# prog = irxevent
# button = mtssap
# config = Key CurrentWindow
#end
#begin
# prog = irxevent
# button = tvvtr
# config = Key CurrentWindow
#end
#begin
# prog = irxevent
# button = sleep
# config = Key X CurrentWindow
#end
#begin
# prog = irxevent
# button = systemoff
# config = Key CurrentWindow
#end
#begin
# prog = irxevent
# button = ???
# config = Key D CurrentWindow
#end
#begin
# prog = irxevent
# button = mute
# config = Key Shift-bar CurrentWindow
#end
#begin
# prog = irxevent
# button = voldown
# config = Key bracketleft CurrentWindow
#end
#begin
# prog = irxevent
# button = volup
# config = Key bracketright CurrentWindow
#end
begin
prog = irxevent
button = play
config = Key P CurrentWindow
end
begin
prog = irxevent
button = pause
config = Key End CurrentWindow
end
#begin
# prog = irxevent
# button = stop
# config = Key Home CurrentWindow
#end
begin
prog = irxevent
button = display
config = Key I CurrentWindow
end
#begin
# prog = irxevent
# button = ent
# config = Key space CurrentWindow
#end
begin
prog = irxevent
button = rew
config = Key Page_Up CurrentWindow
end
begin
prog = irxevent
button = ffwd
config = Key Page_Down CurrentWindow
end
begin
prog = irxevent
button = CH+
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = CH-
config = Key Down CurrentWindow
end
begin
prog = irxevent
button = recall
config = Key Escape CurrentWindow
end
begin
prog = irxevent
button = GUIDE
config = Key M CurrentWindow
end
begin
prog = irxevent
button = up
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = right
config = Key Right CurrentWindow
end
begin
prog = irxevent
button = down
config = Key Down CurrentWindow
end
begin
prog = irxevent
button = left
config = Key Left CurrentWindow
end
begin
prog = irxevent
button = select
config = Key KP_Enter CurrentWindow
end
begin
prog = irxevent
button = ENTER
config = Key KP_Enter CurrentWindow
end
begin
prog = irxevent
button = 0
config = Key 0 CurrentWindow
end
begin
prog = irxevent
button = 1
config = Key 1 CurrentWindow
end
begin
prog = irxevent
button = 2
config = Key 2 CurrentWindow
end
begin
prog = irxevent
button = 3
config = Key 3 CurrentWindow
end
begin
prog = irxevent
button = 4
config = Key 4 CurrentWindow
end
begin
prog = irxevent
button = 5
config = Key 5 CurrentWindow
end
begin
prog = irxevent
button = 6
config = Key 6 CurrentWindow
end
begin
prog = irxevent
button = 7
config = Key 7 CurrentWindow
end
begin
prog = irxevent
button = 8
config = Key 8 CurrentWindow
end
begin
prog = irxevent
button = 9
config = Key 9 CurrentWindow
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040609/dad1c23c/attachment.html
More information about the mythtv-users
mailing list