Re: [PATCH] 2.5.17 /dev/ports

Vojtech Pavlik (vojtech@suse.cz)
Wed, 22 May 2002 16:43:12 +0200


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/