Author Topic: [TMK] Keyboard Protocol Converter  (Read 204330 times)

0 Members and 1 Guest are viewing this topic.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
[TMK] Keyboard Protocol Converter
« on: Tue, 19 May 2015, 22:39:12 »
TMK converters translate various old keyboard protocol into USB so that you can use your old keyobard with modern computer.

Feel free to post any questions and suggestions in this thread

All converters are regularly in stock as of 2021-11-09.


Converters
ConverterSupported keyboardConnectorPrice(USD)Description





IBMPC[AT/XT]AT, XT, PS/2*DIN-5(180°)$36Use adapter for PS/2 keyboard and mouse
IBMPC[Terminal]AT with CodeSet3DIN-6 / DIN-5(240°)$36Suits for IBM Terminal Keyboard Model F(and M?)
IBMPC[PS/2]PS/2, AT*, XT*Mini-DIN-6$34Use adapter for AT and XT.(XT reset line is not supported) Use Y-splitter cable for secondary interface(dual device) support.
ADBADB(Apple)Mini-DIN-4$34Mouse is also supported.
NeXTNeXTMini-DIN-5$34
X68KSharp X68000Mini-DIN-7$34
PC98NEC PC9800Mini-DIN-8$34
SUNSUNMini-DIN-8$34Suits for Type-4 and Type-5 keyboards.
M0110M0110,M0110A, M0120(Apple)Modular 4P4C$47Shipped with 4P4C phone handset cable like this. Original Apple keyboard cable cannot be used.
IBM4704IBM4704DE-9(DB-9)$44Connector with Inch-pitch threaded studs
NEWSNEWS(Sony)DE-9(DB-9)$44Connector with Metric-pitch threaded studs
USB-USBUSB HID BootUSB Type-A$63Check this also to place an order.



Converters with DIN and Mini-DIN connector look like this and have USB Micro-B receptacle on PC side.



For USB-USB Converter see this thread.





How to order
Please check this notes on shipping under COVID-2019 pandemic before ordering. 2020-04-02

Email me to let me know which converter you want and your country. I'll send you Paypal invoice soon.

My email is: hasu@tmk-kbd.com


Shipping
World wide airmail: $8USD
This is shipped via registered airmail from Tokyo, Japan and takes usually 7-20 days for most countries.
Please check this notes on shipping under COVID-2019 pandemic before ordering. 2020-04-02


Payment
Paypal Invoice will be sent to your email. You'll be able to make a payment with credit card on Palpal even if you don't have Paypal account.


Lead Time
The converters will be shipped usually in several working days and you will receive email with tracking number from Japan Post. Check junk mail folder of your email used for the payment first if you can't find the email from Japan Post. Email me if you don't get tracking number within 10 working days after payment.




Online Keymap Editor
You can edit keymap on TMK Keymap Editor with web browser. Google Chrome is recommended web browser for this.

http://www.tmk-kbd.com/tmk_keyboard/editor/

Availability
IBMPC: ○
ADB: ○
NeXT: ○
X68K: ○
PC98: ×
SUN: ○
M0110: ○
IBM4704: ○
NEWS: ×
USB-USB: ○




How to flash firmware
To turn into flash mode press tiny button on converter PCB.
You will have to select microcontroller in flash tool like Atmel FLIP or dfu-programmer.

See this for detail: https://github.com/tmk/tmk_keyboard/wiki#flash-firmware

Microcontroller
USB-USB and IBMPC: ATMega32u4
Other converters: ATMega32u2



TMK firwmare
Converter firmware source codes are available here.

https://github.com/tmk/tmk_keyboard/converter




Support & FAQ
https://github.com/tmk/tmk_keyboard/wiki



Updates
2015/05/26 Ordered MAX3421e chips for USB-USB
2015/07/13 Updated M0110 keymap editor(for Rev.1)
2015/07/15 [USB to USB] Added locking key indicator support and fix for rollover error
2015/11/02 [USB to USB] restocked
2016/01/13 Added keymapeditor for USB to USB Converter
2016/03/18 [IBM4704] Converter for internal connection is available
2016/04/11 Revised prices(USB-USB: 50->55, M0110/IBM4704: 40-> 42, MiniDIN: 30->32)
2016/05/07 new IBM 4704 external converter
2016/08/16 Revised price of M0110 converter 42->45
2016/09/17 Keymap editor is available for USB-USB, ADB, PS/2, M0110 and NeXT now
2016/09/30 Keymap editor is available for IBM4704 now
2017/05/08 Keymap editor is available for X68000 now
2017/06/06 Added note for shipping to Canada
2018/01/19 Fix lag problem on ADB-USB converter
2018/04/27 Added keymap editor support for IBM4704 50-key.
2018/07/06 Updated firmware of USB-USB converter to fix startup issue
2018/09/08 Shipping to Canada is no problem now. Removed caveat.
2020-04-22 New IBMPC convererter firmware is available for PS/2 and Terminal converter.
2020-04-22 Keymap Editor is available for SUN converer now.
2021-03-29 Revised shipping rate
2021-04-15 Reorganized content of first page




Old descriptions:
More

Converters

Mini-DIN type Converters
These coverters are equivalent in terms of hardware except for Mini-DIN connector.

Its dimension is around 27mm * 41mm and height is 18mm including Mini-DIN connector.




ADB Converter(4pin)
For Apple ADB keyboards.
https://geekhack.org/index.php?topic=14290.0

TMK keymap editor is available.
for ADB Converter

Mini-DIN 4P connector for ADB




NeXT Converter(5pin)
https://github.com/tmk/tmk_keyboard/tree/master/converter/next_usb

TMK keymap editor is available.
for NeXT Converter

Mini-DIN 5P connector for NeXT




PS/2 Converter(6pin)
https://geekhack.org/index.php?topic=14618.0

TMK keymap editor is available.
for PS/2 Converter

Mini-DIN 6P connector for PS/2



Now new ibmpc_usb converter firmware is also available for PS/2 Converter. 2020-04-22

http://www.tmk-kbd.com/tmk_keyboard/editor/#ibmpc_usb
https://geekhack.org/index.php?topic=103648.0



Sharp X68000(X68K) Converter(7pin)
https://geekhack.org/index.php?topic=29060.0

TMK keymap editor is available.
for X68000(X68K) Converter

Mini-DIN 7P connector for X68K




SUN Converter(8pin)
SUN Type-4 and Type-5 keyboard would be supported.

https://geekhack.org/index.php?topic=105671.0
https://github.com/tmk/tmk_keyboard/tree/master/converter/sun_usb

Mini-DIN 8P connector for SUN


Keymap Editor is now available. 2020-04-22

http://www.tmk-kbd.com/tmk_keyboard/editor/#sun_usb



NEC PC9800(PC98) Converter(8pin)
https://github.com/tmk/tmk_keyboard/tree/master/converter/pc98_usb

Mini-DIN 8P connector for PC98




IBM Terminal Converter(pin6)
IBMPC/AT Code Set 3 converter
https://geekhack.org/index.php?topic=27272.0

Now new ibmpc_usb converter firmware is also available for the converter. 2020-04-22

http://www.tmk-kbd.com/tmk_keyboard/editor/#ibmpc_usb
https://geekhack.org/index.php?topic=103648.0




Apple Macintosh M0110 Converter
This supports Macintosh 128K/512K keyboard(M0110), keypad(M0120) and Mac Plus keyboard(M0110A).

https://geekhack.org/index.php?topic=24965.0

The converter looks like the pic and includes detachable coiled 4P4C cable. The cable supplied with the converter, it is a 4P4C telephone handset calble which differs from original Apple keyboard cable. Note that you *cannot* use Apple keyboard cable with this converter, it may damage your keyboard with reverse polarity power lines. Please refer to this for detail. https://en.wikipedia.org/wiki/Modular_connector#4P4C

Dimensions of the converter is around 27mm*59mm*16mm excluding cable.


4P4C plug and socket for M0110 Converter



TMK keymap editor is available.
New editor(recommended):
for M0110(Mac 128K/512K)
for M0110A(Mac Plus)


You can hook up M0110 and M0120 to the converter at same time. Note that you have to use original Apple keyobard cable to connect between the two keyboards.
More





IBM4704 Converter
https://geekhack.org/index.php?topic=54706.0

Converter for all of IBM4704 variants(50, 62, 77, 107-key) as well as 102-key Alps switch models(Pingmaster).
IBM capacitive switch model P/N: 6019273, 6019284, 6019303, 6020218
Alps switch model P/N: 5954339, 6112883, 6112884, 6341739, 6113442

Its dimension is around 32mm*64mm*18mm.



TMK keymap editor is available.
for IBM Capacitive switch 62/77/107-key 50-key(new!)
for Alps switch 102-key



Sony NEWS converter
https://geekhack.org/index.php?topic=25759.0

More


TMK keymap editor is not available yet.



Design Files
Converter PCB design files are available, you can make it yourself.

Converter PCB for Min-DIN type
https://github.com/tmk/keyboard_converter

Converter PCB for USB to USB
https://github.com/tmk/USB2USB_Converter


Old Converters
Not available anymore, but TMK firmware still supports these converters.
If you are one of these and have trouble with them contact me, I can help you.

Rev.1 Converter




« Last Edit: Mon, 08 November 2021, 17:03:35 by hasu »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #1 on: Tue, 26 May 2015, 21:48:58 »
USB-USB converter
I ordered five MAX3421e chips at an Aliexpress shop for USB-USB converter, it will take several weeks to come up to me.
After got those chips I'll assemble the converters and decide its price.

Thanks.

Offline SpAmRaY

  • NOT a Moderator
  • * Certified Spammer
  • Posts: 14668
  • Location: ¯\(°_o)/¯
  • because reasons.......
Re: [TMK] Keyboard Converter
« Reply #2 on: Tue, 26 May 2015, 21:54:27 »
Can we reserve a spot for the USB-USB converter?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #3 on: Tue, 26 May 2015, 22:01:44 »
Can we reserve a spot for the USB-USB converter?

Yes, just post here or PM me.

I have to decide the price later due to final cost calc, but you can cancel it if you don't like the final price.
The price will be around 40-50USD, probably.

Offline Muffin860

  • Posts: 58
Re: [TMK] Keyboard Converter
« Reply #4 on: Wed, 27 May 2015, 06:28:13 »
Can we reserve a spot for the USB-USB converter?

Yes, just post here or PM me.

I have to decide the price later due to final cost calc, but you can cancel it if you don't like the final price.
The price will be around 40-50USD, probably.
I have a leopold keypad that doesn't send true numpad scan codes, I'm thinking I could theoretically fix that with your converter yes?
IBM Model M

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #5 on: Wed, 27 May 2015, 07:23:47 »
Yes I think so.
If it is a normal keyboard without fancy functions like NKRO it works with this converter.

Offline Muffin860

  • Posts: 58
Re: [TMK] Keyboard Converter
« Reply #6 on: Wed, 27 May 2015, 08:08:49 »
Sign me up for one.
IBM Model M

Offline gosinger

  • Posts: 8
  • Location: Austria
Re: [TMK] Keyboard Converter
« Reply #7 on: Wed, 27 May 2015, 14:31:06 »
Also sign me up for one USB-to-USB please, already pm'ed you previously about those :)

Keep up the great work  :thumb:
Bolt-modded 1391403 | Ducky Shine 3 slim (MX-blue)

Offline Muffin860

  • Posts: 58
Re: [TMK] Keyboard Converter
« Reply #8 on: Fri, 29 May 2015, 15:45:56 »
Sign me up for one.
I ended up just wanting to do an internal solutuon, so I am buying a teensy. Thanks anyway!
IBM Model M

Offline pkircher

  • Posts: 124
  • Location: UK
Re: [TMK] Keyboard Converter
« Reply #9 on: Wed, 03 June 2015, 13:04:13 »
id love to get my hands on one .. .. that should get the kinesis advantage to a new level .. pm me with a price and an aprox turnaround time

thanks

Offline heedpantsnow

  • * Esteemed Elder
  • Posts: 3692
  • Location: Orlando, FL
  • Old enough to know better
Re: [TMK] Keyboard Converter
« Reply #10 on: Wed, 03 June 2015, 15:12:47 »
I want some sort of PS2 to USB for my original Dolch board. I'd like to make it small and internal.
I'm back.

Espresso machine overhaul: https://geekhack.org/index.php?topic=78261.0

Carbon Fiber keyboard base: https://geekhack.org/index.php?topic=54825

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #11 on: Wed, 03 June 2015, 18:56:34 »
I think USB-USB controller will cost around $50 and $8 for shipping, not final price though.
I ordered USB host chips from China but not receive them yet, it will take more a week or two. After getting the chips my production process will take a week.

BTW, Kinesis has another viable option to think about, this controller replaces Kinesis original MCU and allows to upload custom firmware.
https://geekhack.org/index.php?topic=37991.0
https://github.com/chrisandreae/keyboard-firmware


id love to get my hands on one .. .. that should get the kinesis advantage to a new level .. pm me with a price and an aprox turnaround time

thanks

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #12 on: Wed, 03 June 2015, 19:23:13 »
I think Teensy 2.0 or Pro micro is also small enough to accommodate it inside of the keyboard. And way cheaper than my converter, unfortunately :p

If you still want my converter for some reason I'm happy to sell my converter definitely. I can assemble the converter without USB or/and PS/2 connector if it is useful when you install it inside the case. It costs $25 + $7 for shipping.

I want some sort of PS2 to USB for my original Dolch board. I'd like to make it small and internal.


Offline Leimi

  • Posts: 21
Re: [TMK] Keyboard Converter
« Reply #13 on: Wed, 17 June 2015, 18:10:22 »
Yes I think so.
If it is a normal keyboard without fancy functions like NKRO it works with this converter.

