Author Topic: XT/AT/PS2/Terminal to USB Converter with NKRO  (Read 553974 times)

0 Members and 3 Guests are viewing this topic.

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #700 on: Wed, 06 March 2013, 15:23:56 »
Yeah, I know what you mean.  The docs are a great reference once you know what questions to ask.  People learn things differently.  I learn the most quickly by working backwards from an example.  Unfortunately, I missed Halver's.  Most folks are going to have a specific project in mind when using this.  I imagine that IBM XT and terminal keyboard owners are probably some of your biggest users.  It may be worthwhile to provide walk-throughs for those and provide boilerplate configs for those projects' FAQs?

Hmm, I dunno, each person's project has different goals! I think it's a better approach for me to fill in the gaps in the documentation, since there's really very little that's unique to any keyboard type. Or at least to do that first, otherwise the answer to someone's AT-related question might be hiding in the 122-key tutorial, for example, and they could easily not find it.

Also, I think making an index of the example configs will help, since I'll try to highlight the notable features of each rather than just say "Halvar's config for 122-key".

Offline wcass

  • Posts: 498
  • Location: Fort Lauderdale, FL, USA
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #701 on: Wed, 06 March 2013, 16:12:08 »
...
I forgot to mention, the program has a few odd quirks (who doesn't?)

It ignores "Tab", it locks up after "F10", and it respects "CapLock"

If it goes funny during or after "F10", "Alt" or "Spacebar" you should use your mouse to highlight whatever is in the dialog box, then when you press a key it will go back to normal.

These are not bugs, they are "idiosyncrasies" - HAHA


ROTFL
i recomend "Aqua Key Test" - much easier to search for. download from OTD or GH links to make sure you get the right one.
http://geekhack.org/index.php?topic=34670.0
 
« Last Edit: Wed, 06 March 2013, 16:17:45 by wcass »

Offline fohat.digs

  • * Elevated Elder
  • Posts: 5519
  • Location: 34.04 N 84.47 W
  • weird funny old guy
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #702 on: Wed, 06 March 2013, 16:56:06 »
...
I forgot to mention, the program has a few odd quirks (who doesn't?)

It ignores "Tab", it locks up after "F10", and it respects "CapLock"

If it goes funny during or after "F10", "Alt" or "Spacebar" you should use your mouse to highlight whatever is in the dialog box, then when you press a key it will go back to normal.

These are not bugs, they are "idiosyncrasies" - HAHA


ROTFL
i recomend "Aqua Key Test" - much easier to search for. download from OTD or GH links to make sure you get the right one.
http://geekhack.org/index.php?topic=34670.0
 

I don't get it.

Aqua Key Test would seem to be OK if you are testing an ANSI keyboard to see whether the keys are working, but since I am accustomed to keyboardtest.exe, all the others are just annoying. I don't remember what I used before, since I am happy now.

I really want the ability to identify keys not standard to an ANSI board. How do I use it to find out which key is F22? What about "Media Pause" or "Numpad *"? Aqua does show the keycode in tiny print at the bottom, but without identifying the key for a simpleton like me.

keyboardtest.exe works great for all this, too, and seems more user-friendly. I can easily live with a few known glitches if it solves my problems.


« Last Edit: Wed, 06 March 2013, 17:02:08 by fohat.digs »
In his book A Higher Loyalty: Truth, Lies, and Leadership, Comey wrote that working for Trump gave him “flashbacks to my earlier career as a prosecutor against the Mob. The silent circle of assent. The boss in complete control. The loyalty oaths. The us-versus-them worldview. The lying about all things, large and small, in service to some code of loyalty that put the organization above morality and above the truth.”

McCabe, who similarly had experience prosecuting Russian organized-crime rings, has observed that Mueller's approach to investigating Trump tracks how one would go about investigating a crime ring. "There are a lot of patterns in what Director Mueller is doing that are very familiar to me," McCabe told The Atlantic: "You can certainly look at what Mueller’s done so far to say he is doing exactly what we would do with the investigation of a cartel or an organized-crime family."

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #703 on: Wed, 06 March 2013, 17:04:38 »
Aqua's is great if you want bypass autohotkey etc., but I also (most of the time, actually) like to use a tester that doesn't hook so deeply and just listens to Windows messages. OTOH, one that doesn't go funny after F10, Alt or Space is good!

Offline metalliqaz

  • * Maker
  • Posts: 4911
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #704 on: Wed, 06 March 2013, 17:25:00 »
So which do you use, Soarer?  ;D

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #705 on: Wed, 06 March 2013, 17:46:45 »
Also, I think making an index of the example configs will help, since I'll try to highlight the notable features of each rather than just say "Halvar's config for 122-key".

If you're going to be updating the documentation anyway, I think it would be a great idea to give a list of some places to find the materials necessary -- it was a big help to me when I made my converter having someone point out what the right connector was, and where it could be found. You couldn't post a link itself, but listing some electronics companies might help others.
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #706 on: Wed, 06 March 2013, 17:50:49 »
So which do you use, Soarer?  ;D

Well my own, of course! :D

I started writing it before I knew of Aqua's (perhaps before Aqua's was available, I dunno). I might release it at some point, but it's only ever as good as I need at any given time, as a tool for programming.



Offline wcass

  • Posts: 498
  • Location: Fort Lauderdale, FL, USA
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #707 on: Wed, 06 March 2013, 22:02:09 »
at one time, i dreamt of writing a GUI for Soarer's that would be as easy to use as the Aikon UI. the app use hid_listen to identify what key you just hit and you use the mouse to select what to assign that key to from 4 tables (non-printed characters, common printed characters, uncommon printed characters, predefined macros). alas, i have not the time or skill.

someone might find this useful. it is a big table of HID id's and PS2 make/break codes. iirc i got if from Microsoft.
* USB-PS2.xls (63 kB - downloaded 147 times.)



Offline sleepy916

  • Posts: 859
  • Location: East Bay, California
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #708 on: Sat, 09 March 2013, 18:01:33 »
I haven't posted in here yet but I certainly have read this thread more than a few times. I would have been lost without it, thank you Soarer.

AKIMbO mentioned to put this here so I will.

I made this little picture looking at my post it notes. Not sure if it is useful for anybody but I'll post it here anyways. My paint skills leave a lot of room for improvement. This is specifically for my AT Model F.

(╯°□°)╯︵ ┻━┻)



