[linux-dvb] [patch 0/8] budget_ci: improve IR input handling

David Härdeman david at hardeman.nu
Wed Oct 4 13:08:37 CEST 2006


On Wed, October 4, 2006 12:53, Oliver Endriss said:
> David Härdeman wrote:
>> On Wed, October 4, 2006 10:44, Torgeir Veimo said:
>>> Well I run an application without X while taking input only using the
>>> linux input system, and I'm still having problems with multiple input
>>> when pressing a single key. And I don't have LIRC installed. I've
>>> heard from multiple sources that there are problems with the driver
>>> code that handles the RC5 reception.
>>
>> Oh, I see. Then there is in fact a bug in the av7110 IR handling.
>
> Afaik the av7110 ir driver works correctly.
>
> As I wrote before:
> If an application reads from the keyboard _and_ /dev/input/eventX at
> the same time, it will see all keypresses twice (unless it grabs the
> input device using EVIOCGRAB).

I assumed from "taking input only using the linux input system" that the
application did just that.

One way of testing where the problem lies would be to run "input-event
<num>" where num is the number of the event device corresponding to the ir
remote. Check the output when pressing one key on the remote, if one
keypress (and release) is generated, the driver is working as expected and
something else (e.g. the application) is at fault...

And I'll stop commenting on the av7110 driver now since it's not on my radar.

-- 
David Härdeman




More information about the linux-dvb mailing list