geekhack Projects > Making Stuff Together!

TMK IBM PC Keyboard Converter

<< < (49/49)

hasu:
[FIRMWARE UPDATE]

Add support for 'TERM FUNC' key on Siemens F500 in AT protocol

- https://github.com/tmk/tmk_keyboard/pull/760
- https://github.com/tmk/tmk_keyboard/commit/44eb0da1a5b96e0ca109b34fe22e052e4ad8ff33

Mikhail:
Hello Hasu! Found an unnamed AT 84 keyboard https://imgur.com/a/BXD5r4l. In AT mode, it sometimes works, sometimes it doesn’t work with TMK, basically it doesn’t work. In XT mode, it works, but sometimes it turns off for a short time. It seems to work with the sorer as well as in the ps2 port. When I play Genshin, "A" key often sticks - moving to the left.
The keyboard does not have diodes and the chip does not limit pressing two adjacent buttons, so ghosting occurs. Also, the left modifiers are not isolated, and are triggered when two adjacent alphas are pressed. I drew a diagram, everything is there except for the connection to the LED panel. https://drive.google.com/file/d/1JXJWEAXTv-F7CT5aOXfu7hquM_GLZLgD/view?usp=share_link

HID listed in AT mode:


--- Code: ---Device disconnected.
Waiting for new device:...
Listening:

TMK:1c528a/LUFA:d6a7df

USB configured.

Loop start.
I2500 I2500
2501 PRT:10 ISR:EA90 rAA A5501 wFF rFA A5504 wFF R R R R R R R R R R rAA W6213
6213 ERR:11 ISR:8000 wF2 rFA R7217
ID:0000(AT_IBM84) S7217 wED rFA w02 rFA L7223 X7223

r3C rF0 r3C r35 rF0 r35 r2C rF0 r2C r4B rF0 r4B r4B rF0 r4B r4B rF0 r4B r4B rF0 r4B r52 rF0 r52 r54 rF0 r54 r54 rF0 r54 r55 rF0 r55 r55 rF0 rAD !CS2_F0! AD
E59764
[CLR] I59764 A62765 wFF rFA
62768 PRT:10 ISR:FE90 rAA W63000 wF2 rF6 R63505
ID:FFFE(AT_ERROR) S63505 wED rFA w02 rFA L63511 r46 rF0
1618 ERR:01 ISR:2390 E1618
[CLR] I1619 A4620 wFF rFA
4623 PRT:10 ISR:FE90 rAA W4855 wF2 rFA r3E rF0 R5938
Unknown ID: Report to TMK wF0 isr:E400 wF0 rFA w03
ID:3EF0(AT) S5969 wED rFA w02 rFA L5975

r41 rF0 r41 r41 rF0 r41 r83 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41
4492 ERR:01 ISR:9050 E4493
[CLR] I4494
4623 PRT:10 ISR:FC10 rF0 r41
6036 ERR:01 ISR:A050 E6037
[CLR] I6037
6184 PRT:10 ISR:FC10 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 A9038 wFF rFA rAA W9273 wF2 rFA r41 rF0 R9856
Unknown ID: Report to TMK wF0 isr:5000 wF0 isr:8280
ID:41F0(AT) S9858 wED rFA w02 rFA L9864 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41
19389 PRT:22 ISR:82C0 [CHG] E19390
[CLR] I19391 rF0
19525 PRT:10 ISR:FC10 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41 rF0 r41 r41
22001 ERR:01 ISR:F810 E22002
[CLR] I22002
22007 PRT:10 ISR:D050 r41 r41 rF0 r41 r41 rF0 r41 A25004 wFF rFA
25239 ERR:01 ISR:D510 E25240
[CLR] I25240
--- End code ---

hasu:
It seems to fail to detect clock edge or read data for some reason.

Do you have pull-up resistors on signal lines? Without them signals can be degraded in some stituations.
https://github.com/tmk/tmk_keyboard/wiki/FAQ#pull-up-resistor

The keyboard may have unordinary signal timing perhaps, firmware can be improved in that case.

Can you try 'capture' firmware on you converter and post its log? It records how its signal changes.
https://github.com/tmk/tmk_keyboard/tree/signal_capture/converter/ibmpc_usb/binary
https://github.com/tmk/tmk_keyboard/wiki/Signal-Capture-for-debug/#signal-capture-firmware

If you have logic analyzer or o'scope use it to see signals instead of the 'capture' firmware.

Mikhail:
Yea, thank you, it seems pull-up resistors solves all problems!

Mikhail:
Started catching short blackouts


--- Code: --- rF0 r1D r1D rF0 r1D r1D rF0 r1D r23
4912 ERR:01 ISR:F810 E4912
[CLR] I4914
4919 PRT:10 ISR:88D0 r23 r1C r1D rF0 r1C rF0 r1D rF0 r12 A7916 wFF rFA rAA W8151 wF2 rFA R9156
ID:0000(AT_IBM84) S9156 wED rFA w02 rFA L9162 r1D rF0 r1D r23 rF0 r23 r1C rF0 r1C r14 r21 rF0 r21 rF0 r14 r5A rF0 r5A r5A rF0 r5A r1B rF0 r1B r2C r1C rF0 r2C rF0 r1C r2D rF0 r2D r66 rF0 r66 r66 rF0 r66 r66 rF0 r66 r66 rF0 r66 r12 r1B rF0 r1B rF0 r12 r2C rF0 r2C r1C r2D rF0 r1C rF0 r2D r66 rF0 r66 rDA !CS2_INIT!
E20151
[CLR] I20151
20239 PRT:10 ISR:FC10 rF0 r5A r5A rF0 r5A r5A rF0 r5A r5A rF0 r5A r5A rF0 r5A r5A rF0 r5A A23153 wFF rFA rAA W23388 wF2 rFA R24392
ID:0000(AT_IBM84) S24392 wED rFA w02 rFA L24398 r5A rF0 r5A r66 rF0 r66
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version