minix/test
David van Moolenbroek 6b3f4dc157 Input infrastructure, INPUT server, PCKBD driver
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
2014-03-01 09:04:55 +01:00
..
blocktest Add testvnd.sh test script 2014-03-01 09:04:54 +01:00
ds Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
fbdtest Add fbd -- Faulty Block Device driver 2011-12-11 22:45:46 +01:00
ipc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
kernel kernel: move do_padconf and add a test case 2013-08-29 09:23:10 -04:00
safecopy Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
common.c Fix e_f to print the saved errno. 2013-08-23 13:20:42 +02:00
common.h many new tests 2013-04-19 16:21:48 +00:00
magic.h tests cleanup 2013-04-17 22:00:59 +00:00
Makefile Add testvnd.sh test script 2014-03-01 09:04:54 +01:00
mod.c ld.so: be more mmap()-behaviour-independent 2012-06-25 14:13:07 +02:00
run Add testvnd.sh test script 2014-03-01 09:04:54 +01:00
t10a.c retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
t11a.c retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
t11b.c retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
t40a.c tests cleanup 2013-04-17 22:00:59 +00:00
t40b.c tests cleanup 2013-04-17 22:00:59 +00:00
t40c.c VFS: select(2) fixes 2014-03-01 09:04:51 +01:00
t40d.c tests cleanup 2013-04-17 22:00:59 +00:00
t40e.c tests cleanup 2013-04-17 22:00:59 +00:00
t40f.c tests cleanup 2013-04-17 22:00:59 +00:00
t40g.c VFS: select(2) fixes 2014-03-01 09:04:51 +01:00
t60a.c Implement issetugid syscall 2011-11-28 10:03:43 +00:00
t60b.c Implement issetugid syscall 2011-11-28 10:03:43 +00:00
t67a.c test67: test opening files and sockets with O_CLOEXEC 2013-02-28 10:08:54 +00:00
t67b.c test67: test opening files and sockets with O_CLOEXEC 2013-02-28 10:08:54 +00:00
t68a.c test68: test pipe2 functionality 2013-02-28 10:08:54 +00:00
t68b.c test68: test pipe2 functionality 2013-02-28 10:08:54 +00:00
test1.c tests cleanup 2013-04-17 22:00:59 +00:00
test2.c Alignement on netbsd types, part 1 2014-02-18 11:25:01 +01:00
test3.c tests cleanup 2013-04-17 22:00:59 +00:00
test4.c tests cleanup 2013-04-17 22:00:59 +00:00
test5.c tests cleanup 2013-04-17 22:00:59 +00:00
test6.c tests cleanup 2013-04-17 22:00:59 +00:00
test7.c tests cleanup 2013-04-17 22:00:59 +00:00
test8.c tests cleanup 2013-04-17 22:00:59 +00:00
test9.c tests cleanup 2013-04-17 22:00:59 +00:00
test10.c tests cleanup 2013-04-17 22:00:59 +00:00
test11.c tests cleanup 2013-04-17 22:00:59 +00:00
test12.c tests cleanup 2013-04-17 22:00:59 +00:00
test13.c tests cleanup 2013-04-17 22:00:59 +00:00
test14.c tests cleanup 2013-04-17 22:00:59 +00:00
test15.c tests cleanup 2013-04-17 22:00:59 +00:00
test16.c tests cleanup 2013-04-17 22:00:59 +00:00
test17.c tests cleanup 2013-04-17 22:00:59 +00:00
test18.c tests cleanup 2013-04-17 22:00:59 +00:00
test19.c tests cleanup 2013-04-17 22:00:59 +00:00
test20.c tests cleanup 2013-04-17 22:00:59 +00:00
test21.c tests cleanup 2013-04-17 22:00:59 +00:00
test22.c tests cleanup 2013-04-17 22:00:59 +00:00
test23.c tests cleanup 2013-04-17 22:00:59 +00:00
test24.c test24: fix memory leak. 2014-01-13 22:22:25 -05:00
test25.c tests cleanup 2013-04-17 22:00:59 +00:00
test26.c tests cleanup 2013-04-17 22:00:59 +00:00
test27.c tests cleanup 2013-04-17 22:00:59 +00:00
test28.c tests cleanup 2013-04-17 22:00:59 +00:00
test29.c tests cleanup 2013-04-17 22:00:59 +00:00
test30.c tests cleanup 2013-04-17 22:00:59 +00:00
test31.c tests cleanup 2013-04-17 22:00:59 +00:00
test32.c tests cleanup 2013-04-17 22:00:59 +00:00
test33.c tests cleanup 2013-04-17 22:00:59 +00:00
test34.c tests cleanup 2013-04-17 22:00:59 +00:00
test35.c tests cleanup 2013-04-17 22:00:59 +00:00
test36.c tests cleanup 2013-04-17 22:00:59 +00:00
test37.c tests cleanup 2013-04-17 22:00:59 +00:00
test38.c tests cleanup 2013-04-17 22:00:59 +00:00
test39.c tests cleanup 2013-04-17 22:00:59 +00:00
test40.c VFS: select(2) fixes 2014-03-01 09:04:51 +01:00
test41.c tests cleanup 2013-04-17 22:00:59 +00:00
test42.c test42: skip single step test 2013-06-25 13:51:24 +02:00
test43.c tests cleanup 2013-04-17 22:00:59 +00:00
test44.c tests cleanup 2013-04-17 22:00:59 +00:00
test45.c tests cleanup 2013-04-17 22:00:59 +00:00
test45.h tests cleanup 2013-04-17 22:00:59 +00:00
test46.c tests cleanup 2013-04-17 22:00:59 +00:00
test47.c tests cleanup 2013-04-17 22:00:59 +00:00
test48.c tests cleanup 2013-04-17 22:00:59 +00:00
test49.c tests cleanup 2013-04-17 22:00:59 +00:00
test50.c tests cleanup 2013-04-17 22:00:59 +00:00
test51.c tests cleanup 2013-04-17 22:00:59 +00:00
test52.c tests cleanup 2013-04-17 22:00:59 +00:00
test53.c Replaced add64, add64u and add64ul with operators. 2013-11-13 13:11:33 +00:00
test54.c arm:fix for test54 and test55 2013-09-27 15:15:37 +02:00
test55.c test55: add tests for getvfsstat(2) 2014-02-18 11:25:02 +01:00
test56.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
test57.c tests cleanup 2013-04-17 22:00:59 +00:00
test57loop.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
test58.c tests cleanup 2013-04-17 22:00:59 +00:00
test59.c tests cleanup 2013-04-17 22:00:59 +00:00
test60.c tests cleanup 2013-04-17 22:00:59 +00:00
test61.c tests cleanup 2013-04-17 22:00:59 +00:00
test62.c tests cleanup 2013-04-17 22:00:59 +00:00
test63.c tests cleanup 2013-04-17 22:00:59 +00:00
test64.c tests cleanup 2013-04-17 22:00:59 +00:00
test65.c tests cleanup 2013-04-17 22:00:59 +00:00
test66.c tests cleanup 2013-04-17 22:00:59 +00:00
test66expected.h test66: float smoke test, floating point fixes (arm) 2013-02-20 12:29:37 +00:00
test67.c tests cleanup 2013-04-17 22:00:59 +00:00
test68.c tests cleanup 2013-04-17 22:00:59 +00:00
test69.c tests cleanup 2013-04-17 22:00:59 +00:00
test70.c test70: reduce ITERATIONS 2013-09-16 15:33:44 +00:00
test71.c vm: mmap support 2013-05-31 15:42:01 +00:00
test72.c VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
test73.c many new tests 2013-04-19 16:21:48 +00:00
test74.c VM bugfix & regression test 2014-01-09 18:28:11 +01:00
test75.c test75: fix child run time check bug 2013-10-14 13:20:44 +02:00
test76.c tests: add test76 for interrupting VFS operations 2014-02-18 11:25:03 +01:00
test77.c tests: add test77 for opening/closing PTYs 2014-02-18 11:25:03 +01:00
testcache.c vm: mmap support 2013-05-31 15:42:01 +00:00
testcache.h vm: mmap support 2013-05-31 15:42:01 +00:00
testinterp.sh vfs,avfs: verify an interpreter was found on #! line 2011-12-21 23:44:13 +01:00
testisofs.sh run: allow scripts to be run as root 2013-11-28 13:31:37 +00:00
testmfs.sh testmfs, testisofs: MFS format, ISO functionality 2013-11-21 10:17:43 +00:00
testsh1.sh Importing usr.bin/wc 2013-08-25 18:51:35 +02:00
testsh2.sh run: allow scripts to be run as root 2013-11-28 13:31:37 +00:00
testvm.c VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
testvm.conf VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
testvm.h many new tests 2013-04-19 16:21:48 +00:00
testvnd.sh Add testvnd.sh test script 2014-03-01 09:04:54 +01:00
tvnd.c Add testvnd.sh test script 2014-03-01 09:04:54 +01:00