aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-02-17 16:42:43 +0900
committertmk <nobody@nowhere>2014-02-17 16:42:43 +0900
commit48d27378f4b1c6c26e42c1abc5f6af5229582c22 (patch)
tree47b706ea726aec6dbc3d3654328ad56349483f59
parent01f02e8457d01266c6ac2a015953f0796ca335c4 (diff)
downloadqmk_firmware-48d27378f4b1c6c26e42c1abc5f6af5229582c22.tar.gz
qmk_firmware-48d27378f4b1c6c26e42c1abc5f6af5229582c22.zip
Fix README.md and ibm4704.txt
-rw-r--r--converter/ibm4704_usb/README.md19
-rw-r--r--converter/ibm4704_usb/ibm4704.txt71
2 files changed, 63 insertions, 27 deletions
diff --git a/converter/ibm4704_usb/README.md b/converter/ibm4704_usb/README.md
index 6541dd6d0..ce9e34ebf 100644
--- a/converter/ibm4704_usb/README.md
+++ b/converter/ibm4704_usb/README.md
@@ -5,8 +5,23 @@ This firmware converts IBM 4704 keyboard protocol to USB HID.
5Keyboard initialization process takes a few seconds at start up. During that you will hear buzzer from the keyboard. **You need to plug USB cable after hooking up your keyboard to the converter.** 5Keyboard initialization process takes a few seconds at start up. During that you will hear buzzer from the keyboard. **You need to plug USB cable after hooking up your keyboard to the converter.**
6 6
7 7
84704 Connector 8Keyboard models
9-------------- 9---------------
10IBM capacitive switch models:
11 6019273 Model 100 50-key (grid layout) http://kishy.dyndns.org/?p=977
12 6019284 Model 200 62-key Alpha(60% layout) http://kishy.dyndns.org/?p=894
13 6019303 Model 300 77-key Expanded Alpha http://kbtalking.cool3c.com/article/23272
14 6020218 Model 400 107-key Full key http://kishy.dyndns.org/?p=980
15
16Alps switch(vintage Green) models:
17 5954339 Japanese 102-key http://deskthority.net/post87127.html#p87127
18 6112883 Japanese 102-key http://geekhack.org/index.php?topic=52888.msg1194489#msg1194489
19 6112884 Japanese 102-key http://geekhack.org/index.php?topic=50437.msg1193047#msg1193047
20 6341739 Chinese 102-key http://geekhack.org/index.php?topic=52888.msg1176566#msg1176566
21
22
23Connector
24---------
10Keyboard Plug from front: 25Keyboard Plug from front:
11 26
12 DSUB-9 27 DSUB-9
diff --git a/converter/ibm4704_usb/ibm4704.txt b/converter/ibm4704_usb/ibm4704.txt
index c17d172af..877d8fdb9 100644
--- a/converter/ibm4704_usb/ibm4704.txt
+++ b/converter/ibm4704_usb/ibm4704.txt
@@ -1,10 +1,16 @@
14704 Keyboard 1IBM 4704 Keyboard
2============= 2=================
3Keyboard Models: 3IBM capacitive switch models:
4 Model 100 6019273 50-key (grid layout) 4 6019273 Model 100 50-key (grid layout) http://kishy.dyndns.org/?p=977
5 Model 200 6019284 62-key Alpha(60% layout) 5 6019284 Model 200 62-key Alpha(60% layout) http://kishy.dyndns.org/?p=894
6 Model 300 6019303 77-key Expanded Alpha 6 6019303 Model 300 77-key Expanded Alpha http://kbtalking.cool3c.com/article/23272
7 Model 400 6020218 107-key Full key 7 6020218 Model 400 107-key Full key http://kishy.dyndns.org/?p=980
8
9Alps switch(vintage Green) models:
10 5954339 Japanese 102-key http://deskthority.net/post87127.html#p87127
11 6112883 Japanese 102-key http://geekhack.org/index.php?topic=52888.msg1194489#msg1194489
12 6112884 Japanese 102-key http://geekhack.org/index.php?topic=50437.msg1193047#msg1193047
13 6341739 Chinese 102-key http://geekhack.org/index.php?topic=52888.msg1176566#msg1176566
8 14
9Resourse 15Resourse
10-------- 16--------
@@ -16,11 +22,19 @@ http://ed-thelen.org/comp-hist/IBM-ProdAnn/4700.pdf
16 22
17 23
18 24
194704 Keyboard Protocol 25IBM 4704 Keyboard Protocol
20====================== 26==========================
21On powering up the keyboard sends keyboard id; A3h for 6019284(62-key), for example. 27On powering up keyboard sends keyboard ID; A3h for 6019284(62-key), for example.
22After that firmware enters FC command mode and waits for parameter data from host 28After that the keyboard enters FC command mode and waits for parameter data from host
23so that it doesn't send any scancode until you send 'FF'(End of FC command). 29so that it doesn't send any scancode until you send 'FF'(End of FC command mode).
30
31 Keyboard ID
32 -------------------------------
33 Model 100 50-key A2h
34 Model 200 62-key A3h
35 Model 300 77-key A4h
36 Model 400 107-key ??
37 Japanese/Chinese 102-key A6h
24 38
25 39
26Connector 40Connector
@@ -113,27 +127,34 @@ NOTE: When break code is enabled the key sends scancode with setting 7th bit on
113and without it on release. That is, '`' sends 80h on press and 00h on release. 127and without it on release. That is, '`' sends 80h on press and 00h on release.
114 128
115 129
116keyboard command 130Keyboard command
117---------------- 131----------------
118 FF Soft Reset(0008h) 132Keyboard accepts these commands from host.
119 FE Resend(00e8h) 133
120 FD Buzzer stop?(00edh) 134 Description Entry point
121 FC Set Key flag(00f6h) 135 -----------------------------------------------------------
122 FB Soft Reset(0008h) 136 FF Soft Reset 0008h
123 FA Reset(0000h) 137 FE Resend 00e8h
138 FD Buzzer(emits a short beep) 00edh
139 FC Set Key Flag 00f6h
140 FB Soft Reset 0008h
141 FA Reset 0000h
124 142
125 143
126Keyboard response 144Keyboard response
127----------------- 145-----------------
128 FF Not exist. [Outgoing buffer cannot have FFh(00h in fact)] 146Keyobard sends these bytes to host.
129 FE Overflow(key event/receive data) at 00c5h, 0346h 147
130 FE Memory test error at 0224h 148 Description Entry point
131 FD Command out of bound at 00d8h 149 -----------------------------------------------------------
150 FE Overflow(key event/receive data) 00c5h, 0346h
151 Memory test error 0224h
152 FD Command out of bound 00d8h
132 Key out of bound 153 Key out of bound
133 7E Read/Parity error in receive from host at 00bch 154 7E Read/Parity error in receive from host 00bch
134 155
135 156
136Set Key flag command(FC) 157Set Key Flag command(FC)
137------------------------ 158------------------------
138After 'Power on Reset' firmware enters this command mode and waits for data from host, 159After 'Power on Reset' firmware enters this command mode and waits for data from host,
139so that you don't need to send 'FC' and it doesn't send any scancode until you send 'FF'. 160so that you don't need to send 'FC' and it doesn't send any scancode until you send 'FF'.