tmk firmware for xt keyboards

x64051

27 May 2016, 23:54

There was an attempt to port the tmk firmware for xt keyboards like the original IBM PC XT keyboard.
https://github.com/tmk/tmk_keyboard/issues/309
https://github.com/papodaca/tmk_keyboard

It did not work for me. There were random keypresses(even keys the keyboard does not have) and break codes wont register.

The error was in the file config.h: the interrupt routine would be called if the clock signal was falling, not going high.
So the line 60 in the file tmk_keyboard/tmk/converter/xt_usb/config.h must be modified from

Code: Select all

 (0<<ISC10)); \
to

Code: Select all

 (1<<ISC10)); \
Sorry if this is the wrong place to post stuff like this, but I don't know how to use git or github. :oops:

User avatar
alh84001
v.001

01 Jun 2016, 10:31

Have you contacted papodaca? If not and if you don't mind, I'd like to then make a pull request on Github with this change.

x64051

01 Jun 2016, 16:36

Yes, please do this.

User avatar
inyourgroove

01 Jun 2016, 17:03

This is my repo. I had tried my best to get this working. Didn't really understand what was wrong, guess I should have posted here asking for help. Will test this out soon.

User avatar
inyourgroove

04 Jun 2016, 17:29

This code has been merged upstream into TMK proper: https://github.com/tmk/tmk_keyboard/pull/355

Post Reply

Return to “Keyboards”