Fixed...
« Last Edit: Sat, 09 March 2013, 19:50:18 by sleepy916 »

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #709 on: Sat, 09 March 2013, 19:07:21 »
Oh, that's cool  :cool:

But something's wrong somewhere because it should have clock -> pd1 and data -> pd0 in both cases  :)

Offline sleepy916

  • Posts: 859
  • Location: East Bay, California
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #710 on: Sat, 09 March 2013, 19:49:04 »
Oh, that's cool  :cool:

But something's wrong somewhere because it should have clock -> pd1 and data -> pd0 in both cases  :)

Ahh...my copy and paste skills..  :(

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #711 on: Mon, 11 March 2013, 13:28:34 »
I juuuuust unpacked a Model F 122-key (my first Model F) and I notice it has the same 240-degree DIN plug as my Model M 122-keyboard. Is it safe for me to plug this thing into my existing Soarer converter? Any thoughts? My first reactions are:

1. Frickin' HEAVY. This is the keyboard that will survive the apocalypse, for sure. It's just so solidly built. You could use it to work your upper body, like that guy who used his typewriter in Misery.
2. Yeah... it's damnably *pingy* -- "This is the machine that goes *PiNg!*" <--- Monty Python reference. It may grow on me. The sound somehow makes it sound ... cheaper? Though I know that's not the case. I'll consider floss modding eventually.
3. The feet. How do the feet engage? Just pushing on them with fingers doesn't work. The circles on the edges of the keyboard don't have any kind of fingerhold that would allow me to rotate them into position. See potato pics below.

15435-0
15437-1
15439-2
15441-3

Yes! Press the buttons on the edge, and the flippers (they're pinball-sized flipper feet) slide down. The angle at which the keyboard is set when the feet are engaged is... feels steep! Anyway, thought I'd share the unwrapping.

GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline rknize

  • * Administrator
  • Posts: 1717
  • Location: Chicago
    • metaruss
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #712 on: Mon, 11 March 2013, 13:36:48 »
There are two sets of feet.  The inner ones are a bit tricky to coax out of the outer ones, but it gives a more typical angle.
Russ

Offline fohat.digs

  • * Elevated Elder
  • Posts: 5519
  • Location: 34.04 N 84.47 W
  • weird funny old guy
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #713 on: Mon, 11 March 2013, 13:38:37 »
Those double feet area trick if you want to take the case apart - pay VERY close attention to how they are assembled. I never use them.

The sound is really too much without the floss mod. Somebody said that the board "sings" and I think that is a good description.

As to the weight, people keep talking about "6 pounds" I don't know where that comes from. All mine weight 8 and a quarter.
In his book A Higher Loyalty: Truth, Lies, and Leadership, Comey wrote that working for Trump gave him “flashbacks to my earlier career as a prosecutor against the Mob. The silent circle of assent. The boss in complete control. The loyalty oaths. The us-versus-them worldview. The lying about all things, large and small, in service to some code of loyalty that put the organization above morality and above the truth.”

McCabe, who similarly had experience prosecuting Russian organized-crime rings, has observed that Mueller's approach to investigating Trump tracks how one would go about investigating a crime ring. "There are a lot of patterns in what Director Mueller is doing that are very familiar to me," McCabe told The Atlantic: "You can certainly look at what Mueller’s done so far to say he is doing exactly what we would do with the investigation of a cartel or an organized-crime family."

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #714 on: Mon, 11 March 2013, 13:49:34 »
There are two sets of feet.  The inner ones are a bit tricky to coax out of the outer ones, but it gives a more typical angle.

Really? Gotta give those a try. Do you guys think my Soarer converter will work with this Model F? The one I made for my Model M 122-key has the exact same connector... is it safe to just plug this guy into it same as the Model M?
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #715 on: Mon, 11 March 2013, 13:54:15 »
As to the weight, people keep talking about "6 pounds" I don't know where that comes from. All mine weight 8 and a quarter.

Yeah, this is way more than 6 pounds.
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline rknize

  • * Administrator
  • Posts: 1717
  • Location: Chicago
    • metaruss
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #716 on: Mon, 11 March 2013, 13:57:01 »
There are two sets of feet.  The inner ones are a bit tricky to coax out of the outer ones, but it gives a more typical angle.

Really? Gotta give those a try. Do you guys think my Soarer converter will work with this Model F? The one I made for my Model M 122-key has the exact same connector... is it safe to just plug this guy into it same as the Model M?

If it's the same connector and the converter is setup for the terminal key map, it should "just work".
Russ

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #717 on: Mon, 11 March 2013, 15:06:03 »
Model M 122-key (square label and hat key vintage): 6lbs 3.5oz / 2.8kg  :)

Model F 122-key: 8lbs 12.75oz / 4kg :D

Filco TKL: ~0.9kg (from memory)  :))

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #718 on: Mon, 11 March 2013, 17:25:38 »
Well, it "just works" -- except one key won't work. Just ONE, lol. So far I've tried removing both parts of the keycap, and when the spring itself is brushed even slightly it will register on AquaKeytest as having been pressed, but once the two pieces are replaced over the spring, nothing. Any idea what could cause that behavior? Here's hoping I don't have to take it apart.
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline rknize

  • * Administrator
  • Posts: 1717
  • Location: Chicago
    • metaruss
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #719 on: Mon, 11 March 2013, 17:48:57 »
Sounds like the spring is bent or not seating in the key cap correctly. If its the latter, leaning the board back while inserting the cap sometimes helps
Russ

