Re: [PATCH] 2.5.17 /dev/ports

From: James Simmons (jsimmons@transvirtual.com)
Date: Wed May 22 2002 - 11:30:48 EST


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

Alan you are thinking to PC here. On embedded devices that run X it is
just extra over head to use the VT interface. It would be much lighter
weigth to use the /dev/input/event interface. Personally I like to see
KBDRATE and alot of other junk go away in the console code. Intead we
just use the input api and /dev/fb with DRI. I have talked to Jim Getty
about this and likes to see things head in this direction.

P.S
   Jim Getty was working on having X windows using the input api :-)
   

   . ---
   |o_o |
   |:_/ | Give Micro$oft the Bird!!!!
  // \ \ Use Linux!!!!
 (| | )
 /'_ _/`\
 ___)=(___/

-
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:26 EST