[mythtv-users] LIRC: 0.5 second lag vs. repeated signals

Brad DerManouelian myth at dermanouelian.com
Wed Feb 20 17:39:07 UTC 2008


On Feb 20, 2008, at 9:01 AM, Dr. C Mythology wrote:

> Hi!
> I'm using a Sony RM-VL600 (universal learning remote) with an MCE  
> USB IR receiver.
> My plan is to use a preprogrammed code from the code database on the  
> remote.
>
> I've gone through loads of codes, and even though they all seem to  
> work, I don't get the result I'm looking for.
>
> I first create a lircd.conf with irrecord and test it with irw. What  
> typically happens is that lirc receives multiple signals when  
> pushing a button once.
> I've tried editing the "gap" field in lircd.conf, incrementing it  
> until the subsequent signals disappears.
> But now I experience an annoying 0.5 second lag every time I push a  
> button.
>
> After trying numerous codes, I'm starting to think that I'll never  
> get rid of the lag.
>
> Is there anything else I can do?
>
> Thanks in advance.

Put your gap back to where it was and use repeat in your lirc config  
like this:

begin
prog = mythtv
button = 8
repeat = 3
config = 8
end

That tells lirc to only accept every 3rd identical key press. Adjust  
this value as necessary.



More information about the mythtv-users mailing list