Offline poxeclipse

  • Posts: 171
  • Location: Toronto, Canada
  • Hit me with music ... yes, me friend
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #720 on: Mon, 11 March 2013, 20:06:45 »
rknize is right, it happens during shipping, some hammers move and the spring doesn't sit properly in the key cap.
The key cap has, sometimes, a small nib, which should sit inside the spring; if not, then the spring doesn't bent and doesn't move the hammer, so there is no change in capacitance and no signal sent. The sound is different, with no 'ping'.
« Last Edit: Mon, 11 March 2013, 20:30:23 by poxeclipse »

Offline sleepy916

  • Posts: 859
  • Location: East Bay, California
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #721 on: Mon, 11 March 2013, 21:34:34 »
I noticed that the Model Fs were harder to get the keycap on correctly than the Model Ms.

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #722 on: Tue, 12 March 2013, 06:51:14 »
rknize is right, it happens during shipping, some hammers move and the spring doesn't sit properly in the key cap.
The key cap has, sometimes, a small nib, which should sit inside the spring; if not, then the spring doesn't bent and doesn't move the hammer, so there is no change in capacitance and no signal sent. The sound is different, with no 'ping'.

I'm going to give that a try tonight. Pregnant Mrs. Krogenar was very needy last night, so I didn't have a chance to test this. The fact that the spring registered any kind of keypress at all made me feel that there's got to be a way to fix it. The keyboard itself arrived very well-packed by the sender. The spring did not appear or feel as though it was bent. It had the same 'springiness' as a neighboring, working spring.
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline simkev

  • Posts: 103
  • Location: 127.0.0.1 - SWEDEN
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #723 on: Tue, 12 March 2013, 07:20:00 »
If you have a USB keboard that has NKRO over a usb to PS2 adapter could you make that board NKRO via the teensy without the PS2 adapter?Solder the ubs cables to the teensy?
JAG ÄR LIVRÄDD FÖR ATT LEVA & JAG ÄR DÖDSRÄDD FÖR ATT DÖ