Do you think it would work with a Poker II? I don't really know what a keyboard "with fancy functions" means :D Would there be a way to check this somehow?
The Poker II is not PS/2 compatible so I can't use your USB<>PS/2 converter on it... but it would be perfect if your new USB<>USB converter worked!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #14 on: Wed, 17 June 2015, 20:18:17 »
Poker II uses NKRO mode I don't think USB to USB conveter works with it at this moment.
But I believe firmware can force it to work in 6KRO mode with future update.

What I meant by "fancy functions" are NKRO, media control keys and system control keys. The converter doesn't recognize those keys.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #15 on: Sat, 20 June 2015, 19:59:42 »
Some USB to USB converter are available now. Price is 50USD per converter and 7USD for shipping.

Check its limitations and TODO in first post of this thread. And feel free to ask anything if you are interested.
https://geekhack.org/index.php?topic=69169.0

Offline Leimi

  • Posts: 21
Re: [TMK] Keyboard Converter
« Reply #16 on: Mon, 22 June 2015, 06:42:23 »
Poker II uses NKRO mode I don't think USB to USB conveter works with it at this moment.
But I believe firmware can force it to work in 6KRO mode with future update.

What I meant by "fancy functions" are NKRO, media control keys and system control keys. The converter doesn't recognize those keys.

Thanks :) I guess I'll wait… for now!

Offline wakko

  • Posts: 96
  • Location: Austin, TX
Re: [TMK] Keyboard Converter
« Reply #17 on: Tue, 23 June 2015, 20:30:41 »
Interested in a usb-usb converter. Primarily interested in using it with RF87 on OSX. There's an issue with he keyboard where if I wake the computer from the keyboard, keyboard doesn't register after that. Any chance someone tried it with an RF?
NOOB
KUL ES-87

Offline argcargv

  • tempting the banhammer
  • Posts: 190
  • Location: michigan
Re: [TMK] Keyboard Converter
« Reply #18 on: Tue, 14 July 2015, 00:04:20 »
Hi Hasu, I would like to buy 3 USB to USB converters  :thumb:

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #19 on: Tue, 14 July 2015, 00:31:49 »
Wow three, thanks!
Can you tell what keyboards are you going to use with the converters?

I'll PM.

Offline kruton

  • Posts: 1
Re: [TMK] Keyboard Converter
« Reply #20 on: Wed, 15 July 2015, 11:38:04 »
I'd like to buy one PS/2-to-USB and one USB-to-USB converter.  :D

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #21 on: Wed, 15 July 2015, 20:33:36 »
Thanks, I'll PM(Personal Messages) you once they are ready!
I'll do soldering job this weekend.

I'd like to buy one PS/2-to-USB and one USB-to-USB converter.  :D

Offline yomammary

  • Posts: 525
  • Location: Québec
Re: [TMK] Keyboard Converter
« Reply #22 on: Thu, 16 July 2015, 07:17:54 »
How much would be a PS2 to USB converter? I might be blind but I can't find the information.
RF 87u 55g | Leeku 1800

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #23 on: Thu, 16 July 2015, 08:34:13 »
PS/2 converter(Mini-DIN) costs $30.

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Posts: 7359
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • I love Elzy
Re: [TMK] Keyboard Converter
« Reply #24 on: Sun, 19 July 2015, 17:57:15 »
Hasu put me down for a USB to USB converter. Thanks!
(Forever) Illustrious.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #25 on: Mon, 20 July 2015, 02:11:18 »
Sifo, PM'd!

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Posts: 7359
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • I love Elzy
Re: [TMK] Keyboard Converter
« Reply #26 on: Wed, 29 July 2015, 23:30:26 »
Did you guys know hasu is really helpful and does amazing work on his awesome firmware?

^^
(Forever) Illustrious.

Offline acevery

  • Posts: 18
Re: [TMK] Keyboard Converter
« Reply #27 on: Fri, 31 July 2015, 10:01:15 »
Did you guys know hasu is really helpful and does amazing work on his awesome firmware?

^^

He does a great job!

Offline U47

  • Posts: 94
  • Location: YEG
Re: [TMK] Keyboard Converter
« Reply #28 on: Sun, 09 August 2015, 02:56:00 »
Hi Hasu,

I've finally assembled a Keyboard Converter (I purchased a few blank PCBs from you). How do I go about flashing it and getting it up and running? Obviously, it does nothing yet right after being assembled :)

Thanks,
U47.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #29 on: Sun, 09 August 2015, 03:39:42 »
I can't explain everything in detail here. You have to read TMK documentations first and the docs won't be enough, you can use google to get further detail.
https://github.com/tmk/tmk_keyboard/blob/master/doc/build.md
https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md
and read converter's README of course.

And optionally also check Wiki.
https://github.com/tmk/tmk_keyboard/wiki

It may take long unless you have experience with AVR, but take time to learn if needed.

EDIT: Also check the first post of this thread.
https://geekhack.org/index.php?topic=41989.0
« Last Edit: Sun, 09 August 2015, 03:43:55 by hasu »

Offline U47

  • Posts: 94
  • Location: YEG
Re: [TMK] Keyboard Converter
« Reply #30 on: Mon, 10 August 2015, 00:51:32 »
Thanks, Hasu. I think I figured out what my issue was. (As you mentioned, those Xtals are indeed tricky to install.)

My NeXT keyboard is alive! My board (Part no. 192.00) has the ANSI layout, where the layout in TMK is ISO. I'm noticing a few weird things (keypad layout is different, "Alternate" key doesn't register at all) so I'm going to break out the debugger and see how things are different. It's likely I'll have a push request for you.

One side question: I read the schematic and I thought I installed my LED with the correct polarity, however nothing is lighting up. Should the LED light up on boot or does it only light up for certain events?

Thanks,
U47.


I can't explain everything in detail here. You have to read TMK documentations first and the docs won't be enough, you can use google to get further detail.
https://github.com/tmk/tmk_keyboard/blob/master/doc/build.md
https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md
and read converter's README of course.

And optionally also check Wiki.
https://github.com/tmk/tmk_keyboard/wiki

It may take long unless you have experience with AVR, but take time to learn if needed.

EDIT: Also check the first post of this thread.
https://geekhack.org/index.php?topic=41989.0

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #31 on: Tue, 11 August 2015, 20:02:44 »
Thanks, Hasu. I think I figured out what my issue was. (As you mentioned, those Xtals are indeed tricky to install.)

My NeXT keyboard is alive! My board (Part no. 192.00) has the ANSI layout, where the layout in TMK is ISO. I'm noticing a few weird things (keypad layout is different, "Alternate" key doesn't register at all) so I'm going to break out the debugger and see how things are different. It's likely I'll have a push request for you.
great!


Quote
One side question: I read the schematic and I thought I installed my LED with the correct polarity, however nothing is lighting up. Should the LED light up on boot or does it only light up for certain events?
Some use it as CapsLock indicator or debug, others don't use at all.
Next converter doesn't use so you can use it for anything you want.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #32 on: Fri, 11 September 2015, 03:47:46 »
Two USB to USB converts are in stock now.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #33 on: Tue, 03 November 2015, 13:51:45 »
Some USB-USB converters are available again now.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #34 on: Wed, 13 January 2016, 00:55:05 »
USB to USB converter supports TMK keymap editor now!



Try it here.
http://www.tmk-kbd.com/tmk_keyboard/editor/usb_usb/

And Space Fn keymap, for example.
http://bit.ly/1OqgvMn

Offline tonyooooo

  • Posts: 1
Re: [TMK] Keyboard Converter
« Reply #35 on: Fri, 29 January 2016, 16:55:59 »
Hi, the usb to usb converter seems great. How much would it cost to send one in Europe (French) ?

Offline nubbinator

  • Dabbler Supreme
  • * Maker
  • Posts: 8658
  • Location: Orange County, CA
  • Model M "connoisseur"
Re: [TMK] Keyboard Converter
« Reply #36 on: Fri, 29 January 2016, 16:57:56 »
Do you have any plans at any point to do a Bluetooth version like you did for the HHKB?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #37 on: Fri, 29 January 2016, 18:42:48 »
Hi, the usb to usb converter seems great. How much would it cost to send one in Europe (French) ?


Same rate for all surface of the globe.
Quote
Shipping and Paypal fee: $8USD (add $3 per extra converter)

Thanks

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #38 on: Fri, 29 January 2016, 18:56:58 »
Do you have any plans at any point to do a Bluetooth version like you did for the HHKB?

I've had a plan kind of that, you can connect both keyboard and Bluetooth dongle to the converter via USB hub at same time in theory, and you can give it power supply and Lipo charger(from sparkfun or adafruit? or just use power bank in the market) to make them wireless.
USB Host Shield libaray already supports Bluetooth dongle and HID luckily. My concern is MCU flash size, TMK has bloated its size now I'm not sure the code fits in 32KB.
https://github.com/felis/USB_Host_Shield_2.0#bthid-library

I don't a plan to design new hardware but USB-BT conversion is possible with this USB-USB converter + BT dongle + USB hub + power bank, I think. Too big and clumsy? :D

Offline Vimto

  • Posts: 152
  • Location: Hong Kong
Re: [TMK] Keyboard Converter
« Reply #39 on: Fri, 29 January 2016, 22:36:38 »
Would the USB converter make my Realforce programmable?
          
HHKB Pro 2    HHKB Pro 2   Realforce 87U       WhiteFox        Keyboardio
   BT Hasu                              55g 10th      The True Fox        Model 01
  Controller                        Anniversary Ed.     On Order         On Order

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #40 on: Sat, 30 January 2016, 00:57:33 »
Would the USB converter make my Realforce programmable?

yes, you can change keymap.

Offline nubbinator

  • Dabbler Supreme
  • * Maker
  • Posts: 8658
  • Location: Orange County, CA
  • Model M "connoisseur"
Re: [TMK] Keyboard Converter
« Reply #41 on: Sat, 30 January 2016, 02:27:53 »
Do you have any plans at any point to do a Bluetooth version like you did for the HHKB?

I've had a plan kind of that, you can connect both keyboard and Bluetooth dongle to the converter via USB hub at same time in theory, and you can give it power supply and Lipo charger(from sparkfun or adafruit? or just use power bank in the market) to make them wireless.
USB Host Shield libaray already supports Bluetooth dongle and HID luckily. My concern is MCU flash size, TMK has bloated its size now I'm not sure the code fits in 32KB.
https://github.com/felis/USB_Host_Shield_2.0#bthid-library

I don't a plan to design new hardware but USB-BT conversion is possible with this USB-USB converter + BT dongle + USB hub + power bank, I think. Too big and clumsy? :D

That would be awesome to have one that was less clunky.  So far, the only things I've seen are this USB2BT and what you have.

If I wanted, I could use your USB to USB with a Bluetooth dongle, battery, and hub on any 60% board?  Or does it only have to be with specific boards?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #42 on: Sat, 30 January 2016, 04:23:07 »
Yes, you could do with existent TMK USB-USB converter, no specific hardware is needed for this, just firmware development is required.

If keyboard has hub like HHKB Pro2 you can plug dongle in it, it would look like this.

Offline nubbinator

  • Dabbler Supreme
  • * Maker
  • Posts: 8658
  • Location: Orange County, CA
  • Model M "connoisseur"
Re: [TMK] Keyboard Converter
« Reply #43 on: Sat, 30 January 2016, 11:56:52 »
The firmware development would be for the bluetooth, correct, not the keymap, correct?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #44 on: Sat, 30 January 2016, 18:43:54 »
Yes,
the library seems to support only bluetooth HID host role, but we need device role and will have to make it.

Offline gcardinal

  • Posts: 7
Re: [TMK] Keyboard Converter
« Reply #45 on: Sun, 06 March 2016, 03:13:07 »
What an awesome project! I got my self Tandberg TDV-5000 with following connector:


Is it possible to use it directly with Mini-DIN type Converter ?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #46 on: Sun, 06 March 2016, 05:16:35 »
What an awesome project! I got my self Tandberg TDV-5000 with following connector:
(Attachment Link)

Is it possible to use it directly with Mini-DIN type Converter ?
No, you can't use it directly because that pinout is not PS/2.

Offline gcardinal

  • Posts: 7
Re: [TMK] Keyboard Converter
« Reply #47 on: Sun, 06 March 2016, 05:21:29 »
What an awesome project! I got my self Tandberg TDV-5000 with following connector:
(Attachment Link)

Is it possible to use it directly with Mini-DIN type Converter ?
No, you can't use it directly because that pinout is not PS/2.

Okay, thank you for answer. How about PCB rev2.1 - can it be used for this pinout?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #48 on: Sun, 06 March 2016, 05:51:53 »
Assuming pinout diagram above displays female connector(socket), any of pin configuration jumpers on the PCB can not give GND connection to pin5 in the diagram unfortunately.

My converter PCB's pin configuration jumpers looks like pics below. In case of Mini DIN6P connector DIN1, DIN2, DIN3, DIN5, DIN6 and DIN8 are wired to each connector pins. Pin5(DIN6) has no jumper for GND connection as you can see. Other pins can be connected with jumpers(for Next) somehow.



Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #49 on: Wed, 23 March 2016, 13:20:11 »
I'm on the road and away from home unexpectedly, shipping for some of orders will be delayed until Monday. And I cannot check and reply to inquiry mails until then.
Thank you for your patience.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #50 on: Mon, 11 April 2016, 09:01:27 »
Revised converter prices(USB-USB: 50->55, M0110/IBM4704: 40-> 42, MiniDIN: 30->32) due to recent USD/JPY rate change and cost of components.

And a few of USB-USB converters are available now.

Offline Mr. Perfect

  • Posts: 379
  • Location: United States
Re: [TMK] Keyboard Converter
« Reply #51 on: Thu, 14 April 2016, 12:56:53 »
How does the Mini-DIN converter work? Does one converter accept all seven different types of board, or do I have to order one converter for each type?
Mr. Perfect - A name fraught with peril.

