Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Announcement: work on "dvb-kernel" finished



On Mon, Mar 24, 2003 at 08:15:25AM +0100, Oliver Endriss wrote:

> Holger Waechtler wrote:
> > Oliver Endriss wrote:
> > > There is a problem with the new input driver implementation in
> > > 2.5.x: The keyboard driver listens to all 'EV_KEY' events, i.e.
> > > pressing '5' on the remote control will be recognized by the
> > > keyboard driver... Any idea how this could be solved?
> >
> > that's kind of a design flaw in the keyboard input driver. If you
> > don't use USB keyboards you can safely disable this driver, but on
> > the long run it would be nice if somebody would add a 'send events
> > from this device through the keyboard layer' flag to the input device
> > struct.
> 
> Sure? With 2.4.x kernels it's possible to disable the driver because 
> only USB stuff uses the input driver. With 2.5.x *all* keyboard input 
> is passed through the input driver. No way to disable this if you need 
> a keyboard. :-(

It's not a design flaw in the input core itself, it's a missing feature
of the console system, where you should be able to configure which
input devices are bound to it. At the very moment you'll have to patch
keyboard.c to only accept the keyboards you want.

Also, in the next 2.5 release there will be an EVIOCGRAB ioctl() which
will allow an application to completely grab an input device, making it
unavailable to anyone else, including console.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index