Commit Graph

20 Commits

Author SHA1 Message Date
a176da0ebe kbc: Handle setting typematic rate/delay
Per [1], use a default delay of 500ms and a rate of 10.9 CPS. When the
Linux kernel starts, this will be updated by atkbd to the fastest
settings possible [2]: 250ms delay and 30 CPS.

Modifying these values with kbdrate to test settings will cause two
spurious ACKs in the kernel. This behavior is also present in the
proprietary firmware.

[1]: https://web.archive.org/web/20180217074705/http://computer-engineering.org/ps2keyboard/
[2]: c5f8689118/drivers/input/keyboard/atkbd.c (L863-L868)
2020-02-25 14:21:10 -07:00
0e59958dc0 Increase timeouts 2019-12-30 11:46:21 -07:00
bcd480ec85 Allow system to power off, enable logging, change kbc logging from debug to trace 2019-11-23 20:02:52 -07:00
055cb92844 Allow compilation with lower log level, change level to warn 2019-11-19 12:31:30 -07:00
93e35d2cc5 Add debug levels 2019-11-18 09:22:21 -07:00
7614873b19 Enable PNP devices by default, attempt to send/receive data from touchpad 2019-11-15 16:47:56 -07:00
a1de5983df Improvements for ps2 support 2019-11-10 20:19:23 -07:00
c522f44422 Actually return controller config 2019-11-08 15:40:46 -07:00
1f87adb1fc Add timeout for kbc and pmc writes 2019-11-08 13:40:10 -07:00
4269b25ecf Allow writing to controller output port 2019-11-08 13:27:59 -07:00
81d396c77e Add ps2 controller system bit 2019-11-08 13:27:48 -07:00
05a505ad83 Add key translation 2019-11-08 12:43:28 -07:00
6e9f52efab Enable interrupts on request 2019-11-08 11:28:40 -07:00
bc0233b6ac Enable ps2 interrupts 2019-11-08 10:57:22 -07:00
2c18b3cb54 Send keypresses over ps2 2019-11-08 10:29:29 -07:00
89fb9dca12 Add scancode command 2019-11-07 14:26:04 -07:00
b876b5e39c Fix reset command 2019-11-07 13:59:30 -07:00
053a689276 Move kbc_event to board code 2019-11-07 13:57:33 -07:00
ded5181926 Organize into arch, board, and ec modules 2019-09-29 20:13:03 -06:00
b04352cb63 Reorganize to allow compiling and running AVR firmware 2019-09-29 17:13:31 -06:00