G80-8113HRBUS MX Clears, FC200R MX Clears.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #52 on: Fri, 15 April 2016, 18:20:01 »
How does the Mini-DIN converter work? Does one converter accept all seven different types of board, or do I have to order one converter for each type?

Not "one fits all".
First, DIN connectors are differenent between those protocols. But Mini-DIN converters are actually indentical hardware except for connector and solder jumper setting. You can make one protocol converter into another by changing connector and jumpers with solder iron. You also have to update firmware of course.

Offline Xe0n0

  • Posts: 11
Re: [TMK] Keyboard Converter
« Reply #53 on: Fri, 10 June 2016, 11:25:16 »
Wow~ If I use a USB2USB converter with my stock HHKB pro2 controller, doesn't mean I will get back my usb hub function?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #54 on: Fri, 16 September 2016, 22:42:00 »
Keymap(unimpa) editor is availlable for USB-USB, ADB, PS/2, M0110 and NeXT now!

WIth keymap editor you can change keymaps without compiling firmware from source codes. If you use with Chrome it would give better result. It won't work with Safari at least.

http://www.tmk-kbd.com/tmk_keyboard/editor/

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #55 on: Fri, 30 September 2016, 06:44:23 »
Hi all,
Thanks for your support.

TMK Keymap editor is available for IBM4704 Converter now.

http://www.tmk-kbd.com/tmk_keyboard/editor/

Enjoy!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #56 on: Wed, 05 October 2016, 22:29:24 »
Does anyone have problem on USB suspend(sleep)/resume(wakeup) and BIOS/EFI with TMK converter?
I am debuging and updating USB code in repository and wan to get infos on this from users, like which converter?, detailed problem description, OS, computer hardware and etc.

Can you sleep computer with keeping converter and keyboard connected?
Can you wakeup computer with keyboard via converter? Pressing any key on keyboard should wake your computer.
Can you use keyboard normally after wakeup(resume)?

Can you use keyboard normally after reboot?
Can you use keyboard normally on BIOS/UEFI?
Can you use keyboard normally on BIOS/UEFI after reboot?

Thanks.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #57 on: Tue, 18 October 2016, 15:54:25 »
USB-USB converter is back in stock now.

And LED fix for USB-USB Converter is available now.
You can download the fixed firmware from keymap editor or build from source codes.
https://geekhack.org/index.php?topic=69169.msg2283838#msg2283838

Thanks

Offline Glod

  • * Elevated Elder
  • Posts: 1995
  • Location: Virginia, USA
  • Also Known As Ergonomech
    • YouTube Channel
Re: [TMK] Keyboard Converter
« Reply #58 on: Fri, 16 December 2016, 16:18:06 »
i got my usb/usb converter and it works great, it is an extremely solid way to had hardware mapped colemak layout these keyboards i abandoned when i started using colemak. software colemak sucks. this was super easy to program. writing this on cherry G80 that has dust on it.

thank you hasu!!!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #59 on: Fri, 16 December 2016, 17:01:57 »
Glad to hear that! Thanks for your post :D

i got my usb/usb converter and it works great, it is an extremely solid way to had hardware mapped colemak layout these keyboards i abandoned when i started using colemak. software colemak sucks. this was super easy to program. writing this on cherry G80 that has dust on it.

thank you hasu!!!

Offline Happy Pizza Guy

  • Posts: 3
Re: [TMK] Keyboard Converter
« Reply #60 on: Sat, 28 January 2017, 16:23:44 »
A few quick questions:

1. Does the ADB converter allow the locking Caps Lock on the Apple M0115 to work properly on Mac OS X?
2. Would the Power button on the M0115 work, too?
3. Would one Mini-DIN converter be able to handle multiple protocols? I have ADB, PS2 and Non-ADB NeXT keyboards that I'd be interested in using this for. Would I have to re-flash the Converter to switch protocols? How easy is that to do on Mac OS X?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #61 on: Sat, 28 January 2017, 16:36:39 »
A few quick questions:

1. Does the ADB converter allow the locking Caps Lock on the Apple M0115 to work properly on Mac OS X?
2. Would the Power button on the M0115 work, too?
3. Would one Mini-DIN converter be able to handle multiple protocols? I have ADB, PS2 and Non-ADB NeXT keyboards that I'd be interested in using this for. Would I have to re-flash the Converter to switch protocols? How easy is that to do on Mac OS X?

1. yes, it should work, I didn't hear about the problem of capslock from users so far. I don't have Mac to test though.
2. Power button are assigned as special function by default, you can remap power key with editing code and compilng firmwre yourself.
3. Every protocol requires different connector.  But yes you can use it for those protocols if you replace connector, configure solder jumpers and re-flash firmware. Depends on how your are familiar of soldering, but re-flashing seems to be easy for Mac users, I don't have complains much from them comparing to Windows.
3

Offline U47

  • Posts: 94
  • Location: YEG
Re: [TMK] Keyboard Converter
« Reply #62 on: Tue, 31 January 2017, 21:01:12 »
3. Would one Mini-DIN converter be able to handle multiple protocols? I have ADB, PS2 and Non-ADB NeXT keyboards that I'd be interested in using this for. Would I have to re-flash the Converter to switch protocols? How easy is that to do on Mac OS X?

Flashing is easy, but fiddling with different mini-DINs and re/desoldering bridges isn't worth the time. I have 4 converters, one for NeXT, a M0110, an ADB, and a Sun. If hasu is willing, he may sell you bare boards that you can build yourself, if the cost is too great. Or get a Teensy (although that's not as elegant as hasu's solution).

Offline Lirael

  • Posts: 1
Re: [TMK] Keyboard Converter
« Reply #63 on: Sat, 11 March 2017, 13:19:19 »
Hi all,

This is my first post here. I'm trying to get my Apple IIgs keyboard connected to my Windows 10 PC using the ideas posted in this forum. There's a lot of great info here, but my skill set only got me so far.

I have a teensy 3.2 which a co-worker of mine graciously wired up for me. http://imgur.com/a/kjAfo

I've also been using various guides to build the adb_usb.hex file - namely this one http://octobrain.net/blog/howto-revive-iigs-keyboard.html.

I'm building the hex file on a Linux PC, and though I'm able to transfer it and successfully program the teensy board, nothing happens when I try connecting and typing on the IIgs keyboard.

I realize it may be difficult to decipher the wiring from the photos, but I'd appreciate whatever help I can find here.

Thanks!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #64 on: Sat, 11 March 2017, 18:39:00 »
Hi all,

This is my first post here. I'm trying to get my Apple IIgs keyboard connected to my Windows 10 PC using the ideas posted in this forum. There's a lot of great info here, but my skill set only got me so far.

I have a teensy 3.2 which a co-worker of mine graciously wired up for me. http://imgur.com/a/kjAfo

I've also been using various guides to build the adb_usb.hex file - namely this one http://octobrain.net/blog/howto-revive-iigs-keyboard.html.

I'm building the hex file on a Linux PC, and though I'm able to transfer it and successfully program the teensy board, nothing happens when I try connecting and typing on the IIgs keyboard.

I realize it may be difficult to decipher the wiring from the photos, but I'd appreciate whatever help I can find here.

Thanks!

My firmware doesn't support Teensy3.x you have to port code to the platform. It is not so difficult but will take some amount of time to learn TMK firmware codes and ADB protocol.
It would be great if you or your buddy can contribute code for Teensy3.x to my github repository.

Just buy TMK ADB-USB converter from me if you want to save time of you and your colleague :D

This thread is specific to TMK preassembled converters, If you need further technical discussion on DIY converter post in this thread. https://geekhack.org/index.php?topic=14290.0


Offline Tcow1015

  • Posts: 2
  • Location: CT, USA
    • tgcprojects.tk
