diff options
author | tmk <hasu@tmk-kbd.com> | 2015-05-19 00:40:49 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-05-19 00:40:49 +0900 |
commit | 81137b7a61ef11df023e1f542840a80bfc1ca090 (patch) | |
tree | 92cbbfe97ca83ab5646c8cd48758207cdeceb615 /converter/ibm4704_usb/ibm4704.txt | |
parent | 6014d1014e96a7b484699d4dd8c04292c0233b0e (diff) | |
parent | 80fd3b0b240a8840fbca1cc3cc70e76f5b52b888 (diff) | |
download | firmware-81137b7a61ef11df023e1f542840a80bfc1ca090.tar.gz firmware-81137b7a61ef11df023e1f542840a80bfc1ca090.tar.bz2 firmware-81137b7a61ef11df023e1f542840a80bfc1ca090.zip |
Merge branch 'ibm4704_fix_protocol'
Diffstat (limited to 'converter/ibm4704_usb/ibm4704.txt')
-rw-r--r-- | converter/ibm4704_usb/ibm4704.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/converter/ibm4704_usb/ibm4704.txt b/converter/ibm4704_usb/ibm4704.txt index 9c4895d92..e2d42f08f 100644 --- a/converter/ibm4704_usb/ibm4704.txt +++ b/converter/ibm4704_usb/ibm4704.txt @@ -57,15 +57,15 @@ Keyboard to Host ---------------- Data bits are LSB first and Pairty is odd. Clock has around 60us high and 30us low part. - ____ __ __ __ __ __ __ __ __ __ ________ - Clock \____/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ + ____ __ __ __ __ __ __ __ __ __ _______ + Clock \_____/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ Data ____/ X____X____X____X____X____X____X____X____X____X________ Start 0 1 2 3 4 5 6 7 P Stop Start bit: can be long as 300-350us. Inhibit: Pull Data line down to inhibit keyboard to send. -Timing: Host reads bit while Clock is hi. +Timing: Host reads bit while Clock is hi.(rising edge) Stop bit: Keyboard pulls down Data line to lo after 9th clock. @@ -166,13 +166,14 @@ Data sent from host: | `-----`--- scan code `------------- enable bit(0: enable repeat, 1: enable break) - 00-77 Enable repeat(78-7F: invalid scancode) - 80-F7 Enable break(F8-FF: invalid scancode) + 00-79 Enable repeat + 80-F9 Enable break(FA-FF are used as other commands, see above.) FE Resend(011ah) no need to use FF End(0114h) exits FC command mode. Response from keyboard: FD Out of bound - Invalid scancode + -- OK - No response means that command is accepted. Examples: To enable break code of all keys. |