All of lore.kernel.org
 help / color / mirror / Atom feed
* Input driver on 2.4.18 kernel
@ 2003-10-10 22:11 DavidHo
  0 siblings, 0 replies; only message in thread
From: DavidHo @ 2003-10-10 22:11 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: linuxconsole-dev


Hi,

     I have been looking into the most suitable way of implementing a
keyboard driver for our custom device.  The hardware is a 5 button keypad
that is hooked up directly to the GPIO lines on the processor.  What
confuses me the most with the 2.4.18 kernel I'm using is there are two ways
of implementing the driver.  The majority of the drivers in drivers/char
are written in the old way but there is also a partial implementation of
the new USB input subsystem that simplifies the driver code a great deal.

     Can anyone tell me if the USB input subsystem on the 2.4.18 is
suitable for a non-USB input device?   Do I need a patch before I can use
this subsystem?  The Dreamcast keyboard driver adapted its code from
usb/usbkbd.c, is this a good starting point for my keypad driver as well?
I really hope I can use the new framework since it will safe me from
writing code for the old framework and then rewriting it later when it's
removed in a future kernel.

Thanks,
David Ho
Nanometrics, Inc


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-10 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10 22:11 Input driver on 2.4.18 kernel DavidHo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.