Re: [TMK] Keyboard Converter
« Reply #65 on: Sun, 23 April 2017, 09:20:32 »
Hello, I am a bit of a noob when it comes to Teensy but I decided that I wanted to convert an old ADB keyboard to USB, while I could have used a Micromate I decided that this was by far the better solution, not only was it cheaper but it allowed the Teensy to be hidden away inside the keyboard, I struggled to compile the code. (if you are like me and just want basic ADB to USB then here is the link to my compiled version.   https://drive.google.com/open?id=0B0I2s1ybg7qvZkVTdnAwOHFfZnM) But now I have having some problems with the wiring, the key presses don't register and the mouse pointer jumps around. I don't currently have any 1k Ohm resistors so I am waiting for some to come and I hope that those will fix my problem but if they don't then I will post a picture of my wiring and seek help. (I also am beginning to wonder if the keyboard it self is broken, don't know if there is an easy way to test that but if there is then I would like to test it as)
-Thanks

Offline nevin

  • Posts: 1482
  • Location: US
Re: [TMK] Keyboard Converter
« Reply #66 on: Sun, 23 April 2017, 15:37:23 »
Sounds like the issues you get without the pull up resistor. Hopefully your resistors will come in soon.

Sent from my SM-G900V using Tapatalk

Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Converter
« Reply #67 on: Mon, 08 May 2017, 04:34:28 »
Update:
Keymap editor for Sharp X68000 converter is available now.

http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?x68k_usb

Offline saturnin

  • Posts: 1
Re: [TMK] Keyboard Protocol Converter
« Reply #68 on: Fri, 14 July 2017, 18:44:18 »
Hello ! Recently I've become an owner of hasu USB 2 USB converter. It's wonderful! Now I'm able to have a hardware implementation of Colemak layout and two separate extended layers with mouse and multimedia buttons.

Unfortunately my Tesoro Tizona keyboard won't work with this device. It has NKRO / 6KRO support but do not work in any of those. I've tried to compile tmk with nkro support but it will not help. Here is a console output from hid_listen (keyboard in 6KRO mode and TMK without NKRO support):
usb_state: 12
usb_state: 20
usb_state: 40
usb_state: 50
usb_state: 51
usb_state: 311
usb_state: 90
speed: full
host.Task: 2545
input 10: 00 00 12 00 00 00 00 usb_state: 40
host.Task: 2545

Line with input 10 repeats after each keypress. Input value (00 00 12 ...) coresponds to key pressed, but after that keyboard resets itself and reconnects. No output is send to OS. When I compile TMK with NKRO support console output is much less the same but input value is longer (16 bytes?)
As far as I understand there might be a problem with HID report parser. Is there any chance to make this keyboard work? I'm a C programmer (although a bit rusty) so if there is a chance to change TMK code a little bit I hope I will be able to learn how to do it by myself. Thank You for any hints You can give me.
« Last Edit: Fri, 14 July 2017, 18:49:03 by saturnin »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #69 on: Sun, 16 July 2017, 04:23:33 »
The build option  "NKRO_ENABLE" changes function on PC side, not for keyboard, so the option won't be helpful in this case.

How did you turn the keyboard into 6KRO? And USB descriptor of the device would be useful to know how NKRO/6KRO works.
https://github.com/tmk/tmk_keyboard/wiki/HID-Report-Descriptor

> usb_state: 311

hmm, state should be two digits, 311 is weird.
https://github.com/tmk/tmk_keyboard/blob/master/converter/usb_usb/usb_usb.cpp#L159https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/UsbCore.h#L106-L119


> input 10: 00 00 12 00 00 00 00

Part after ":" indicates keyboard report(6KRO) and should be 8 bytes but this display only 7, weird. "12" means 'o' key in HID usage, btw.

I hope this helps somehow.

Offline P4-Takuto

  • Posts: 2
Re: [TMK] Keyboard Protocol Converter
« Reply #70 on: Fri, 25 August 2017, 09:15:19 »
Hey there! I'm interested in a converter for an apple M0110 and M0110A. Since the polls are crossed in the M0110 would this adapter need to be modified to be compatible with both or will it only work with one or the other? Shipping to Canada via EMS if it's quicker than standard shipping. Hope to hear from you soon!
Email: ace-xxx@hotmail.com

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #71 on: Fri, 25 August 2017, 16:31:31 »
Hey there! I'm interested in a converter for an apple M0110 and M0110A. Since the polls are crossed in the M0110 would this adapter need to be modified to be compatible with both or will it only work with one or the other? Shipping to Canada via EMS if it's quicker than standard shipping. Hope to hear from you soon!
Email: ace-xxx@hotmail.com

"the polls are crossed"? I'm not sure what does this mean but M0110 converter supports both M0110 and M0110A, no modification is required. And yes EMS is much quicker and recommended.
I'll send you invoice soon. Thanks.

Offline P4-Takuto

  • Posts: 2
Re: [TMK] Keyboard Protocol Converter
« Reply #72 on: Tue, 10 October 2017, 08:33:27 »
I'm back again! Thank's for the M0110 converter, works like a charm! This time I'm interested in the converter for an IBM 6112884 with the optional EMS shipping. The EMS shipping arrives pretty quickly for shipping to Canada. Again thank you and hope to hear from you soon!

Offline Trente

  • Posts: 172
Re: [TMK] Keyboard Protocol Converter
« Reply #73 on: Wed, 18 October 2017, 16:39:28 »
Hi Hasu, I just received the TMK converter for the NeXT non-adb keyboard, and I am using a macbook pro with this board, but it seems I can't get the keyboard identification done. I am wondering if I need to first flash some firmware on it or what I can do to make sure the converter is communicating with my mac but it is keyboard not working correctly?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #74 on: Wed, 18 October 2017, 17:08:16 »
Hi Hasu, I just received the TMK converter for the NeXT non-adb keyboard, and I am using a macbook pro with this board, but it seems I can't get the keyboard identification done. I am wondering if I need to first flash some firmware on it or what I can do to make sure the converter is communicating with my mac but it is keyboard not working correctly?

It comes with default firmware you don't have to flash unless you erase it. I think some users use with Mac but I don't have it to test it. If you have windows or linux try it on them.

Did you try ioreg or something to find the device?


Offline Trente

  • Posts: 172
Re: [TMK] Keyboard Protocol Converter
« Reply #75 on: Thu, 19 October 2017, 02:01:07 »
Hi Hasu, I just received the TMK converter for the NeXT non-adb keyboard, and I am using a macbook pro with this board, but it seems I can't get the keyboard identification done. I am wondering if I need to first flash some firmware on it or what I can do to make sure the converter is communicating with my mac but it is keyboard not working correctly?

It comes with default firmware you don't have to flash unless you erase it. I think some users use with Mac but I don't have it to test it. If you have windows or linux try it on them.

Did you try ioreg or something to find the device?

So I think my Mac is able to pick up the converter as a keyboard device since it prompted the external keyboard setup window, but my key switch pressing do not have any response, so I think it might be primarily the keyboard problem since a default firmware is on the converter and any keypress should at least get something registered. But yeah I will also try it on a linux or windows machine to make sure.

Offline Glod

  • * Elevated Elder
  • Posts: 1995
  • Location: Virginia, USA
  • Also Known As Ergonomech
    • YouTube Channel
Re: [TMK] Keyboard Protocol Converter
« Reply #76 on: Sat, 21 October 2017, 18:03:16 »
hey hasu

got a question for you

I have your USB to USB converter

I tried it on a backlit keyboard for the first time this week, on this board (got it for 30$, seriously one of the best values ever)
https://www.amazon.com/Team-Wolf-Swappable-Mechanical-Keyboard-Blue/dp/B01AFBJQA8?th=1
it says on the back 5v 200ma

I am guessing there is a limit to how much the converter can pull? what is odd is that sometimes the board will take by the converter and will stay working until I unplug it but sometimes it just wont work, actually i haven't been able to get it to work anymore. The USB 2 USB converter seems to still be in good shape, takes my other boards just fine, was using it all day.

Is there something firmware wise I can do to the converter to get it to work? I only used the TMK hex creator on the website and not the "hard way", i didn't know if turning down anything would work (polling, nkro, etc)
« Last Edit: Sat, 21 October 2017, 18:05:16 by Glod »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #77 on: Sat, 21 October 2017, 21:16:16 »
Glod,
Could you dump HID descriptor of the keybaord? It would be helpful to debug.

This line defines max power consumption in mA of the converter, 100 by default. I guess how this value is handled depends on OS. What os are you using with the converter?
https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/protocol/lufa/descriptor.c#L269


Offline Glod

  • * Elevated Elder
  • Posts: 1995
  • Location: Virginia, USA
  • Also Known As Ergonomech
    • YouTube Channel
Re: [TMK] Keyboard Protocol Converter
« Reply #78 on: Sat, 21 October 2017, 22:00:36 »
Glod,
Could you dump HID descriptor of the keybaord? It would be helpful to debug.

This line defines max power consumption in mA of the converter, 100 by default. I guess how this value is handled depends on OS. What os are you using with the converter?
https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/protocol/lufa/descriptor.c#L269

Windows
Code: [Select]
Information for device USB to USB keyboard converter (VID=0xFEED PID=0x005B):

Connection Information:
------------------------------
Device current bus speed: FullSpeed
Device supports USB 1.1 specification
Device supports USB 2.0 specification
Device address: 0x000E
Current configuration value: 0x01
Number of open pipes: 5

Device Descriptor:
------------------------------
0x12 bLength
0x01 bDescriptorType
0x0110 bcdUSB
0x00 bDeviceClass   
0x00 bDeviceSubClass   
0x00 bDeviceProtocol   
0x08 bMaxPacketSize0   (8 bytes)
0xFEED idVendor
0x005B idProduct
0x0814 bcdDevice
0x01 iManufacturer   "t.m.k."
0x02 iProduct   "USB to USB keyboard converter"
0x00 iSerialNumber
0x01 bNumConfigurations

Configuration Descriptor:
------------------------------
0x09 bLength
0x02 bDescriptorType
0x0074 wTotalLength   (116 bytes)
0x04 bNumInterfaces
0x01 bConfigurationValue
0x00 iConfiguration
0xA0 bmAttributes   (Bus-powered Device, Remote-Wakeup)
0x32 bMaxPower      (100 mA)

Interface Descriptor:
------------------------------
0x09 bLength
0x04 bDescriptorType
0x00 bInterfaceNumber
0x00 bAlternateSetting
0x01 bNumEndPoints
0x03 bInterfaceClass      (Human Interface Device Class)
0x01 bInterfaceSubClass   
0x01 bInterfaceProtocol   
0x00 iInterface

HID Descriptor:
------------------------------
0x09 bLength
0x21 bDescriptorType
0x0111 bcdHID
0x00 bCountryCode
0x01 bNumDescriptors
0x22 bDescriptorType   (Report descriptor)
0x003F bDescriptorLength

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x81 bEndpointAddress  (IN endpoint 1)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0008 wMaxPacketSize    (1 x 8 bytes)
0x0A bInterval

Interface Descriptor:
------------------------------
0x09 bLength
0x04 bDescriptorType
0x01 bInterfaceNumber
0x00 bAlternateSetting
0x01 bNumEndPoints
0x03 bInterfaceClass      (Human Interface Device Class)
0x01 bInterfaceSubClass   
0x02 bInterfaceProtocol   
0x00 iInterface

HID Descriptor:
------------------------------
0x09 bLength
0x21 bDescriptorType
0x0111 bcdHID
0x00 bCountryCode
0x01 bNumDescriptors
0x22 bDescriptorType   (Report descriptor)
0x004D bDescriptorLength

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x82 bEndpointAddress  (IN endpoint 2)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0008 wMaxPacketSize    (1 x 8 bytes)
0x0A bInterval

Interface Descriptor:
------------------------------
0x09 bLength
0x04 bDescriptorType
0x02 bInterfaceNumber
0x00 bAlternateSetting
0x01 bNumEndPoints
0x03 bInterfaceClass      (Human Interface Device Class)
0x00 bInterfaceSubClass   
0x00 bInterfaceProtocol   
0x00 iInterface

HID Descriptor:
------------------------------
0x09 bLength
0x21 bDescriptorType
0x0111 bcdHID
0x00 bCountryCode
0x01 bNumDescriptors
0x22 bDescriptorType   (Report descriptor)
0x0036 bDescriptorLength

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x83 bEndpointAddress  (IN endpoint 3)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0008 wMaxPacketSize    (1 x 8 bytes)
0x0A bInterval

Interface Descriptor:
------------------------------
0x09 bLength
0x04 bDescriptorType
0x03 bInterfaceNumber
0x00 bAlternateSetting
0x02 bNumEndPoints
0x03 bInterfaceClass      (Human Interface Device Class)
0x00 bInterfaceSubClass   
0x00 bInterfaceProtocol   
0x00 iInterface

HID Descriptor:
------------------------------
0x09 bLength
0x21 bDescriptorType
0x0111 bcdHID
0x00 bCountryCode
0x01 bNumDescriptors
0x22 bDescriptorType   (Report descriptor)
0x0020 bDescriptorLength

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x84 bEndpointAddress  (IN endpoint 4)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0020 wMaxPacketSize    (1 x 32 bytes)
0x01 bInterval

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x04 bEndpointAddress  (OUT endpoint 4)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0020 wMaxPacketSize    (1 x 32 bytes)
0x01 bInterval

Microsoft OS Descriptor is not available. Error code: 0x0000001F

String Descriptor Table
--------------------------------
Index  LANGID  String
0x00   0x0000  0x0409
0x01   0x0409  "t.m.k."
0x02   0x0409  "USB to USB keyboard converter"

------------------------------

Connection path for device:
USB xHCI Compliant Host Controller
Root Hub
Generic USB Hub
Generic USB Hub
Generic USB Hub
Generic USB Hub
USB to USB keyboard converter (VID=0xFEED PID=0x005B) Port: 3

Running on: Windows 10 or greater

Brought to you by TDD v2.0.0, Jul 12 2017, 15:09:10

Offline Glod

  • * Elevated Elder
  • Posts: 1995
  • Location: Virginia, USA
  • Also Known As Ergonomech
    • YouTube Channel
Re: [TMK] Keyboard Protocol Converter
« Reply #79 on: Sat, 21 October 2017, 22:11:45 »
i am a idiot, wrong keyboard

here

Code: [Select]
Information for device Gaming KB  (VID=0x258A PID=0x1006):

Connection Information:
------------------------------
Device current bus speed: FullSpeed
Device supports USB 1.1 specification
Device supports USB 2.0 specification
Device address: 0x000E
Current configuration value: 0x01
Number of open pipes: 2

Device Descriptor:
------------------------------
0x12 bLength
0x01 bDescriptorType
0x0110 bcdUSB
0x00 bDeviceClass   
0x00 bDeviceSubClass   
0x00 bDeviceProtocol   
0x08 bMaxPacketSize0   (8 bytes)
0x258A idVendor
0x1006 idProduct
0x0105 bcdDevice
0x01 iManufacturer   "Gaming KB "
0x02 iProduct   "Gaming KB "
0x00 iSerialNumber
0x01 bNumConfigurations

Configuration Descriptor:
------------------------------
0x09 bLength
0x02 bDescriptorType
0x003B wTotalLength   (59 bytes)
0x02 bNumInterfaces
0x01 bConfigurationValue
0x00 iConfiguration
0xA0 bmAttributes   (Bus-powered Device, Remote-Wakeup)
0x96 bMaxPower      (300 mA)

Interface Descriptor:
------------------------------
0x09 bLength
0x04 bDescriptorType
0x00 bInterfaceNumber
0x00 bAlternateSetting
0x01 bNumEndPoints
0x03 bInterfaceClass      (Human Interface Device Class)
0x01 bInterfaceSubClass   
0x01 bInterfaceProtocol   
0x00 iInterface

HID Descriptor:
------------------------------
0x09 bLength
0x21 bDescriptorType
0x0111 bcdHID
0x00 bCountryCode
0x01 bNumDescriptors
0x22 bDescriptorType   (Report descriptor)
0x0041 bDescriptorLength

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x81 bEndpointAddress  (IN endpoint 1)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0008 wMaxPacketSize    (1 x 8 bytes)
0x02 bInterval

Interface Descriptor:
------------------------------
0x09 bLength
0x04 bDescriptorType
0x01 bInterfaceNumber
0x00 bAlternateSetting
0x01 bNumEndPoints
0x03 bInterfaceClass      (Human Interface Device Class)
0x01 bInterfaceSubClass   
0x01 bInterfaceProtocol   
0x00 iInterface

HID Descriptor:
------------------------------
0x09 bLength
0x21 bDescriptorType
0x0111 bcdHID
0x00 bCountryCode
0x01 bNumDescriptors
0x22 bDescriptorType   (Report descriptor)
0x00A8 bDescriptorLength

Endpoint Descriptor:
------------------------------
0x07 bLength
0x05 bDescriptorType
0x82 bEndpointAddress  (IN endpoint 2)
0x03 bmAttributes      (Transfer: Interrupt / Synch: None / Usage: Data)
0x0008 wMaxPacketSize    (1 x 8 bytes)
0x01 bInterval

Microsoft OS Descriptor is not available. Error code: 0x0000001F

String Descriptor Table
--------------------------------
Index  LANGID  String
0x00   0x0000  0x0409
0x01   0x0409  "Gaming KB "
0x02   0x0409  "Gaming KB "

------------------------------

Connection path for device:
USB xHCI Compliant Host Controller
Root Hub
Generic USB Hub
Generic USB Hub
Generic USB Hub
Generic USB Hub
Gaming KB  (VID=0x258A PID=0x1006) Port: 3

Running on: Windows 10 or greater

Brought to you by TDD v2.0.0, Jul 12 2017, 15:09:10

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #80 on: Sun, 22 October 2017, 01:50:26 »
Thank you.
Sorry I forgot to include this link,  to see Report descriptor requires some more hassles. Report descriptor is more desireble to look into. If you have more time try USBlyzer on WIndows.
https://github.com/tmk/tmk_keyboard/wiki/HID-Report-Descriptor

The keyboard rerquires 300mA on descriptor, what if change the MaxPower line of the converter  to 500mA from 100mA?



Offline Glod

  • * Elevated Elder
  • Posts: 1995
  • Location: Virginia, USA
  • Also Known As Ergonomech
    • YouTube Channel
Re: [TMK] Keyboard Protocol Converter
« Reply #81 on: Mon, 23 October 2017, 14:39:44 »
I could not get around to making hex file the "old fashioned way" until now.

Editing the mA did not do anything, changing to 300 or 500 or even 2000 did not make a difference
Editing the mA alone did not work.

HOWEVER, when i commented out the extra keys in the Makefile
#EXTRAKEY_ENABLE ?= yes   # Media control and System control
It started to work every time I plug it on my main PC, In fact I am typing colemak on it now.
edit: changing the mA did indeed make a difference, if i set it lower than 300 it sometimes does not work.

BUT, it will not work on my "work PC" unless I plug in the USB_USB into the port and then after 1 second plug in the keyboard, and that works 25% of the time. There must be something that can be done?

edit: just some more info. I do NOT have to comment out the extra keys on the other keyboards i use with the usb_usb such as my G80 or Model M with ps/2 converter. it works every time on those. I am guessing the reason the keyboard is having problems is the backlighting,

edit2 : ok so i found 2 other backlit keyboards and they DO NOT run into any issues. I am thinking something is odd with this teamwolf keyboard, it has these changeable nkro and polling rate t settings and I tried all combinations with no luck on the work pc. ALL combinations of polling rate and nkro works with my main PC.
« Last Edit: Mon, 23 October 2017, 16:27:02 by Glod »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #82 on: Tue, 24 October 2017, 00:08:59 »
Glod, Thank you for your trials and report.

BUT, it will not work on my "work PC" unless I plug in the USB_USB into the port and then after 1 second plug in the keyboard, and that works 25% of the time. There must be something that can be done?

hm, there may be something wrong or to be improved with startup of converter firmware, though I'm not sure at this time.


Offline pixelpusher

  • * Elevated Elder
  • Posts: 3833
  • Location: Tennessee - USA
Re: [TMK] Keyboard Protocol Converter
« Reply #83 on: Sun, 05 November 2017, 14:32:08 »
Hey guys.  I have an issue and I was wondering if you could help.  I have recently acquired a SIIG minitouch keyboard.  I like the monterrey blue switches in it a lot.  The keyboard is 5pin DIN but works great with a DIN to PS2 adapter.  However, I wanted to get it working over usb at some point.  I bought the active PS2 to USB converter from Amazon that everyone always recommends, but it doesn't fully work.  What happens it that the converter is dropping many of my keypreses at random times.   I don't have this issue when I run it over PS2.

I checked the forums and I haven't seen anyone with this issue using the active converter. 

Would the hasu's converter somehow be "better" than the one here:
https://www.amazon.com/gp/product/B000BSJFJS/

Edit: I just tried the converter with my Model M (PS2) and it works fine.  It seems to be something unique to the SIIG keyboard.  I guess I could just use a PS2 extension cable, but I wouldn't ever be able to use it with a laptop :(

Thanks for your time.
« Last Edit: Sun, 05 November 2017, 14:44:37 by reececonrad »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #84 on: Sun, 05 November 2017, 17:43:04 »
It is not common problem and only other SIIG users can really help you. I don't know whether my PS/2 converter works with the keyboard or not.

I found SIIG sells this converter, you can ask them if it works before buying it. They should know the keyhoard.
http://www.siig.com/it-products/usb/converters/usb-to-ps-2-adapter-1246.html

Offline rich1051414

  • Posts: 353
  • Location: Decaturville, TN
Re: [TMK] Keyboard Protocol Converter
« Reply #85 on: Mon, 06 November 2017, 04:07:45 »
First I want to say, I love this library, it works perfectly for ADB conversion where all the commercial options have some fairly major issues here and there.

However, I have had 2 problems so far using TMK, so maybe I can knock them both out this weekend, but first I want to ask if there are easily solutions to my problems first.

First, I am having some debounce issues, a couple keys are chattering at around 12ms chatter, so is there a way to add some debounce, of, say, 15ms?

Second is, the equals key on the numpad is non-functional on my AEK. Fairly sure the switch is working fine, but the firmware isn't sending the correct keystroke.
« Last Edit: Mon, 06 November 2017, 04:18:11 by rich1051414 »
Siig Minitouch with Orange Alps, Whitefox 60% Zealios 67g, Realforce 87U 55g Topre, LFK SMK/Alps TKL With SMK 2nd Gen Cherry MX mount switches, NEC APC-H412 NEC Blue Ovals, Unicomp Model-M Spacesaver, XMIT Hall Effect, WASD Code Cherry MX Clear, KBDFans75 Lubed Gateron Greens, Azio MGK L80 Kailh Brown, XD84 Pale Blue Box Kailh, NIB Pingmaster TMK Converted, KPrepublic XD96 Blue aluminum case with Jade Box Kailh

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #86 on: Tue, 07 November 2017, 16:07:42 »
First I want to say, I love this library, it works perfectly for ADB conversion where all the commercial options have some fairly major issues here and there.

However, I have had 2 problems so far using TMK, so maybe I can knock them both out this weekend, but first I want to ask if there are easily solutions to my problems first.

First, I am having some debounce issues, a couple keys are chattering at around 12ms chatter, so is there a way to add some debounce, of, say, 15ms?

Second is, the equals key on the numpad is non-functional on my AEK. Fairly sure the switch is working fine, but the firmware isn't sending the correct keystroke.


The converters itself doesn't handle debounce at all  while it depends totally on keyboard side. If you have chattering it is switches or keyboard controller problem.

Windows? It can't recognize numpad eqaul('P=' on keymap editor) unfortunately, while it can be used on Linux and Mac without problem. As you know you can remap the key to normal eqaul('=') or anything you want.

Offline rich1051414

  • Posts: 353
  • Location: Decaturville, TN
Re: [TMK] Keyboard Protocol Converter
« Reply #87 on: Wed, 08 November 2017, 17:12:57 »
Windows? It can't recognize numpad eqaul('P=' on keymap editor) unfortunately, while it can be used on Linux and Mac without problem. As you know you can remap the key to normal eqaul('=') or anything you want.
OH didn't realize that, thanks!
Siig Minitouch with Orange Alps, Whitefox 60% Zealios 67g, Realforce 87U 55g Topre, LFK SMK/Alps TKL With SMK 2nd Gen Cherry MX mount switches, NEC APC-H412 NEC Blue Ovals, Unicomp Model-M Spacesaver, XMIT Hall Effect, WASD Code Cherry MX Clear, KBDFans75 Lubed Gateron Greens, Azio MGK L80 Kailh Brown, XD84 Pale Blue Box Kailh, NIB Pingmaster TMK Converted, KPrepublic XD96 Blue aluminum case with Jade Box Kailh

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #88 on: Thu, 18 January 2018, 23:52:30 »
[ADB-USB Firmware update]
Hi folks,
I got a report from some user about lag on typing with ADB-USB converter the other day. Today I confirmed the lag problem and fixed it. Source code in github repo and firmware binary in Keyboard Editor was updated.

You can download new firmware from Keyboard Editor.
http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?adb_usb


This problem was related to  ADB mouse support and have been missed for long. Filed it and added some descriptions here. https://github.com/tmk/tmk_keyboard/issues/518

With the new firmware it reads key evernts from keyboard around twice faster than before. That being said, ADB protocol and keyboard controller is not that fast comparing with modern keyboards.

Offline kishy

  • Posts: 1576
  • Location: Windsor, ON Canada
  • Eye Bee M
    • http://kishy.ca/
Re: [TMK] Keyboard Protocol Converter
« Reply #89 on: Wed, 21 March 2018, 12:23:42 »
hasu,
For the 4704 converter, you've indicated that your keymap editor is available for use with the 62, 77 and 107-key keyboards.

What about the 50-key? I am unaware of what codes it sends (and therefore what, if anything your converter handles it as), but if one were to use a 62-key and want an external numpad and additional functions, the 50-key could be an attractive option. I have one and my eventual goal is to use it in that manner.

I'm not aware of how many people have them, though. It's probably the least desirable 4704 keyboard for various reasons.
« Last Edit: Wed, 21 March 2018, 12:36:23 by kishy »
Enthusiast of springs which buckle noisily: my keyboards
Want to learn about the Kishsaver?
kishy.ca

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #90 on: Wed, 21 March 2018, 20:44:10 »
hasu,
For the 4704 converter, you've indicated that your keymap editor is available for use with the 62, 77 and 107-key keyboards.

What about the 50-key? I am unaware of what codes it sends (and therefore what, if anything your converter handles it as), but if one were to use a 62-key and want an external numpad and additional functions, the 50-key could be an attractive option. I have one and my eventual goal is to use it in that manner.

I'm not aware of how many people have them, though. It's probably the least desirable 4704 keyboard for various reasons.

Keymap Editor doens't support 50-key  but you can still build firmware for it form source code.
https://github.com/tmk/tmk_keyboard/blob/master/converter/ibm4704_usb/keymap_common.h#L88-L111

Adding 50-key support on Keymap Editor is not difficult at all. But no demand from users so far.
I'll be happy to add 50-key support if customer want. Let me know when you order.

Note that you need two converts for the setup(62-key + 50-key) unfortunately, the converter can handle only one keyboard at same time. 'DB9 Y-splitter cable' may work but I'm not sure.(may not)
« Last Edit: Wed, 21 March 2018, 20:46:23 by hasu »

Offline kishy

  • Posts: 1576
  • Location: Windsor, ON Canada
  • Eye Bee M
    • http://kishy.ca/
Re: [TMK] Keyboard Protocol Converter
« Reply #91 on: Fri, 23 March 2018, 09:56:53 »
Great, thanks :)

