Re: [PATCH] 2.5.17 /dev/ports

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Wed May 22 2002 - 09:43:12 EST


On Wed, May 22, 2002 at 04:00:23PM +0100, Alan Cox wrote:

> > On Wed, May 22, 2002 at 02:52:19PM +0100, Alan Cox wrote:
> >
> > > > /sbin/kbdrate: util-linux
> > >
> > > I'd hope kbrate is using the ioctls nowdays, otherwise it will break on USB
> >
> > Actually, the ioctls won't work on USB, because they try to output data
> > to the traditional i/o ports anyway.
>
> The ioctl goes to the keyboard driver. They keyboard driver either
> implements it, errors it or is buggy. No other path. I seem to be able to
> portably set my keyboard rate on everything but USB 8)

Agreed, current method of interfacing USB keyboards to keyboard.c (as
implemented by keybdev.c) is a bug in itself.

-- 
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:25 EST