Re: 2.6 input drivers FAQ

Vojtech Pavlik
2004-02-02T12:56:23Z

On Mon, Feb 02, 2004 at 01:44:40PM +0100, Andries.Brouwer@cwi.nl wrote:

> > all reasonable kernels support the ioctls
>
> Just checked. KDKBDREP support was added in 2.4.9. Still a bit recent.

Ok.

> > when you're in X, and root, the ioctls will fail but /dev/port will still work
>
> Yes, I think I'll check that stdin is a console, and otherwise do the /dev/port
> stuff only when a --portio option was given. I try to avoid testing kernel
> version values.

That's even better, yes.

> > EVIOCSKEYCODE
>
> Will look at that.

Thanks.

--
Vojtech Pavlik
SuSE Labs, SuSE CR