|
From: Juan J. G. de S. L. <ska...@gm...> - 2009-01-22 15:14:57
|
Hi, Léo, 2009/1/22 Léo <leo...@ya...>: > I did it. The remote is working, but with the keypress doubling problem. And, again, doubling the gap value, solved the keypress doubling problem. Is there some documentation about what means this param in lircd.conf? Is it working with the CVS config file? That's nice. I have to do some more tests at home, but I think I'll end up asking Christoph to change the value in CVS to 400 us. The gap value is the timespan that the remote waits between the end of a key transmission and the beginning of the next one if you leave the key pressed. So if you double the gap, probably you're skipping the each second key transmission, simply because lircd skips the timespan during which the key is actually being transmitted a second time. How are you translating IR keys to linux keys? Are you using the new synthetic input option of the CVS lircd? Or are you configuring key generation through irxevent and a .lircrc configuration file? In the second case, you could adjust the "repeat" parameter in .lircrc, as explained in http://www.lirc.org/html/configure.html#lircrc_format. I guess that if your are in the first case, that is, using the new input support in the CVS version of lircd, there's no support for anything having the same effect as the repeat parameter yet. You should try leaving the gap alone and checking whether irw outputs what's expected: a lot of key lines in a row with an increasing sequence number when you leave the key pressed. Each line is actually one time your remote has sent the code key (or a special repetition code, that seems to be the case with the "repeat line" in the remote lircd.conf file). Best regards, Juan Jesús. -- Dream small if success is enough for you; dream big if you need to change the world. |