| Poker X - Ergo Clears & Red Alert 2.0 | Majestouch 2 TKL - Browns & Blue Cream Cheese |


Offline alaricljs

  • I be WOT'ing all day...
  • ** Moderator Emeritus
  • Posts: 3715
  • Location: NE US
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #724 on: Tue, 12 March 2013, 07:27:39 »
If the teensy is configured with a firmware that interfaces to a PS/2 board and supports NKRO then yes, it should work.  You'd need to attach the keyboard via PS/2 protocol pinout.  If for you that means cutting the cable and soldering it direct instead of using an adapter or some other method, then yes it will work if you get the pinout correct.
Filco w/ Imsto thick PBT
Ducky 1087XM PCB+Plate, w/ Matias "Quiet Click" spring-swapped w/ XM Greens

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #725 on: Tue, 12 March 2013, 18:57:45 »
If it's a keyboard with a captive cable (i.e. no USB socket on the keyboard) it might be easier to remove the cable and wire the Teensy inside the keyboard, since the cable is quite likely to have a connector where it joins the PCB. Of course, you'd still have to work out the pinout.

Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #726 on: Tue, 12 March 2013, 19:08:32 »
rkinize, fohat, I recognize your expertise with the Model F. I leaned the 'board backwards, and inserted the keycap sections, and all is well. It took a few tries, but now it's working! Thanks so much for your help guys, it is greatly appreciated. (tips hat)
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline fohat.digs

  • * Elevated Elder
  • Posts: 5519
  • Location: 34.04 N 84.47 W
  • weird funny old guy
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #727 on: Tue, 12 March 2013, 19:11:20 »
It can take several attempts to get it to seat properly. Sometimes they are just stubborn. Making the spring flop forward is usually helpful.
In his book A Higher Loyalty: Truth, Lies, and Leadership, Comey wrote that working for Trump gave him “flashbacks to my earlier career as a prosecutor against the Mob. The silent circle of assent. The boss in complete control. The loyalty oaths. The us-versus-them worldview. The lying about all things, large and small, in service to some code of loyalty that put the organization above morality and above the truth.”

McCabe, who similarly had experience prosecuting Russian organized-crime rings, has observed that Mueller's approach to investigating Trump tracks how one would go about investigating a crime ring. "There are a lot of patterns in what Director Mueller is doing that are very familiar to me," McCabe told The Atlantic: "You can certainly look at what Mueller’s done so far to say he is doing exactly what we would do with the investigation of a cartel or an organized-crime family."

Offline rknize

  • * Administrator
  • Posts: 1717
  • Location: Chicago
    • metaruss
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #728 on: Tue, 12 March 2013, 22:01:19 »
rkinize, fohat, I recognize your expertise with the Model F. I leaned the 'board backwards, and inserted the keycap sections, and all is well. It took a few tries, but now it's working! Thanks so much for your help guys, it is greatly appreciated. (tips hat)

Great!  The same trick works on the M, too.  If you look under the key cap, there is a little nub where the spring is supposed to seat.  Gravity makes the springs lean towards you when you insert the cap, so it has to ride the ramp and then hopefully pop over that nub.  Sometimes it just won't, so you have to guide the spring yourself.
Russ

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #729 on: Sat, 06 April 2013, 13:15:33 »
I just added a v1.11 update to the first post:

  • Added support for IBM RT keyboard.
  • Added display of boot mode state by making converter lock LEDs glow dimly.
  • Added extra error codes to help determine where timeouts occur more precisely.
  • Prevented debug and rawhid output when keyboard_protocol is not set (i.e. in BIOS mode).

The last change, to prevent debug output when in BIOS mode, is another attempt at fixing the long-standing incompatibility with certain Dell machines (M6300 (BIOS rev A14) and Inspiron 630m). If anyone has one of those, please test!

