new keyboard driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I've a basic keyboard driver for a special keyboard hardware based on
2.4 kernel series.
I would like migrate it to the 2.6 kernel driver model, but I've two
ways to do that:

1. To create a tty driver: using something like that
request_irq(KEYBOARD_IRQ, my_keyboard_irq_handler, ...)
in order to submit the keyboard characters (scancodes) into
tty_insert_flip_char(...).

2. To use the new input layer, because the AT keyboard driver it's now
in this layer
(with this scheme i8042 -> serio -> atkbd). I think that is possible to
make a driver from scratch based on atkbd code (like
xtkbd.c, sunkbd.c, ...)

Which one is the best approach?
Any different ideas?

Thanks in advance for any idea!


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux