Hello everybody. I have a Pinnacle 72e remote, here is an image: http://oristech.co.uk/images/8230-10022-71.jpg

I want to use to control my Debian lenny software like XBMC and Totem.

I have record all the keys with this command: irrecord -H dev/input -d /dev/input/event10 /tmp/lircd.conf

And this my /etc/lirc/lircd.conf:

###start /etc/lirc/lircd.conf ###

begin remote

name Pinnacle PCTV 72e
bits 16
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x1
gap 251982
toggle_bit_mask 0x80000000

begin codes
Mute 0x0071
Menu 0x008B
Shutdown 0x0074
VolUp 0x0073
VolDown 0x0072
ChannelUp 0x0192
ChannelDown 0x0193
1 0x0002
2 0x0003
3 0x0004
4 0x0005
5 0x0006
6 0x0007
7 0x0008
8 0x0009
9 0x000A
0 0x000B
FullScreen 0x0177
Text 0x0184
Back 0x00A8
Play 0x00CF
Ford 0x00D0
Record 0x00A7
Stop 0x0080
Help 0x00DF
end codes

end remote

### stop /etc/lirc/lircd.conf ###

But I have some problem with the remote, when I push a key it repeat twice, if a push the play key on the remote it makes pause and play in the same time, so I can't pause the movie.

Here is my .lircrc:

### start .lircrc ###

## Totem ##
begin totem
begin
prog = Totem
button = Shutdown
config = quit
end
begin
prog = Totem
button = Play
config = play
end
begin
prog = Totem
button = Play
repeat = 0
config = pause
end
begin
prog = Totem
button = Stop
config = pause
repeat = 0
end
begin
prog = Totem
button = Ford
config = next
repeat = 1
end
begin
prog = Totem
button = Back
config = seek_previous
repeat = 1
end
begin
prog = Totem
button = Ford
config = seek_forward
repeat = 1
end
begin
prog = Totem
button = Back
config = seek_backward
repeat = 1
end
begin
prog = Totem
button = VolUp
config = volume_up
repeat = 1
end
begin
prog = Totem
button = VolDown
config = volume_down
repeat = 1
end
begin
prog = Totem
button = FullScreen
config = fullscreen
repeat = 1
end
end totem

### stop .lircrc ###


I read on forum that I need to change the value of "gap" variable on /etc/lirc/lircd.conf, but I don't understand the significant of this variable, and I take it from the irrecord output 8automatic).

Can someone help with this? Thank you very much.

--
Josu Lazkano