Re: 2.6 input drivers FAQ

From: Vojtech Pavlik
Date: Mon Feb 02 2004 - 07:58:00 EST


On Mon, Feb 02, 2004 at 01:44:40PM +0100, Andries.Brouwer@xxxxxx 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/