Offline Halvar

  • Posts: 403
  • Location: Germany
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #730 on: Mon, 08 April 2013, 16:56:26 »
Thanks Soarer for constantly pushing this forward!  :cool:

Offline jpeart

  • Posts: 6
  • Location: Santa Clara, California
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #731 on: Thu, 11 April 2013, 23:02:10 »
Soarer, thank you for all your efforts in developing this firmware.  I spent the last few weeks buying different adapters/converters trying to get an older keyboard working to no avail.  I found your converter while googling and decided to give it a try.  I ordered a Teensy 2.0 last weekend and I was very excited to see it had arrived today.  Took me just a few minutes to hook it all up for a test run and it works perfectly!  With the other products I had purchased I was getting a lot of key repeats, but I have not seen a single problem using your firmware.

If anyone is interested I'm tracking the progress of my little project here http://geekhack.org/index.php?topic=42150.0
Basically I'm trying to put a Raspberry Pi inside a Keycat keyboard and make my own kind of Commodore 64.

Offline fohat.digs

  • * Elevated Elder
  • Posts: 5519
  • Location: 34.04 N 84.47 W
  • weird funny old guy
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #732 on: Fri, 12 April 2013, 09:14:43 »
Oh, no! It's that pesky fohat.digs again!

A couple of months ago I had a big problem after upgrading a motherboard from Asus to Gigabyte. I keep a powered USB hub at the back of the desk, and my keyboards and mice plug into it. I have done this for a long time, but the Gigabyte motherboard refused to boot (not even a peep or POST) with the powered USB 2.0 hub connected. When I went to a non-powered hub, the problem disappeared.

There are USB 2.0 and 3.0 sockets on the back, and since I have a 3.0 external hard drive, I wanted to upgrade the USB hub. I bought a nice SIIG 4-port powered USB 3.0 hub, and plugged it into the (previously vacant) 3.0 port.

