geekhack

geekhack Projects => Making Stuff Together! => Topic started by: ErgoMacros on Sat, 07 October 2017, 19:22:51

Title: Getting a Cherry G80-9009 to work with PS/2 or USB? And the LCD screen too?
Post by: ErgoMacros on Sat, 07 October 2017, 19:22:51
Hi All,

I've seen evidence that some people have gotten the Cherry G80-9009 (Cherry G80-9009 HAG) to "talk" to a "normal" computer and am considering doing the same.

The evidence I've see is:
It looks to me like there are 3 ports on the back of the keyboard, labeled:
I'm hopeful that the "Desk PC" port will output something useful, or convertible, to scan-codes.

It would be wonderful if someone had any documentation on these keyboards.

Thanks.
Title: Re: Getting a Cherry G80-9009 to work with PS/2 or USB? And the LCD screen too?
Post by: ErgoMacros on Mon, 09 October 2017, 18:32:15
OK, I found more information here: https://www.ptt.cc/bbs/Key_Mou_Pad/M.1499538853.A.F7F.html (https://www.ptt.cc/bbs/Key_Mou_Pad/M.1499538853.A.F7F.html)

It's a Chinese site, updated recently (Sun Jul  9 02:34:09 2017) It has some cool info:

I'm guessing that connecting from the keyboard DB-9 port labeled "Desk PC/Workstation," via a custom cable to a PS/2 port on the PC would transmit scan codes.

What I don't know is if the keyboard needs power beyond what the PS/2 port can provide, and what port/pins we'd use for that.

Thanks.
Title: Re: Getting a Cherry G80-9009 to work with PS/2 or USB? And the LCD screen too?
Post by: mwei on Sun, 22 October 2017, 05:16:06
Hi. This is Meow Wei on YouTube.

The article you've seen on ptt.cc is posted by my friend as we are getting from the same dumpster find.

I am forwarding the information here:
Currently I measured the power cable to be like this:
DB15 Female 12V (12.6V measured) 2.5A (Labeled on the adapter) or 0.5A (Labeled on the keyboard)
Vin 12, 13, 14
GND 4, 5, 6, 8
And a bunch of passthrough pins from the kmd3 breakout box (keyboard/mouse switch), which is then connected to the terminal I guess.  I actually don't know yet if the breakout box requires power or not since I haven't really tested it.

The model I've got is a G80-9039HAAUS, which although looks identical the circuit boards uses SMD components instead of through-hole to manufacture. Also, the UART chip is replaced by a FPGA, though I don't actually know what it is doing.
I also dumped the firmware and modified the boot logo to be the newest Reuters logo too, although I found nothing that can change the keymapping or is difficult for me to do so. (I don't do reverse engineering, and I miss Windows key as I need it really much)

Here's the pictures of its internals:
https://www.flickr.com/photos/medicalwei/albums/72157687379663331

UPDATE: The internals of the breakout box is also uploaded.  It seems that other than connecting to a Sun computer the breakout box doesn't need extra power adapter, but the power pins are also passed through the breakout box.
Title: Re: Getting a Cherry G80-9009 to work with PS/2 or USB? And the LCD screen too?
Post by: ErgoMacros on Sun, 22 October 2017, 13:57:35
Wow! Great photos. Looks like your keyboard is much more modern than all the G80-9009s I've seen.

Edit (add):
If you use the DP-9 to PS/2 wiring, above (post #2), then a PS/2 to USB Soarer converter:
  https://www.ebay.com/itm/NEW-PS-2-to-USB-Soarers-Converter-Adapter-Remapping-Macros-NKRO-Support-/282575686221

you will be able to re-map any keys you want... even going to the Windows key. For example:
* Control --> Control
* Alt --> Windows
* ABBR --> Alt

Of course, you can swap key caps all you want, also.
Title: Re: Getting a Cherry G80-9009 to work with PS/2 or USB? And the LCD screen too?
Post by: mwei on Sun, 22 October 2017, 22:37:13
you will be able to re-map any keys you want... even going to the Windows key. For example:
* Control --> Control
* Alt --> Windows
* ABBR --> Alt

My problem to this is that ABBR key in Linux xev didn't send any key code, and I want to remap the key to Windows (Super) key.
Title: Re: Getting a Cherry G80-9009 to work with PS/2 or USB? And the LCD screen too?
Post by: ErgoMacros on Mon, 23 October 2017, 09:20:12
Ah, then it must be sending some information out the host port, likely that is only sent to the (Sun) workstation. I am guessing.

Maybe you could move everything even farther left? or put Windows on the "Raise Orders" key?
Lastly, try the blank key next to the left shift?

You probably already thought of these though.

good luck.