|
From: Léo <leo...@ya...> - 2009-01-21 00:14:02
|
Hi, Juan,
I generated the lircd.conf using irrecord and values are quite different:
This is my file:
name CREATIVE_INFRA_LEO
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 10013 4941
one 646 1839
zero 646 598
ptrail 645
repeat 10048 2446
pre_data_bits 16
pre_data 0x8435
gap 235244
min_repeat 1
toggle_bit 0
Compare with lirc_CVS/remotes/creative/lircd.conf.infracd
name CREATIVE_INFRA
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9051 4625
one 534 1707
zero 534 588
ptrail 490
repeat 9039 2363
pre_data_bits 16
pre_data 0x8435
gap 108434
min_repeat 1
toggle_bit 0
Curiously, irrecord couldn't adjust gap parameter coorectly by itself. But, I noted that each touch in a button made the action twice. So I multiplicated irrecord gap value by 2, fine adjusted it mannually and it worked. With that configuration, the remote is working perfectly, even if I press a button repeatidly (even fast).
By the way, the exact gap value output by irrecord was 119622.
Codes for the keys are exactly identical, don't worry about it.
Thanks
--- Em ter, 20/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: Terça-feira, 20 de Janeiro de 2009, 7:10
> Hi, Léo.
>
>
> 2009/1/19 Léo <leo...@ya...>:
> > that's the point, there isn't provided remote!
> My Acer 5920 came without it. I'm using an (very) old
> Creative CD-Rom Creditcard-sized IR-Controller, which came
> with a CD-rom driver, in 1990's!
>
> [...]
>
> >> How did you get the lircd.conf?
> >
> > I took it from CVS version of
> /remote/creative/lircd.conf.infracd
>
> It could be that my driver is generating bad timings. I had
> to guess
> the unit sample time and I could have guessed it wrongly.
> That is, the
> pulse/space lengths reported by my driver may require
> multiplication
> by a constant to be accurate enough.
>
> Perhaps the problems you have are related to the .conf file
> having
> good timings and my driver having too short or too long
> times.
>
> Could you generate your own lircd.conf by recording the
> remote with my
> driver and send it to me? It will help if the key names are
> the same
> as the ones in the /remote/creative/lircd.conf.infracd, so
> that I can
> find the differences more easily.
>
> If it's indeed a bad guess on my part on the sampling
> frequency, I
> should be able to adjust the driver so that it will work
> better with
> standard lircd.conf files (ones recorded with receivers for
> which
> accurate timing information is known).
>
> Please tell me too if your recorded lircd.conf file works
> better (it
> doesn't miss so many key presses) than the one in CVS.
>
>
> I'll try to find a remote at home that has a matching
> lircd.conf in
> CVS too, so that I can perform the same test here too.
>
>
> Best regards, and thanks in advance,
>
> 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
|