Now, the computer boots fine and recognizes both of my mice, but will not recognize my F-122/Teensy (Teensy 2.0 with v1.10 Soarer's Converter) until I unplug it and hot-plug it. I have been through several power-up/power-down cycles and it is still happening.

I know that motherboards are funny about these things, sometimes, and the stock answer is: "plug the keyboard directly into the motherboard" but I would prefer to make the hub work if I could.

Are there any new answers since last time?

Thanks! Harry
In his book A Higher Loyalty: Truth, Lies, and Leadership, Comey wrote that working for Trump gave him “flashbacks to my earlier career as a prosecutor against the Mob. The silent circle of assent. The boss in complete control. The loyalty oaths. The us-versus-them worldview. The lying about all things, large and small, in service to some code of loyalty that put the organization above morality and above the truth.”

McCabe, who similarly had experience prosecuting Russian organized-crime rings, has observed that Mueller's approach to investigating Trump tracks how one would go about investigating a crime ring. "There are a lot of patterns in what Director Mueller is doing that are very familiar to me," McCabe told The Atlantic: "You can certainly look at what Mueller’s done so far to say he is doing exactly what we would do with the investigation of a cartel or an organized-crime family."

Offline rknize

  • * Administrator
  • Posts: 1717
  • Location: Chicago
    • metaruss
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #733 on: Fri, 12 April 2013, 09:31:40 »
Look for a BIOS upgrade?  This weird boot behavior with keyboards usually has to do with legacy keyboard emulation that the BIOS tries to do with USB keyboards.  Look in your BIOS options and try disabling legacy keyboard emulation if such an option exists.
Russ

Offline vipjun

  • Posts: 59
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #734 on: Mon, 15 April 2013, 20:04:53 »
Just wanted to show my appreciation for this project. thanks soarer!
WTT Realforce 87ub variable for 55G / MX PCB mount
http://geekhack.org/index.php?topic=42360.msg861771#msg861771

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #735 on: Tue, 23 April 2013, 15:42:57 »
Successfully modded one of my AT F's to a traditional ANSI layout (using a function block where Fn + 1 is F1, Fn + 2 is F2, etc). 

Thanks again Soarer!

Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline Halvar

  • Posts: 403
  • Location: Germany
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #736 on: Tue, 23 April 2013, 15:54:52 »
That's beautiful.

I wish Unicomp's European resellers had those media keycaps to use it with my M-122.

And that there were any Model Fs to be found here in Europe...

What key do you use for the Fn key?
« Last Edit: Tue, 23 April 2013, 17:03:50 by Halvar »

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #737 on: Tue, 23 April 2013, 17:33:13 »
That's beautiful.

I wish Unicomp's European resellers had those media keycaps to use it with my M-122.

And that there were any Model Fs to be found here in Europe...

What key do you use for the Fn key?

Capslock + 1= F1...all the way through Caplock + = which is F12
Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline sleepy916

  • Posts: 859
  • Location: East Bay, California
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #738 on: Tue, 23 April 2013, 18:15:11 »
Successfully modded one of my AT F's to a traditional ANSI layout (using a function block where Fn + 1 is F1, Fn + 2 is F2, etc). 

Thanks again Soarer!

Show Image


That looks to be in pristine condition! Now just send it to my house, I'll pm you my address shortly. ;]

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #739 on: Tue, 23 April 2013, 18:21:21 »
Successfully modded one of my AT F's to a traditional ANSI layout (using a function block where Fn + 1 is F1, Fn + 2 is F2, etc). 

Thanks again Soarer!

Show Image


That looks to be in pristine condition! Now just send it to my house, I'll pm you my address shortly. ;]

It is...I actually struggled with whether I wanted to mod it or keep it in stock condition for quite some months.  Today I said fugg it and modded it.
Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline Halvar

  • Posts: 403
  • Location: Germany
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #740 on: Tue, 23 April 2013, 18:36:43 »
After looking at other Model F pictures: wow, how much did you have to mod here?  :eek:

Did it look like this one with the big-ass return key, small backspace and all?
http://www.clickykeyboards.com/index.cfm/fa/items.main/parentcat/9934/subcatid/0/id/529210

That's no small feat then ... I feel dumb for even talking about keycaps first...







Offline Krogenar

  • The Kontrarian
  • * Esteemed Elder
  • Posts: 1264
  • Location: Eastchester, NY
  • "DO NOT BRING YOUR EVIL HERE." -Swamp Thing
    • Buried Planet
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #741 on: Wed, 24 April 2013, 06:55:56 »
Akimbo, I'd love to do what you did (more ANSI-like layout) with my Model F-122, but frankly I don't want to risk ruining my 'board. Looks awesome. Do those additional keys feel particularly different from the original keys? I mean the actuation, sound, etc.?
GeekHack Artwork Resources | The Living GeekHack Logo Thread | Signature Plastics ABS Chip Scanning Project | Krog Flocks Around | Keyboard Color Scheme Archive | [GB] PBT DyeSub DSA Granite Set
More
Quote from: Samuel Adams
"If ye love wealth better than liberty, the tranquility of servitude better than the animating contest of freedom, go home from us in peace. We ask not your counsels or your arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that you were our countrymen."

Offline fohat.digs

  • * Elevated Elder
  • Posts: 5519
  • Location: 34.04 N 84.47 W
  • weird funny old guy
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #742 on: Wed, 24 April 2013, 07:02:22 »
The mod is totally easy, assuming that you can take the board apart and put it back together.

It is a great opportunity to tidy everything up, and swapping 2 spring locations is utterly trivial.

Of course, putting it back together is the hardest and most challenging part.
In his book A Higher Loyalty: Truth, Lies, and Leadership, Comey wrote that working for Trump gave him “flashbacks to my earlier career as a prosecutor against the Mob. The silent circle of assent. The boss in complete control. The loyalty oaths. The us-versus-them worldview. The lying about all things, large and small, in service to some code of loyalty that put the organization above morality and above the truth.”

McCabe, who similarly had experience prosecuting Russian organized-crime rings, has observed that Mueller's approach to investigating Trump tracks how one would go about investigating a crime ring. "There are a lot of patterns in what Director Mueller is doing that are very familiar to me," McCabe told The Atlantic: "You can certainly look at what Mueller’s done so far to say he is doing exactly what we would do with the investigation of a cartel or an organized-crime family."

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #743 on: Thu, 25 April 2013, 00:51:26 »
After looking at other Model F pictures: wow, how much did you have to mod here?  :eek:

Did it look like this one with the big-ass return key, small backspace and all?
http://www.clickykeyboards.com/index.cfm/fa/items.main/parentcat/9934/subcatid/0/id/529210

That's no small feat then ... I feel dumb for even talking about keycaps first...
Yup, it sure did look like that (small backspace and all).  Like fohat said, it isn't a hard mod....open up the board and move a few springs around, add a couple white barrel inserts from an old Model M, and close her back up.  The hardest part is stripping and soldering the AT cable to the Teensy.


Akimbo, I'd love to do what you did (more ANSI-like layout) with my Model F-122, but frankly I don't want to risk ruining my 'board. Looks awesome. Do those additional keys feel particularly different from the original keys? I mean the actuation, sound, etc.?

Nope...the additional keys feel and sound exactly like the original keys.
Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline Retrete

  • Posts: 69
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #744 on: Sat, 27 April 2013, 07:31:24 »
Nice post! I have a pseudoterminal  kevex ray 7000CM, and I want to adapt the keyboard in order to use it with a modern computer, the keyboard terminal use this port;
http://www.flickr.com/photos/95230480@N02/8683117351/in/set-72157633342730175

As I don't have a clue about this, I also took photos of the terminal w/o tape;
http://www.flickr.com/photos/95230480@N02/sets/72157633342730175/

The keyboard looks great  :p


Thanks in advance!

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #745 on: Sat, 27 April 2013, 08:05:43 »
Beautiful! A bit crazy in construction, with a PCB and wire-wrapping!

Not something this converter can convert though. Do you know what switches it uses? If they are simple contact switches, then the easiest way to get it working would be to remove the chips and wire in a new controller. I'm currently working on one aimed at non-programmers, or there's hasu's code which is pretty easy to configure and build.

Offline Retrete

  • Posts: 69
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #746 on: Sat, 27 April 2013, 11:11:12 »
Beautiful! A bit crazy in construction, with a PCB and wire-wrapping!

Not something this converter can convert though. Do you know what switches it uses? If they are simple contact switches, then the easiest way to get it working would be to remove the chips and wire in a new controller. I'm currently working on one aimed at non-programmers, or there's hasu's code which is pretty easy to configure and build.

I don't know exactly what type of switches are, non clicky and the loudest I've seen ;
http://www.flickr.com/photos/95230480@N02/sets/72157633364166384/

Thanks again!

Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #747 on: Sat, 27 April 2013, 14:20:31 »
They look rather like Cherry M7 (or M6?) with the 'T' mount stem... Catalogue 1982, pp22,23. There's even a couple of keyboards in there with a similar layout to the main alpha block of yours.

So most likely to be simple contact switches. You could check with a multimeter easily, if you have one...?

The first task in replacing the controller would be to identify the rows and columns. I did that by tracing the PCB tracks on an Ortek MCK-84. It's quite tedious :( It's not really necessary to go to such detail; simply knowing which are rows and which are columns would suffice, and the rest can be worked out after the controller is wired up.

Some straight-on pictures of the PCB would help, if you get to taking it apart that far. It looks like those supports could be unscrewed from underneath, leaving them attached to the PCB. Not sure if they'll block the view of anything important though!

Offline Retrete

  • Posts: 69
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #748 on: Sat, 27 April 2013, 17:04:31 »
I've already disassemble the keyboard cover and I took a couple of photos, It isn't linear ;
http://www.flickr.com/photos/95230480@N02/sets/72157633350772239/


Offline Soarer

  • * Moderator
  • Thread Starter
  • Posts: 1918
  • Location: UK
Re: XT/AT/PS2/Terminal to USB Converter with NKRO
« Reply #749 on: Sat, 27 April 2013, 18:51:45 »
Hah! I wasn't expecting it to be a double-sided PCB... at least it makes one side very easy to trace out! There's clearly 8 traces there for the rows, plus one trace for the shifts which seems to go to ground. On the other side there are probably 11 (or more) traces for the columns. All the lines presumably go to these sockets:



I'd guess that the rows all go to the one on the left, which looks like it has a resistor pack in it (acting as pull-ups or pull-downs). Testing with a multimeter - or even a cheap continuity tester - would confirm the connections.

The 'controller', such as it is, consists of all the chips (12?). None of them look big enough to be a CPU, but 12 is more than would be needed for a completely 'dumb' keyboard. So that's kind of interesting, but probably not very useful! (There's what looks to be a voltage regulator near where that ribbon cable connects, so some of the chips will simply buffer voltages).

So as controller swaps go, it looks fairly straightforward - remove all the chips, wire a Teensy or Teensy++ to some of the connections on the the sockets I marked, customise and load some code, and it should work! Of course, I don't know how comfortable you'd be doing that kind of thing... :)