Unrelated: I have discovered that I have a couple ATmega32-16PU hanging around from an old project I never finished, and am wondering if this AVR is capable of running your converter. Any thoughts?
Enthusiast of springs which buckle noisily: my keyboards
Want to learn about the Kishsaver?
kishy.ca

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #92 on: Fri, 23 March 2018, 18:37:21 »
Great, thanks :)

Unrelated: I have discovered that I have a couple ATmega32-16PU hanging around from an old project I never finished, and am wondering if this AVR is capable of running your converter. Any thoughts?

It is possible but not recommended.
With that AVR you have to use V-USB, which is software USB engine instead of hardware engine in ATMega32u4/u2. It have to blocks main application code exectution for some time for USB signal handling, this is not problem for keyboard controller but not useful or makes difficult for covnerter in some cases. It is still possible perhaps, but you will have to refine protocol handling code for this.


Thank you for your order! Shipped IBM4704 converter. I'll work on 50-key support later.

Offline Blaise170

  • * Esteemed Elder
  • Posts: 1332
  • Location: Boston, MA
  • ALPS キーボード
    • XYZ
Re: [TMK] Keyboard Protocol Converter
« Reply #93 on: Mon, 02 April 2018, 08:56:53 »
Do you know if the PC98 converter is compatible with PC88?
I proxy anything including keyboards (キーボード / 鍵盤), from both Japan (日本) and China (中國). For more information, you may visit my dedicated webpage here: https://www.keyboards.es/proxying.html

View my current and past keyboards here: https://deskthority.net/wiki/User:Blaise170

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #94 on: Wed, 04 April 2018, 20:13:02 »
Do you know if the PC98 converter is compatible with PC88?

They are not compatible.

Offline [Lewynlight]

  • Formerly Dymloslouire
  • Posts: 346
  • Location: ****posting @ simone's discord server
Re: [TMK] Keyboard Protocol Converter
« Reply #95 on: Sun, 08 April 2018, 08:40:46 »
Hi Hasu, Quick question;

will your Mini-DIN to USB converter works if i used it with DIN to Mini-DIN first? so the chaining will be;

Keyboard-cable->DIN-to Mini Din Converter->Converter -> USB

how about this?
TGR Jane CE - TGR Jane v2 -  -TGR 910 R1 - TGR 910 RE Polycarbonate - TGR Alice Polycarbonate -Revo RT80 - UTD 360c - Matrix 8xv2.0add - Vortexseries VX9 -Filco Majestouch Yellow LE  - TGR Jane V2 CE - 420CL - Aripeko - RS - Revo Jelly60 - RS60 - Licht

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #96 on: Sun, 08 April 2018, 17:59:28 »
Hi Hasu, Quick question;

will your Mini-DIN to USB converter works if i used it with DIN to Mini-DIN first? so the chaining will be;

Keyboard-cable->DIN-to Mini Din Converter->Converter -> USB

how about this?

I assume you are refering to PS/2 converter. If so yes, the converter works with AT keyboard.

Offline [Lewynlight]

  • Formerly Dymloslouire
  • Posts: 346
  • Location: ****posting @ simone's discord server
Re: [TMK] Keyboard Protocol Converter
« Reply #97 on: Sun, 08 April 2018, 20:35:14 »
Hi Hasu, Quick question;

will your Mini-DIN to USB converter works if i used it with DIN to Mini-DIN first? so the chaining will be;

Keyboard-cable->DIN-to Mini Din Converter->Converter -> USB

how about this?

I assume you are refering to PS/2 converter. If so yes, the converter works with AT keyboard.


yes, your assumption is correct.
thanks for the answer. there will be order by me in near future  :))
TGR Jane CE - TGR Jane v2 -  -TGR 910 R1 - TGR 910 RE Polycarbonate - TGR Alice Polycarbonate -Revo RT80 - UTD 360c - Matrix 8xv2.0add - Vortexseries VX9 -Filco Majestouch Yellow LE  - TGR Jane V2 CE - 420CL - Aripeko - RS - Revo Jelly60 - RS60 - Licht

Offline dgreekstallion

  • Posts: 215
  • Location: Texas
  • B.S. Fiend
Re: [TMK] Keyboard Protocol Converter
« Reply #98 on: Wed, 11 April 2018, 08:32:33 »
Excited to get my new 6112884 up and running. Are there instructions for this? I got the fully assemble converter.
Recent keyboard fanatic.

Model F-122 convert.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #99 on: Wed, 11 April 2018, 17:52:53 »
Excited to get my new 6112884 up and running. Are there instructions for this? I got the fully assemble converter.

Check first post of this thread and the converter specific thread first. Then you can refer wiki on github. https://github.com/tmk/tmk_keyboard/wiki

Post your question in proper thread if needed. I'm happy to help.
- Keyobard Protocol Converter generic topic: this thread
- IBM 4704 Converter specific topic: https://geekhack.org/index.php?topic=54706.0
- TMK firmware generic topic: https://geekhack.org/index.php?topic=41989.0

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #100 on: Fri, 27 April 2018, 03:25:44 »
[IBM4704]

Added IBM4704 50-key(6019273) support on keymap editor.

http://www.tmk-kbd.com/tmk_keyboard/editor/
https://goo.gl/95HRna

Offline TheMilkmen

  • Posts: 35
  • Location: MD, USA
Re: [TMK] Keyboard Protocol Converter
« Reply #101 on: Mon, 28 May 2018, 08:34:00 »
Quick dumb question but can this converter be used on one of the ibm pingmasters? I'm just curious since I couldn't see anything other than a soarers converter for it. Thanks!

Offline Monarchial

  • Posts: 1
Re: [TMK] Keyboard Protocol Converter
« Reply #102 on: Mon, 28 May 2018, 12:44:35 »
Hi @Hasu

Is there any chance you're going to release an fc660m controller?

I'm working on one right now but running into some issues and was wondering if you had plans to do it.

Offline Somun

  • Posts: 2
Re: [TMK] Keyboard Protocol Converter
« Reply #103 on: Thu, 28 June 2018, 05:11:16 »
Just discovered this while looking to fix my Kinesis advantage, which does not work on a Windows 7 PC I have.

Hasu, can the firmware be configured to also include a PS/2 mouse interface? I am planning on adding some trackpad/touchpoint and get a composite usb device since the usb hub will be gone. Wondering if this is somehow achievable with maybe a custom TMK build? I don't need to change the keymap, btw.

Thanks.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #104 on: Thu, 28 June 2018, 22:03:10 »
Just discovered this while looking to fix my Kinesis advantage, which does not work on a Windows 7 PC I have.

Hasu, can the firmware be configured to also include a PS/2 mouse interface? I am planning on adding some trackpad/touchpoint and get a composite usb device since the usb hub will be gone. Wondering if this is somehow achievable with maybe a custom TMK build? I don't need to change the keymap, btw.

Thanks.

I think it is kind of possible but it won't be simple job like editting Makefile or config.h. You will have to write some code with looking into existent codes.



Offline Somun

  • Posts: 2
Re: [TMK] Keyboard Protocol Converter
« Reply #105 on: Fri, 29 June 2018, 10:16:16 »
Just discovered this while looking to fix my Kinesis advantage, which does not work on a Windows 7 PC I have.

Hasu, can the firmware be configured to also include a PS/2 mouse interface? I am planning on adding some trackpad/touchpoint and get a composite usb device since the usb hub will be gone. Wondering if this is somehow achievable with maybe a custom TMK build? I don't need to change the keymap, btw.

Thanks.

I think it is kind of possible but it won't be simple job like editting Makefile or config.h. You will have to write some code with looking into existent codes.

Thanks for the reply. Would not mind writing code. From a brief look, my impression is that the converter works by imitating a keyboard matrix that feeds off of the data coming from the ps2 keyboard. I know that the TMK has support for a ps2 mouse but not sure if the converter is repurposing the same code for the ps2 or how hard it would be add handling for a second one. I also need to change the USB descriptors I guess? I would appreciate any pointers / suggestions.

Thanks again.

Offline Laser

  • Posts: 102
  • Location: euROpe
Re: [TMK] Keyboard Protocol Converter
« Reply #106 on: Sun, 01 July 2018, 10:32:38 »

Sorry if this was asked already, could you describe the steps needed to add two extra buttons to the ps2_usb tmk converter? Or is there some support already?

I mean, buttons connected directly to some pins of the atmega32u4.

Thanks!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #107 on: Sun, 01 July 2018, 15:55:34 »

Sorry if this was asked already, could you describe the steps needed to add two extra buttons to the ps2_usb tmk converter? Or is there some support already?

I mean, buttons connected directly to some pins of the atmega32u4.

Thanks!


You can add your code in `matrix_scan()` function to scan the buttons.
https://github.com/tmk/tmk_keyboard/blob/master/converter/ps2_usb/matrix.c#L144

The function is called repeatedly every so often in main loop and would be good place to add your code in this case. TMK converters translate scancode got from keyboard into key stataus as a bit in array `matrix[]`.

I think you can add state of those buttons into the array `matrix[]` using scancodes unused in your keyboard, for example F13(0x08) and F14(0x10). Use 'matrix_make()` and `matrix_break()` to change status of the button, like `matrix_make(0x08)` when it is pressed.
https://github.com/tmk/tmk_keyboard/blob/master/converter/ps2_usb/matrix.c#L407-L423

EDIT:
This thread is basically intended to offer support for users of TMK made converters. Technical topic about converter modification like this would be more suitable to this PS/2 converter thread. Post in the thread if you need any further quetion, so that we can share info with community.
https://geekhack.org/index.php?topic=14618.0
« Last Edit: Sun, 01 July 2018, 16:13:35 by hasu »

Offline Laser

  • Posts: 102
  • Location: euROpe
Re: [TMK] Keyboard Protocol Converter
« Reply #108 on: Sun, 01 July 2018, 16:17:42 »
Thanks for the quick reply! I think I understand. One more question, could I also use mousekey key codes instead of F13 or F14, such as KC_BTN1 or KC_BTN2 instead (assuming I do enable mousekey functionality) ?

EDIT: sorry, I saw your edit only after posting. Next posts will be made in the other thread.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #109 on: Sun, 01 July 2018, 16:22:30 »
Thanks for the quick reply! I think I understand. One more question, could I also use mousekey key codes instead of F13 or F14, such as KC_BTN1 or KC_BTN2 instead (assuming I do enable mousekey functionality) ?

EDIT: sorry, I saw your edit only after posting. Next posts will be made in the other thread.

Yes, you can remap the F13 and F14 to the mouse button in keymap definition.

Offline Laser

  • Posts: 102
  • Location: euROpe
Re: [TMK] Keyboard Protocol Converter
« Reply #110 on: Sun, 01 July 2018, 16:30:57 »

Thanks again, Hasu! :)

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #111 on: Thu, 05 July 2018, 19:31:32 »
[USB-USB]
Updated firmware of USB-USB converter to fix startup issue. See this post for detail.

https://geekhack.org/index.php?topic=69169.msg2634041#msg2634041

Thanks
« Last Edit: Sat, 07 July 2018, 19:43:26 by hasu »

Offline scotland

  • Posts: 5
Re: [TMK] Keyboard Protocol Converter
« Reply #112 on: Sat, 07 July 2018, 18:09:35 »
My USB to USB converter arrived quickly to the UK. My whole idea was to map a UK layout Apple aluminium keyboard to work in Windows. The reason being my work PC is completely locked down so a hardware based method of remapping the keys was preferable. Using hasu's converter I managed to swap:

Left alt to left Windows
Left CMD to left alt
F13 to print screen
F14 to volume down
F15 to volume up

Thanks again hasu. Great service and great piece of kit.
« Last Edit: Sat, 07 July 2018, 18:11:26 by scotland »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #113 on: Sat, 07 July 2018, 19:51:32 »
Thanks for the feedback. Glad to hear that!

Offline tonsoffun49

  • Posts: 4
  • Location: Ohio
Re: [TMK] Keyboard Protocol Converter
« Reply #114 on: Fri, 27 July 2018, 16:15:55 »
Having a bit of a slow moment so I just want to clarify if someone wouldn't mind helping me. I have 2 Pingmasters, a 6113442 and a 5954339. From what I have seen on Reddit and GeekHack, there are two ways to make it work on a modern Windows machine.

1. (Internal) Replacing the internal CPU with a Teensy 2.0
2. (External) Buying the IBM 4704 converter or building one using a DE-9 wired to a Teensy 2.0.

Not that I wouldn't mind supporting Hasu and buying the converter from him, I just prefer to make my own as I want to learn how to do this and enjoy tinkering. I don't like the idea of opening the case and messing with the internal CPU so I would rather convert it externally. Is a Teensy necessary or will a ProMicro work? Any tips or help would be appreciated. This is my first vintage board and I can't wait to start using it.

Offline Blaise170

  • * Esteemed Elder
  • Posts: 1332
  • Location: Boston, MA
  • ALPS キーボード
    • XYZ
Re: [TMK] Keyboard Protocol Converter
« Reply #115 on: Sat, 28 July 2018, 19:01:36 »
ProMicro will work if it's the same processor (ATMEGA32U4).
I proxy anything including keyboards (キーボード / 鍵盤), from both Japan (日本) and China (中國). For more information, you may visit my dedicated webpage here: https://www.keyboards.es/proxying.html

View my current and past keyboards here: https://deskthority.net/wiki/User:Blaise170

Offline tonsoffun49

  • Posts: 4
  • Location: Ohio
Re: [TMK] Keyboard Protocol Converter
« Reply #116 on: Sun, 29 July 2018, 02:48:11 »
Thanks. Is there a benefit to using a Teensy over Pro Micro?

Offline Kekeke

  • Posts: 5
Re: [TMK] Keyboard Protocol Converter
« Reply #117 on: Sat, 18 August 2018, 10:40:47 »
I'm soory for asking this, but it seems I have a problem with pc98converter.
I built converter from leonardo, changed makefile by the way in config.h pd5 changed to pd1 but in readme its still pd5 and hid_listener just give me pc98:send9c:9c
Is it problem with my keyboard?

Sorry for my english and so noobish question

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #118 on: Sat, 18 August 2018, 18:13:45 »
I'm soory for asking this, but it seems I have a problem with pc98converter.
I built converter from leonardo, changed makefile by the way in config.h pd5 changed to pd1 but in readme its still pd5 and hid_listener just give me pc98:send9c:9c
Is it problem with my keyboard?

Sorry for my english and so noobish question

Ah, yes RTY should be PD1 in README, I'll update github repo later.

what model is exactly your keyboard?

Offline Kekeke

  • Posts: 5
Re: [TMK] Keyboard Protocol Converter
« Reply #119 on: Sun, 19 August 2018, 08:34:46 »

Ah, yes RTY should be PD1 in README, I'll update github repo later.

what model is exactly your keyboard?


I think its pc-9801RA keyboard, I dunno where I can see exactly model name) I have same model as this guy - http://island.geocities.jp/cklouch/column/pc98bas/ptpc98kbdra.htm


Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #120 on: Sun, 19 August 2018, 20:32:51 »

Ah, yes RTY should be PD1 in README, I'll update github repo later.

what model is exactly your keyboard?


I think its pc-9801RA keyboard, I dunno where I can see exactly model name) I have same model as this guy - http://island.geocities.jp/cklouch/column/pc98bas/ptpc98kbdra.htm



hmm, I don't have that type keyboard to test and I guess it doesn't accept intialize commands. Can you try patch below to avoid the commands?
The PC98 converter was confirmed just with PC-9801V keyboard and DIGITAL WAVE D-BOARD so far, btw.

Code: [Select]
diff --git a/converter/pc98_usb/matrix.c b/converter/pc98_usb/matrix.c
index 54bb304..0ccf700 100644
--- a/converter/pc98_usb/matrix.c
+++ b/converter/pc98_usb/matrix.c
@@ -71,6 +71,7 @@ static void pc98_inhibit_repeat(void)
 
     // clear recv buffer
     while (serial_recv()) ;
+/*
 RETRY:
     _delay_ms(100);
     pc98_send(0x9C);
@@ -83,6 +84,7 @@ RETRY:
     code = pc98_wait_response();
     if (code != -1) xprintf("PC98: send 70: %02X\n", code);
     if (code != 0xFA) goto RETRY;
+*/
 }
 
 void matrix_init(void)

Offline Kekeke

  • Posts: 5
Re: [TMK] Keyboard Protocol Converter
« Reply #121 on: Mon, 20 August 2018, 08:47:05 »
Thanks for helping but It still doesn't work. Hid_listen said "keyboard start" but its doesn't work. I will dig further or just rebuild whole keyboard like diy-keyboard )


Offline ramencup

  • Posts: 26
Re: [TMK] Keyboard Protocol Converter
« Reply #122 on: Sun, 26 August 2018, 21:57:00 »
Heya, thinking about the IBM 4704 converter. Since this is presumably shipping from Japan, how much will this cost to ship and when should I expect it?
Also, does the converter preserve NKRO?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #123 on: Mon, 27 August 2018, 20:01:45 »
The converters can be shipped usually in a few working days. It usually takes 5-10 days depending on your place. Shipping costs 6usd regardless of your location.

Default firmware supports only 6NKRO you have to configure in Makefile to enable NKRO.

Sent from my WAS-LX2J using Tapatalk


Offline Kekeke

  • Posts: 5
Re: [TMK] Keyboard Protocol Converter
« Reply #124 on: Tue, 04 September 2018, 08:12:49 »
Quote
The PC98 converter was confirmed just with PC-9801V

it's work with my keyboard I think its pc-9801RA. i change unimap. And i am kind of stupid, i messed up with receptable and acceptable connectors side. but now it works except **** and ctrl))

big thanks for this firmware and helping, i'm so happy now.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #125 on: Fri, 07 September 2018, 19:13:21 »
it's work with my keyboard I think its pc-9801RA. i change unimap. And i am kind of stupid, i messed up with receptable and acceptable connectors side. but now it works except **** and ctrl

Great.
What is happened on **** and ctrl?  Do you think it is firmware related problem?
And  what is **** means actually?

Offline Kekeke

  • Posts: 5
Re: [TMK] Keyboard Protocol Converter
« Reply #126 on: Sun, 09 September 2018, 07:04:04 »
shift is shifт why it is in spam list?)

Now it works, something in unimaptrans was not correct for this kind of keyboard

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #127 on: Sun, 09 September 2018, 18:10:16 »
Hello there, I recently obtained a Zenith Z 150 XT and am reporting that your most recent hex file seems to work just fine. I am not experiencing issues with wake up from sleep like fer.real mentioned. FWIW I am on a Mac, and am using teensy with the reset pin wired in. I will test out the converter and report back if I notice anything. Just an fyi :)

Thanks for another awesome project hasu!

Hi Again,

I've been using using the newest hex file you posted for a couple of days and I'm running into an issue.

The new firmware works great when I first plug the converter into the computer.  As long as the computer stays awake, I no longer have any of the random keypresses or repeating keys.

Problems start when my laptop wakes from sleep or hibernation.  As soon as it wakes up, the converter starts sending repeating keystrokes.  If I unplug and reattach the USB cable, the converter works fine again.

Attached is the output of hid_listen after the computer woke from sleep.
(Attachment Link)

Thanks again!

shift is shifт why it is in spam list?)

Now it works, something in unimaptrans was not correct for this kind of keyboard

Great. Post and share your patch for original code!


Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #128 on: Fri, 26 October 2018, 21:05:25 »
[USB-USB]
STL file of enclosure designed for USB -USB converter is available on repo now. Thank you, Gouty@github!
https://github.com/tmk/USB2USB_Converter/tree/master/3D%20Printed%20Case

Try 3D print of the file if you are insterested.

Offline SomRandy

  • Posts: 1
Re: [TMK] Keyboard Protocol Converter
« Reply #129 on: Sat, 10 November 2018, 21:04:35 »
You got any b-stock/refurbished style 4704 converters? Wanna buy one but money is pretty tight

Offline fcoury

  • Posts: 149
  • Location: Brazil
Re: [TMK] Keyboard Protocol Converter
« Reply #130 on: Tue, 20 November 2018, 18:55:06 »
Removed, realized I posted on the wrong thread.

Offline Hypersphere

  • Posts: 1886
  • Location: USA
Re: [TMK] Keyboard Protocol Converter
« Reply #131 on: Wed, 19 December 2018, 16:00:33 »
@Hasu: Regarding your USB-USB converter:

1. Do you sell (and/or do you have other sales outlets) an internal version of the USB-USB converter?

2. Would the internal USB-USB converter work with a Pok3r and/or VIBE keyboard? These use the partial programming functions of the Poker, but they are not completely programmable. In particular, on keyboards with a Poker-type layout, I like to remap the keys to something close to a HHKB layout, in which case I use the RCtrl as my Fn key. With the built-in Poker programming, the RCtrl key cannot be reassigned. However, I have used your external USB-USB converter successfully with the Pok3r, but it would be more convenient for me if I could install the converter inside the case.

Thank you.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #132 on: Thu, 20 December 2018, 01:07:55 »
Hi Hypersphere,

1. No, I have no internal version of the converter. But you can get it without USB connectors for if it is useful for you.

2. When the converter works externally with the keyboard, there is no reason that it doesn't work inside as far as the keyboard has enough room and you can connect wires properly.

Offline Hypersphere

  • Posts: 1886
  • Location: USA
Re: [TMK] Keyboard Protocol Converter
« Reply #133 on: Thu, 20 December 2018, 15:21:29 »
Thanks, Hasu!

Offline Glod

  • * Elevated Elder
  • Posts: 1995
  • Location: Virginia, USA
  • Also Known As Ergonomech
    • YouTube Channel
Re: [TMK] Keyboard Protocol Converter
« Reply #134 on: Thu, 07 February 2019, 11:55:06 »
Although the Linus video is a seal of approval and crazy that TMK has a million views. I feel like credit was not given where credit is due and a lack of knowledge of why TMK exists and the other converters out there. In fact the video triggered me on the focus on auto hot keys and macros and lack of alternative layouts. He makes it sound like QMK and TMK are like a commerical manufacturer of keyboard software in a way. I guess this is the best we are going to get. we appreciate you hasu!


Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #135 on: Mon, 18 February 2019, 21:37:41 »
Several USB-USB converters are back in stock. More will be available until end of the month.
Email me if you are interested.

Thank you

Offline Hypersphere

  • Posts: 1886
  • Location: USA
Re: [TMK] Keyboard Protocol Converter
« Reply #136 on: Wed, 20 February 2019, 13:28:10 »
@Hasu

1. I just got an email today from 1up keyboards saying that they had your USB-USB back in stock, but when I went to their site, it said "out of stock" already!

2. I have sent you an email to order one directly from you.

3. I already have one of your USB-USB converters. Recently, I have been using it with my new RF R2 TKL PFU Edition keyboard. It works fine except for one thing. When I reboot the computer, I have to unplug and replug the converter into the computer in order to get the keyboard working again. Is this normal?




Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #137 on: Wed, 20 February 2019, 16:02:38 »
@Hasu

1. I just got an email today from 1up keyboards saying that they had your USB-USB back in stock, but when I went to their site, it said "out of stock" already!

2. I have sent you an email to order one directly from you.
Yes, they sold really quickly! I'm still working on production of the converters for them but it has been stuck due to chinese new year holidays and its after-disorder.

Thank you for your order!

Quote
3. I already have one of your USB-USB converters. Recently, I have been using it with my new RF R2 TKL PFU Edition keyboard. It works fine except for one thing. When I reboot the computer, I have to unplug and replug the converter into the computer in order to get the keyboard working again. Is this normal?

I'll look into and reply in this thread rather than here to share the issue with more users.
https://geekhack.org/index.php?topic=69169.msg2726404#msg2726404


Offline themoon

  • Posts: 6
Re: [TMK] Keyboard Protocol Converter
« Reply #138 on: Tue, 12 March 2019, 05:28:33 »
Does anyone know if USB-USB converter work with Truly Ergonomic Keyboard (models 207 and 209)? It has some programming functionality via flashing firmware - like layers and simple key remapping - and physical DIP switches for win/mac layouts

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #139 on: Tue, 19 March 2019, 18:10:56 »
USB-USB conveter is back in stock now.

Thank you

Offline v1ld

  • Posts: 2
Re: [TMK] Keyboard Protocol Converter
« Reply #140 on: Thu, 20 June 2019, 12:46:14 »
This converter works very well with the Niz Atom66, which may mean it works with their other keyboards.

Thanks very much for making this converter available for purchase!  I wish I'd known of it years ago.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #141 on: Thu, 20 June 2019, 14:14:29 »
This converter works very well with the Niz Atom66, which may mean it works with their other keyboards.

Thanks very much for making this converter available for purchase!  I wish I'd known of it years ago.

Thanks for letting me know. I added the keyboard in the compatibility list of the converter.

Offline pixelpusher

  • * Elevated Elder
  • Posts: 3833
  • Location: Tennessee - USA
Re: [TMK] Keyboard Protocol Converter
« Reply #142 on: Thu, 20 June 2019, 14:31:35 »
This converter works very well with the Niz Atom66, which may mean it works with their other keyboards.

Thanks very much for making this converter available for purchase!  I wish I'd known of it years ago.

Those are neat boards.  They must be selling well b/c they seem to always be sold out.

Offline v1ld

  • Posts: 2
Re: [TMK] Keyboard Protocol Converter
« Reply #143 on: Thu, 20 June 2019, 17:48:28 »
Those are neat boards.  They must be selling well b/c they seem to always be sold out.

They really are very well designed.  While I've never used a Topre, the EC Nopres feel great to type on.  I was surprised how much I enjoyed the 35g membrane for someone who otherwise likes a lot of tactility.  So much so I decided not to install the 45g membrane and have even started to re-evaluate my choices elsewhere in terms of typing fatigue.

I hope someone comes up with a good way to use Niz/Plum EC switches with all the boards we can build today.

Offline rjohn

  • Posts: 52
Re: [TMK] Keyboard Protocol Converter
« Reply #144 on: Sun, 24 November 2019, 10:15:16 »
hello

if i want to connect my WASD vp3 usb keyboard to a PS/2 computer port ,do you have a converter that will work (without programing)?
« Last Edit: Sun, 24 November 2019, 10:18:01 by rjohn »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #145 on: Sun, 24 November 2019, 18:26:18 »
No. These conveters translate classic keyobard protocols to use with modern computer through USB port.

hello

if i want to connect my WASD vp3 usb keyboard to a PS/2 computer port ,do you have a converter that will work (without programing)?


Offline rjohn

  • Posts: 52
Re: [TMK] Keyboard Protocol Converter
« Reply #146 on: Sun, 24 November 2019, 23:37:49 »
i see,thanks.

Offline giammin

  • Posts: 64
  • Location: bologna, italy
Re: [TMK] Keyboard Protocol Converter
« Reply #147 on: Mon, 25 November 2019, 02:38:22 »
hello

if i want to connect my WASD vp3 usb keyboard to a PS/2 computer port ,do you have a converter that will work (without programing)?

cant you just use the included usb to ps2 adapter?

Offline rjohn

  • Posts: 52
Re: [TMK] Keyboard Protocol Converter
« Reply #148 on: Mon, 25 November 2019, 04:45:24 »
WASD vp3 dont have a p/s2 to usb adaptor and neither work with one already tryed.only V3 works if you downgrade the firmware to ver:2.5

Offline giammin

  • Posts: 64
  • Location: bologna, italy
Re: [TMK] Keyboard Protocol Converter
« Reply #149 on: Mon, 25 November 2019, 04:59:09 »
sorry i read wasd and did not read the model

Offline Nizkeyboard

  • Posts: 71
  • Location: www.nizkeyboard.com
    • nizkeyboard
Re: [TMK] Keyboard Protocol Converter
« Reply #150 on: Wed, 25 December 2019, 19:10:29 »
This converter works very well with the Niz Atom66, which may mean it works with their other keyboards.

Thanks very much for making this converter available for purchase!  I wish I'd known of it years ago.

Thanks for confirming this.

Offline supermario802.1

  • Posts: 30
    • tinkerBOY
Re: [TMK] Keyboard Protocol Converter
« Reply #151 on: Sun, 12 January 2020, 00:27:29 »
Is there any TMK firmware for SAMD21/Arduino Zero boards yet?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #152 on: Sun, 12 January 2020, 02:15:29 »
Is there any TMK firmware for SAMD21/Arduino Zero boards yet?

No.

Offline ZyBeR

  • Posts: 156
Re: [TMK] Keyboard Protocol Converter
« Reply #153 on: Tue, 21 January 2020, 16:14:29 »
Can I run this on an Elite-C controller?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #154 on: Tue, 21 January 2020, 17:39:23 »
Can I run this on an Elite-C controller?

No. The firmwares including codes depending on AVR.

Offline Blaise170

  • * Esteemed Elder
  • Posts: 1332
  • Location: Boston, MA
  • ALPS キーボード
    • XYZ
Re: [TMK] Keyboard Protocol Converter
« Reply #155 on: Fri, 20 March 2020, 18:23:13 »
Do you still have converters for sale? Wouldn't mind getting one for my PC-9800 if you do.
I proxy anything including keyboards (キーボード / 鍵盤), from both Japan (日本) and China (中國). For more information, you may visit my dedicated webpage here: https://www.keyboards.es/proxying.html

View my current and past keyboards here: https://deskthority.net/wiki/User:Blaise170

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #156 on: Fri, 20 March 2020, 19:40:33 »
Do you still have converters for sale? Wouldn't mind getting one for my PC-9800 if you do.

Yes, check the first post and email me. Thanks

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #157 on: Tue, 21 April 2020, 23:41:59 »
[UPDATE] PS/2 and SUN Converter

New 'IBM PC keyboard converter' firmware is available for PS/2(and Terminal) converter now.
https://geekhack.org/index.php?topic=103648.0

You can download it from Keymap Editor.
http://www.tmk-kbd.com/tmk_keyboard/editor/#ibmpc_usb
http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?ibmpc_usb



Also Keymap Editor is available for SUN converter now.

http://www.tmk-kbd.com/tmk_keyboard/editor/#sun_usb
http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?sun_usb

Offline nevin

  • Posts: 1482
  • Location: US
Re: [TMK] Keyboard Protocol Converter
« Reply #158 on: Wed, 22 April 2020, 16:43:39 »
...someone's been busy.
thanks hasu!
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline kelvinhall05

  • Posts: 69
  • Location: London, Ontario
    • LinusTechTips
Re: [TMK] Keyboard Protocol Converter
« Reply #159 on: Mon, 18 May 2020, 11:10:45 »
Am I allowed to ask for help with flashing your ADB firmware onto my own pro micro-based converter? I can't figure out where to download the hex file to do so.

Offline mrSanders

  • Posts: 0
Re: [TMK] Keyboard Protocol Converter
« Reply #160 on: Fri, 31 July 2020, 04:46:43 »
[UPDATE] PS/2 and SUN Converter

New 'IBM PC keyboard converter' firmware is available for PS/2(and Terminal) converter now.
https://geekhack.org/index.php?topic=103648.0

You can download it from Keymap Editor.
http://www.tmk-kbd.com/tmk_keyboard/editor/#ibmpc_usb
http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?ibmpc_usb



Also Keymap Editor is available for SUN converter now.

http://www.tmk-kbd.com/tmk_keyboard/editor/#sun_usb
http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?sun_usb
hello, with the adapter will the joystick CH FIGHTER STICK for macintosh work on the pc?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #161 on: Fri, 31 July 2020, 07:59:32 »
No, joystick is not supported.

Offline nevin

  • Posts: 1482
  • Location: US
Re: [TMK] Keyboard Protocol Converter
« Reply #162 on: Fri, 31 July 2020, 11:04:46 »
Am I allowed to ask for help with flashing your ADB firmware onto my own pro micro-based converter? I can't figure out where to download the hex file to do so.

