|
From: Léo <leo...@ya...> - 2009-01-22 20:04:26
|
Hi Juan, > 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. Yes, it is working better with 400 μs. > 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. Understood, but in xmode2 I saw that control send a especial signal when I leave key pressed, but using the remote, nothing happens if I leave the key pressed. irw register only one code output in this situation. All of this is with gap value times 2. If I use the original gap value, double key pessing happens and irw output two codes for each touch in a button. Again, nothing happens if I leave the key pressed. In xmode2 I noted that the code send by my creative remote is longer than any other remote, I could say 2 times longer. xmode2 is lircd.conf indenpendent, is this right? > 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? I don't know. As I said, I'm using .deb lirc package of Kubuntu 8.04 and IRkick. I think that this two programs take care about it. But I can test some other way to configure things, just tell me how. I'm trying to find another remote listed in /remote to test, but I didn't find yet. Attached is an xmode2 output. 3 first lines are 0000000084350cf3 00 MUTE CREATIVE_INFRA 00000000843510ef 00 VOL_UP CREATIVE_INFRA 00000000843514eb 00 VOL_DOWN CREATIVE_INFRA The other are signals from an air conditioner. Only Creative is so long, with remotes tested until now. Thanks --- Em qui, 22/1/09, Juan Jesús García de Soria Lucena <ska...@gm...> escreveu: > De: Juan Jesús García de Soria Lucena <ska...@gm...> > Assunto: Re: CIR chipset Winbond WPC876xL > Para: leo...@ya... > Cc: lir...@li... > Data: Quinta-feira, 22 de Janeiro de 2009, 12:14 > 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. Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com |