Re: [PATCH] 2.5.17 /dev/ports

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


On Wed, May 22, 2002 at 03:58:38PM +0100, Alan Cox wrote:

> > > IOCTL is ineed the way to go to implement such functionality...
> >
> > Yes, the EVIOCSREP ioctl will be the one soon (works for USB keyboards
> > now).
>
> The KBDRATE ioctl is already supported by all other keyboard drivers and
> used by XFree86....

Correct. And it'll work on USB as well once the console code is
interfaced to USB better than just by injecting scancodes into
pc_keyb.c.

KBDRATE will work on console, while EVIOCSREP will work if you open the
keyboard as an event device.

-- 
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/