1. make sure your promicro is 5v/16mHz (ATmega32U4 processor)
2. download or edit the rev.1 of the firmware for ATmega32U4
  - rev.2 is for ATmega32U2 processors (this won't work)

you can find more info below:
TMK configurator
TMK Github for ADB oconverter
« Last Edit: Fri, 31 July 2020, 11:10:00 by nevin »
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Drag0nFly

  • Posts: 67
Re: [TMK] Keyboard Protocol Converter
« Reply #163 on: Fri, 12 March 2021, 08:10:45 »
Hello @hasu –

Not sure if this is the right thread to post in, so my apologies if not. I was nudged in your direction by a fellow member on the forum (@Maledicted) as I've been looking into ways of getting a (supposedly) XT-compatible board working, but did not as yet have any success with my Soarer converter, which is why I am considering trying the TMKs. :)

It also depends on whether you are up to a challenge (of sorts). The board in question is the Copam K-430 (which another member on the forum, @MandrewDavis, converted using a new PCB and quite some other impressive work in the “Keyboard of the Month” thread). There are scarce details on Deskthority, only stating "XT" as the protocol (which is not altogether accurate – https://deskthority.net/wiki/Copam_K-430)

However, I would like to get it working with an adapter (if at all possible). I know the Soarer adapter I have does not have the XT-reset line wired up (it might not have anything to do with this issue, but nevertheless I am mentioning it in case). The board seems to go through an initialization procedure, and one can toggle the Caps Lock LED. No scancodes are seen.

I'd obviously be up for testing functionality and firmware revs, providing the fw can be upgraded via Linux.

Some pics of the board which does not speak 'proper XT' ;)






A separate question (which is probably easier to answer: I see you are selling an X68000 (Sharp) converter for the "Japanese" Amiga (which is using the mini DIN 7 interface). Are you also planning to offer converters for the Amiga (2000 & 3000/4000) series – https://deskthority.net/wiki/Commodore_Amiga_2000 ?

These use a proprietary protocol, and is probably not that well-known outside of Europe & the U.S. Some of the keyboards (esp. the Cherry which is based on the G80 and has double-shot keycaps is quite good)

Thanks for any input, and greetings from Norway.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #164 on: Sat, 13 March 2021, 19:17:22 »
You can try my IBM PC Keyboard Converter firmware with the XT keyboard, first.
Report its result in the thread.
https://geekhack.org/index.php?topic=103648.0

If that does not work it is time to setup Reset line on your converter. Or you can buy converter with DIN-5.

There is no plan for Amiga, I don't have any unfortunately.


Offline Drag0nFly

  • Posts: 67
Re: [TMK] Keyboard Protocol Converter
« Reply #165 on: Sun, 14 March 2021, 10:01:02 »
Hi hasu, (love your Avatar, brings back fond memories of “Bubble Bubble”, which was among the first games I played on my Amiga 500) :)


Thanks for your reply. I assume this is the product you had in mind –

IBMPC   AT, XT, PS/2*   DIN-5(180°)   $36   Use adapter cable for PS/2

Since the XT reset line seems to normally not be wired up, I assume there are some adverse affects if it is wired?

I might get this along with your Sun adapter cable, as I have a Sun Type 5 keyboard (assuming the infamous c19 situation allows for shipping to Northern Europe)

btw.-I did not expect you to offer an Amiga converter (but had to ask! :). (If I still had my spare A2000 Mitsumi keyboard I could have shipped it to you, but it was recently sold unfortunately.)

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #166 on: Sun, 14 March 2021, 18:23:34 »
Since the XT reset line seems to normally not be wired up, I assume there are some adverse affects if it is wired?
Yes, reset line is critical for some XT keyboards and they don't work without reset line.
If your keyboad has reset line you will need its support on converter probably.

EDIT:  I didn't know meaning of the word "adverse" and I think I read it in wrong way.
Your are right. I believe reset line support doesn't affect because most of keyboards don't have it.
The rest of XT and all of AT keyobards don't have reset line virtually, as the first post says at "Reset pin".
https://geekhack.org/index.php?topic=103648.0
Also check this.
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-XT-Keyboard-Protocol#keyboard-hard-reset

I found your thread for the Copam keyboard and subscribe it. You can post further info/question there instead of this thread.
https://geekhack.org/index.php?topic=111510.0
« Last Edit: Sun, 14 March 2021, 18:42:52 by hasu »

Offline smleeeeee

  • Posts: 0
Re: [TMK] Keyboard Protocol Converter
« Reply #167 on: Fri, 28 May 2021, 09:25:54 »
Hi Hasu! Do you by any chance make converters for the IBM Pingmaster, Wyse terminal keyboards (10 pin I believe), and the old SGI keyboards (non-ps/2)? If not, do you know of anyone who might be able to? Thanks!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #168 on: Fri, 28 May 2021, 09:39:23 »
I think IBM4704 converter supports the "Pingmaster" probably,  but don't know how people use the word exactly.
Check the first post of this thread and IBM4704 converter thread for detailed info.

I don't have useful info for other keyboards.

Offline Horsebadorties

  • Posts: 6
  • Location: Eastern Seaboard
Re: [TMK] Keyboard Protocol Converter
« Reply #169 on: Fri, 25 June 2021, 23:35:07 »
Another noob question, I'm afraid. I have a ConnectPro KVM that will not accept a Realforce R2 Topre keyboard. Apparently the KVM cannot handle the keyboard's NKRO, which cannot be disabled.  Could this protocol converter mask or block the NKRO, so the KVM perceives the keyboard as a generic one?

The keyboard does work when plugged into the KVM's USB hub, but then I lose the KVM's emulation and hot-key features.

Thanks in advance for any suggestions.

Offline nevin

  • Posts: 1482
  • Location: US
Re: [TMK] Keyboard Protocol Converter
« Reply #170 on: Fri, 25 June 2021, 23:52:02 »
i think any of the converters will have trouble with NKRO as it's usually emulating multiple keyboards to achieve NKRO. (this may or not be the case with the Realforce R2, i have no experience with that board)
... but USUALLY nkro is BAD.

i'm sure hasu will chime in and give more details.
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #171 on: Sat, 26 June 2021, 01:17:53 »
USB-USB converter may help the situation perhaps, but I can't assure anything before trying in reality.
The converter works with Realforce R2, btw. Check the first post of the converter thread if not yet.
https://geekhack.org/index.php?topic=69169.0


Did you try updating firmware on both the keyboard and KVM?
Contact the KVM/keyboard manufacturer if not, they may fix and make new firmware for you.

I'm interested in seeing USB descriptor of Realforce R2 and the KVM. Can you post their descriptor if possible?
https://github.com/tmk/tmk_keyboard/wiki/USB:-Descriptor#usb-device-tree-viewer

Offline Horsebadorties

  • Posts: 6
  • Location: Eastern Seaboard
Re: [TMK] Keyboard Protocol Converter
« Reply #172 on: Sat, 26 June 2021, 10:35:40 »
The converter works with Realforce R2, btw. Check the first post of the converter thread if not yet.
Yes, I saw that, and was much encouraged!

Did you try updating firmware on both the keyboard and KVM?
Contact the KVM/keyboard manufacturer if not, they may fix and make new firmware for you.
I updated the keyboard, but there's no new KVM firmware.  The KVM vendor did not have any suggestions; neither did the keyboard reseller (the manufacturer is unreachable).

I'm interested in seeing USB descriptor of Realforce R2 and the KVM. Can you post their descriptor if possible?
Sure. The files are attached. Thanks for your interest!!!

Offline Horsebadorties

  • Posts: 6
  • Location: Eastern Seaboard
Re: [TMK] Keyboard Protocol Converter
« Reply #173 on: Sat, 26 June 2021, 13:57:10 »
Just a follow-up to the USB descriptor I provided for the ConnectPro UD-12+ KVM. At the time, a Hexgears Nova B2 TKL keyboard and a Logitech USB receiver were plugged in to the KVM. So their USB descriptors are included in the KVM descriptor.

Also, I should have posted my original question in the USB-USB converter thread, not this one. Sorry 'bout that!
« Last Edit: Sat, 26 June 2021, 14:25:49 by Horsebadorties »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #174 on: Sat, 26 June 2021, 22:37:43 »
Thanks for the descriptors and the info.
I didn't know KVM with DDM at all and it is very intriguing device.


The keyboard does work when plugged into the KVM's USB hub, but then I lose the KVM's emulation and hot-key features.

I'm not sure I can undertand what your problem is exactly.

You can type normally with Realforce R2 through the KVM, but hot-key only doesn't work with the keyboard. This is right?
I'm assuming that hot-key is key sequence like [ctrl] [ctrl] [1] here.

What does "KVM's emulation" mean exactly?


I think both Realforce R2 and Hexgears Nova B2 TK support NKRO with seeing their descriptors. I like to know if they still work as NKRO keyboard through the KVM or degrade to 6KRO mode. Can you test that?
Using key test tool see if you can hold more than 6 keys(except for modifiers) at same time.

https://www.majorgeeks.com/files/details/switch_hitter.html

Offline Horsebadorties

  • Posts: 6
  • Location: Eastern Seaboard
Re: [TMK] Keyboard Protocol Converter
« Reply #175 on: Sun, 27 June 2021, 00:43:43 »
Thanks for the descriptors and the info.
I didn't know KVM with DDM at all and it is very intriguing device.
Yes, many of the ConnectPro KVMs use DDM. It's very useful. https://connectpro.com/technology/usb-ddm/. But it works only with the KVM's dedicated Keyboard and Mouse ports.

I'm not sure I can undertand what your problem is exactly.
The problem is that I cannot use the Realforce R2 keyboard with the KVM's dedicated Keyboard port. I can plug it into one of the KVM's generic USB ports and type normally, but there are three annoying issues:
1. I cannot use the KVM's hot key sequences ([ctrl][ctrl][1] or [ctrl][ctrl][2]) to switch computers;
2. When I switch computers with the KVM's buttons, there's a lag of a few seconds before the keyboard is active on the computer I'm switching to. Also, both devices beep while they lose or gain the USB connection.
3. Even though I've disabled time-out on both computers, if I do not switch to one computer for a few hours, the KVM loses the monitor connection to that computer. I'm not 100% sure this is related to the keyboard using the generic USB port, but it has happened three times in one week. This never happens when my other keyboard is on the KVM's keyboard port.

What does "KVM's emulation" mean exactly?
Sorry, I was not using the correct term. I was referring to the KVM's ability to maintain each computer's connection to the keyboard on the dedicated port. In other words, DDM.

I think both Realforce R2 and Hexgears Nova B2 TK support NKRO with seeing their descriptors. I like to know if they still work as NKRO keyboard through the KVM or degrade to 6KRO mode. Can you test that?
Using key test tool see if you can hold more than 6 keys(except for modifiers) at same time.
https://www.majorgeeks.com/files/details/switch_hitter.html
I didn't even know that the Hexgears Nova uses NKRO. Indeed, NKRO does work through the KVM's dedicated keyboard port. Thanks for pointing me to Switch Hitter -- a very interesting tool! With the help of a small hard-cover notebook, I was able to hold 40 keys on the Nova, while connected to the KVM and then while connected to a port on the computer. I got similar results with the Realforce R2 while connected to the computer. I'm attaching log files for all three scenarios. The filenames should provide contexts.

I am confused by these results, after hearing from both support teams that the Realforce's NKRO is at fault. Maybe the Realforce implements NKRO differently. I should reiterate that the KVM does not accept even a single keystroke from the Realforce when it's on the dedicated keyboard port.

By the way, the Hexgears Nova has a key sequence ([Fn]+[~]) to disable NKRO. Then, Switch Hitter confirms that only 6 keys register. The key sequence has no effect on the Realforce.

Thanks again!

Offline Horsebadorties

  • Posts: 6
  • Location: Eastern Seaboard
Re: [TMK] Keyboard Protocol Converter
« Reply #176 on: Sun, 27 June 2021, 01:09:45 »
Hi again Hasu,

Here's another data point, in case you're interested. I just got a Pimoroni Keybow 2040 keypad: https://shop.pimoroni.com/products/keybow-2040?variant=32401989337171.

Just like the Realforce keyboard, it works on a generic USB port, but not on the KVM's keyboard port. I'm attaching the USB TreeView report for the keypad.

Thanks!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3329
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] Keyboard Protocol Converter
« Reply #177 on: Sun, 27 June 2021, 02:16:15 »
I see. I didn't found that KVM has two different kind of USB port when checked their site.

I believe you can use hotkey on keyboard pluged into 'DDM' port, not 'generic' port.

Assuming the Hexgear keyboard was connected to 'DDM' port' on SwitchHitter_Hexgears_Nova_thruKVM.log.
Impressive. The KVM can recognizes key strokes from keyboard on 'DDM' port even if the keyboard is NKRO.
It is not easy job for small device to parse USB descriptor and understand NKRO keyboard report.
And it seems to fail to handle NKRO report from Realforce R2 in fact.

I have a bit old Realforce RGB in hand and it has very similar or equivalent USB descriptor to R2.
https://gist.github.com/tmk/7c089602ce7eb70b9be64c7e822be3b9

Realforce RGB/R2 has two keyboard interfaces, one for usual 6KRO keyboard(interface0) and other for NKRO(interface1).
And the keyboard uses interface0 in most cases during usual usage, inteface1 is used only when user press more than 6 keys simultaneously.
Intention of this trick is for compatibility and it should work with legacy and small devices, but it doesn't seem to work with the KVM unfortunately for some reason.

Offline Horsebadorties

  • Posts: 6
  • Location: Eastern Seaboard
Re: [TMK] Keyboard Protocol Converter
« Reply #178 on: Sun, 27 June 2021, 06:51:01 »
Hi Hasu,

I see. I didn't found that KVM has two different kind of USB port when checked their site.
I believe you can use hotkey on keyboard pluged into 'DDM' port, not 'generic' port.
That's right. The ConnectPro KVMs usually have two DDM-enabled USB-A ports in back, and two generic USB-A ports in front. In fact, most modern KVMs have two types of USB ports, even if they don't use DDM. KVMs watch only the dedicated keyboard and mouse ports for hotkey sequences.

Assuming the Hexgear keyboard was connected to 'DDM' port' on SwitchHitter_Hexgears_Nova_thruKVM.log.
Impressive. The KVM can recognizes key strokes from keyboard on 'DDM' port even if the keyboard is NKRO.
It is not easy job for small device to parse USB descriptor and understand NKRO keyboard report.
And it seems to fail to handle NKRO report from Realforce R2 in fact.
Exactly correct. But we can't be sure exactly why the KVM fails with the Realforce R2. Maybe NKRO is not the true cause of the problem! And if we don't understand the cause, we probably cannot fix the problem.

A KVM is essential to me, as I very frequently switch between my work and personal computers. As much as I like the Realforce keyboard, I cannot use it without the KVM. I will probably return it to the seller.

Thanks so much, Hasu.