tmk
0a1dcacbfd
ibmpc: Fix ACK check in host_send() for Z-150 AT #661
...
Zenith Z-150 AT doesn't seems to place ACK signaling normally.
https://github.com/tmk/tmk_keyboard/issues/661#issue-743168434
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#zenith-z-150-beige
IBM genuine PC host checks data line only, not clock on ACK. In this
case Z-150 AT ACK signaling can be handled.
http://www.halicery.com/Hardware/Intel%208042%20and%208048/8042_PS2_INTERN.TEXT (026C:)
http://halicery.com/8042/8042_1503033.TXT (0274:)
Place 'inhibit' on lines for long enough to cancel current state and
recovery from ERROR but not sure this really helps.
2021-06-03 01:17:48 +09:00
tmk
7e268c8c12
ibmpc: Add adhoc fix for Z-150 AT send
...
This is not confirmed yet, test report is needed.
2020-11-22 21:26:54 +09:00
tmk
12eaedf9cf
ibmpc: Change timeout period: 1.0ms to 2.0ms
...
Timeout error *could*(not always) detects when signal sequence takes beyond 1.0ms.
Now this gives 2.0ms window at least to read signal sequence.
2020-07-05 12:46:47 +09:00
tmk
f80601db96
ibmpc: Add Z-150 AT protocol recognition
...
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#zenith-z-150-beige
2020-05-15 14:32:14 +09:00
tmk
343c32afc6
ibmpc: Fix 'Ack' check of sending data
2020-05-13 23:12:50 +09:00
tmk
54e3c239fc
ibmpc: Fix AT 'request to send' signaling
...
Without this fix Realforce 101 PS/2 fails to receive 'set indicator'
command sometimes when pressing Caps Lock and some keys simultaneously.
before fix:
____ ______
clock \___/
________
data \_______
| 100|
after fix:
____ __
clock \________/
________
data \_______
| 100| 100|
2020-05-13 22:32:14 +09:00
tmk
346169c5ed
ibmpc: Fix ibmpc_host_isr_clear()
2020-05-12 18:51:39 +09:00
tmk
3e801a63e4
ibmpc: Add debug code for isr_state
2020-05-12 18:50:21 +09:00
tmk
77c5017cb2
ibmpc: Fix buffer full check
...
recv_data should appear to as 'sstt' when it is full with two data.
Both upper and lower byte should be checked.
2020-05-12 18:28:07 +09:00
tmk
4028b200be
ibmpc: Fix Timeout error
...
Timeout error may be recoverable but may not in some situations.
For safety it is handled as a real error to start keyboard
recognition again.
2020-05-12 18:21:40 +09:00
tmk
53d10fe247
ibmpc: Update ERR_FF, ERR_FULL handling
2020-05-11 16:13:47 +09:00
tmk
0cf9dfc888
ibmpc: Add ibmpc_isr_debug to see isr_state
2020-05-11 16:12:36 +09:00
tmk
7c3b669e6f
ibmpc: Add handling for erroneous start bit XT(IBM)
...
This is **not perferred** if it is evitable.
It allows to read start(0) as 1 wrongly at cost of 100us wait.
2020-05-11 16:11:39 +09:00
tmk
820d96bdab
core: ibmpc: Check response of set indicator command
2020-05-08 21:48:59 +09:00
tmk
27812520eb
core: ibmpc: Add comments on stop bit of Z-150 AT
2020-05-08 21:46:33 +09:00
tmk
f8685ce694
ibmpc: Fix debug print
2020-03-02 14:11:16 +09:00
tmk
2c9ae5ac95
ibmpc: Protocol detection between AT and XT
2020-03-02 11:04:30 +09:00
tmk
0481aa08e5
ibmpc: Check buffer full and error code FF
2020-03-02 01:48:11 +09:00
tmk
0b1fbeb135
ibmpc: Fix comments
2020-03-02 01:21:04 +09:00
tmk
b7412f6228
ibmpc: Add timeout check
2020-03-02 00:14:09 +09:00
tmk
2f640de68d
ibmpc: Refactor code
2020-02-29 17:29:55 +09:00
tmk
4588ae8dac
ibmpc: Fix debug print and wait time
2020-02-29 17:29:55 +09:00
tmk
9acc900ffb
ibmpc: Add two-byte buffer for data received
2020-02-29 17:29:55 +09:00
tmk
e89ade52e1
ibmpc: Fix stop bit check code in ISR
...
removing function call makes prologue/epilogue shorter
2020-02-29 17:29:55 +09:00
tmk
a42cc4bddb
ibmpc_usb: Fix hard reset code
2020-02-29 17:29:55 +09:00
tmk
c2e8c0d43e
ibmpc: Change ISR code
...
It reads data line within 3us
2020-02-29 17:29:54 +09:00
tmk
15ab461f44
ibmpc: Add ibmpc_host_clear_isr
2020-02-29 17:29:54 +09:00
tmk
b2fb5b715c
ibmpc: Add intruppt disable and enable function
2020-02-29 17:29:54 +09:00
tmk
f7b74361a0
ibmpc: Fix START case in ISR
2020-02-29 17:29:54 +09:00
tmk
3e2900dcc8
ibmpc: Read data line earlier in ISR as possible
2020-02-29 17:29:54 +09:00
tmk
c4b8b36950
core: Add IBM PC Keyboard protocol support
2019-12-04 11:34:05 +09:00