6b3f4dc157
This commit separates the low-level keyboard driver from TTY, putting it in a separate driver (PCKBD). The commit also separates management of raw input devices from TTY, and puts it in a separate server (INPUT). All keyboard and mouse input from hardware is sent by drivers to the INPUT server, which either sends it to a process that has opened a raw input device, or otherwise forwards it to TTY for standard processing. Design by Dirk Vogt. Prototype by Uli Kastlunger. Additional changes made to the prototype: - the event communication is now based on USB HID codes; all input drivers have to use USB codes to describe events; - all TTY keymaps have been converted to USB format, with the effect that a single keymap covers all keys; there is no (static) escaped keymap anymore; - further keymap tweaks now allow remapping of literally all keys; - input device renumbering and protocol rewrite; - INPUT server rewrite, with added support for cancel and select; - PCKBD reimplementation, including PC/AT-to-USB translation; - support for manipulating keyboard LEDs has been added; - keyboard and mouse multiplexer devices have been added to INPUT, primarily so that an X server need only open two devices; - a new "libinputdriver" library abstracts away protocol details from input drivers, and should be used by all future input drivers; - both INPUT and PCKBD can be restarted; - TTY is now scheduled by KERNEL, so that it won't be punished for running a lot; without this, simply running "yes" on the console kills the system; - the KIOCBELL IOCTL has been moved to /dev/console; - support for the SCANCODES termios setting has been removed; - obsolete keymap compression has been removed; - the obsolete Olivetti M24 keymap has been removed. Change-Id: I3a672fb8c4fd566734e4b46d3994b4b7fc96d578
58 lines
1,010 B
Text
58 lines
1,010 B
Text
boot
|
|
0 0
|
|
d--755 0 0
|
|
bin d--755 0 0
|
|
#ifdef __i386__
|
|
cdprobe ---755 0 0 cdprobe
|
|
#endif
|
|
sysenv ---755 0 0 sysenv
|
|
#if RAMDISK_SMALL == 1
|
|
fsck.mfs ---755 0 0 fsck.mfs
|
|
#endif
|
|
mount ---755 0 0 mount
|
|
umount ---755 0 0 umount
|
|
grep ---755 0 0 grep
|
|
sh ---755 0 0 sh
|
|
service ---755 0 0 service
|
|
$
|
|
sbin d--755 0 0
|
|
#ifdef __i386__
|
|
floppy ---755 0 0 floppy
|
|
ahci ---755 0 0 ahci
|
|
virtio_blk ---755 0 0 virtio_blk
|
|
at_wini ---755 0 0 at_wini
|
|
pckbd ---755 0 0 pckbd
|
|
#if RAMDISK_SMALL == 1
|
|
ext2 ---755 0 0 ext2
|
|
#endif
|
|
#endif
|
|
#ifdef __arm__
|
|
mmc ---755 0 0 mmc
|
|
#endif
|
|
mfs ---755 0 0 mfs
|
|
procfs ---755 0 0 procfs
|
|
input ---755 0 0 input
|
|
$
|
|
usr d--755 0 0
|
|
bin d--755 0 0
|
|
loadramdisk ---755 0 0 loadramdisk
|
|
$
|
|
sbin d--755 0 0
|
|
#ifdef __i386__
|
|
#if RAMDISK_INC_ACPI == 1
|
|
acpi ---755 0 0 acpi
|
|
#endif
|
|
pci ---755 0 0 pci
|
|
#endif
|
|
$
|
|
$
|
|
proc d--755 0 0
|
|
$
|
|
dev d--755 0 0
|
|
#include "proto.dev"
|
|
$
|
|
#include "proto.common.etc"
|
|
#if RAMDISK_DYNAMIC == 1
|
|
#include "proto.common.dynamic"
|
|
#endif
|
|
$
|