Author Topic: IBM 4704 Keyboard Converter  (Read 48945 times)

0 Members and 2 Guests are viewing this topic.

Offline jeff_c

  • Posts: 2
Re: IBM 4704 Keyboard Converter
« Reply #100 on: Tue, 17 July 2018, 01:56:22 »
ah you are right. other post has pic of to side of PCB which displays diodes.

Alps models can support Nkro.

I read about how the alps 4704 boards can support NKRO, but I only get 2-key rollover with my keyboard connected to the Hasu controller. Is that a result of buffer limitation on my particular 4704? The model number for my board is 5954339

In other words, should I expect the magic key function to enable NKRO to work on this converter like it does on the HHKB alternate controller?
« Last Edit: Thu, 19 July 2018, 20:51:45 by jeff_c »

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #101 on: Fri, 20 July 2018, 17:30:51 »
ah you are right. other post has pic of to side of PCB which displays diodes.

Alps models can support Nkro.

I read about how the alps 4704 boards can support NKRO, but I only get 2-key rollover with my keyboard connected to the Hasu controller. Is that a result of buffer limitation on my particular 4704? The model number for my board is 5954339

In other words, should I expect the magic key function to enable NKRO to work on this converter like it does on the HHKB alternate controller?

I saw diodes in pics on this post so I thought the Alps model should be NKRO if its keyboard firmware supoorts it. I don't see reason it doesn't support, but NKRO depends totally on the 4704 Alps firmware implementation.
https://deskthority.net/workshop-f7/p77-the-tkl-pingmaster-t16419.html#p368597

This converter supports 6KRO on USB by default you can send up to 6 keys plus modifiers if you keyboard supports NKRO. No converter limitation there.
(If you need NKRO on USB you can configure and build firmware yourself, but it is not your problem in this case.)

If you get only 2 keys with this converter your keyboard is 2KRO.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline laxfan91

  • Posts: 5
  • Location: ND, USA
Re: IBM 4704 Keyboard Converter
« Reply #102 on: Sun, 26 August 2018, 01:09:38 »
For the alps board, what is the fn key mapped to in the default firmware in your converter? I`m curious.

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #103 on: Sun, 26 August 2018, 01:21:52 »
Right bottom key of main alpha part. See keymap editor, L1 means the key turns layer 1 on.



Sent from my WAS-LX2J using Tapatalk

TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline kankurou1010

  • Posts: 4
Re: IBM 4704 Keyboard Converter
« Reply #104 on: Tue, 11 September 2018, 18:03:47 »
Hey so I bought your converter and I'm using it on the 6112883 Japanese 102-key. However, I'm a total noob and I don't know what to do  :confused:
How do I get the keyboard to be able to type? I plug it in and it beeps but I can't type on it. Thanks.

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #105 on: Tue, 11 September 2018, 19:51:09 »
Hey so I bought your converter and I'm using it on the 6112883 Japanese 102-key. However, I'm a total noob and I don't know what to do  :confused:
How do I get the keyboard to be able to type? I plug it in and it beeps but I can't type on it. Thanks.


I think the converter should work with it out of the box. It is programmed with default firmware when shipped.
DId you try other port or computer? What are your OS?

Use hid_listen to see debug info and could you post it here?
https://github.com/tmk/tmk_keyboard/wiki#debug
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline kankurou1010

  • Posts: 4
Re: IBM 4704 Keyboard Converter
« Reply #106 on: Wed, 12 September 2018, 01:26:49 »

I think the converter should work with it out of the box. It is programmed with default firmware when shipped.
DId you try other port or computer? What are your OS?

Use hid_listen to see debug info and could you post it here?
https://github.com/tmk/tmk_keyboard/wiki#debug

So turns out it was because I was using a crappy micro usb cable. Plugged in a different one and now it works. However, some keys aren't typing letters, such as: d s q w z x c. hid_listen is picking them up though. How do I get those to work? I don't understand how to use the tmk editor... I tried both "alps 102 key" editors, but I don't get what I'm supposed to be doing. OS is windows 10 btw.
« Last Edit: Wed, 12 September 2018, 01:29:31 by kankurou1010 »

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #107 on: Wed, 12 September 2018, 01:52:18 »

I think the converter should work with it out of the box. It is programmed with default firmware when shipped.
DId you try other port or computer? What are your OS?

Use hid_listen to see debug info and could you post it here?
https://github.com/tmk/tmk_keyboard/wiki#debug

So turns out it was because I was using a crappy micro usb cable. Plugged in a different one and now it works. However, some keys aren't typing letters, such as: d s q w z x c. hid_listen is picking them up though. How do I get those to work? I don't understand how to use the tmk editor... I tried both "alps 102 key" editors, but I don't get what I'm supposed to be doing. OS is windows 10 btw.

OK. yeah, reliable usb cable is a must have.
Try to download firmware from this page without any change and flash it. I guess you flashed wrong firmware.
http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?ibm4704_usb_alps
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline kankurou1010

  • Posts: 4
Re: IBM 4704 Keyboard Converter
« Reply #108 on: Wed, 12 September 2018, 02:58:12 »
Am I doing this right? Open page, download "Firmware Hex File Download," select file under "Base Firmware File:" select the downloaded hex, then press "Load Keymap from firmware"?


Didn't fix it. Now, some of the keys that were working aren't.  :confused:

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #109 on: Wed, 12 September 2018, 08:57:11 »
Am I doing this right? Open page, download "Firmware Hex File Download," select file under "Base Firmware File:" select the downloaded hex, then press "Load Keymap from firmware"?


Didn't fix it. Now, some of the keys that were working aren't.  :confused:


Open the link and just click 'Download' button without touching anything to download default firmware.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline kankurou1010

  • Posts: 4
Re: IBM 4704 Keyboard Converter
« Reply #110 on: Wed, 12 September 2018, 14:33:17 »
Am I doing this right? Open page, download "Firmware Hex File Download," select file under "Base Firmware File:" select the downloaded hex, then press "Load Keymap from firmware"?


Didn't fix it. Now, some of the keys that were working aren't.  :confused:


Open the link and just click 'Download' button without touching anything to download default firmware.

Got it. All is working. Thanks for the help!  :thumb:

Offline fr08

  • Posts: 1
Re: IBM 4704 Keyboard Converter
« Reply #111 on: Mon, 08 October 2018, 13:36:42 »
I'm having a weird issue, been using a Pingmaster (6112883) with this controller for like a week without any problems. In fact it was much easier than I thought.

But earlier today my up, down, left and right keys started outputting 8, 2, 4 and 6 instead. I've tried reflashing multiple times, even with old .hex files and with the "preset" that's on http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?ibm4704_usb_alps

But nothing changes. Even if I put "no" on those keys, they still gives me 8, 2, 4 and 6.

What could be wrong? Have I messed up somehow? :(

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #112 on: Mon, 08 October 2018, 17:22:14 »
If you are using TMK preassebled covnerter URL you linked is correct and it should work.
Open browser with the URL and try reloading the page again before download firmware without editing.

I guess you flashed wrong firmware which is for IBM Capacitive models.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline N6NG

  • Posts: 13
  • Location: FL
Re: IBM 4704 Keyboard Converter
« Reply #113 on: Tue, 30 October 2018, 16:29:36 »
Hi
I had been using this converter on the IBM 6113442 for many months with a slightly edited version of the default Alps 102 key firmware until recently, when the keyboard suddenly stopped working. No key presses register and the beeper doesn't work.
Here is the readout from hidlisten:
Code: [Select]
Waiting for device:
Listening:
Keyboard ID: FF
Enable break: S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48 S:48
etc.
It simply repeats S:48 until I unplug it.
I tried reflashing my firmware and then tried flashing the original firmware, all to no avail.
I am completely lost  :confused:
Any help is appreciated, thanks!
« Last Edit: Tue, 30 October 2018, 16:38:06 by N6NG »
IBM Model M
1390670
DOB 29JAN87
   IBM Pingmaster
6113442

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #114 on: Tue, 30 October 2018, 17:10:09 »
Seeing the log(Keyboard ID: FF) the converter restarts? and doesn't recognize keyboard at all.
I guess connecton/power was lost  temporalily for some reason? Check USB cable or keyboard cable.

Do you have hid_listen log lines before the ones you post?
I'm curious what hid_listen speaks just when the problem occurs.

I'm thinking this is related to your hardware(converter, keyboard  or cables) at this time because I haven't heard here this problem from any other users so far.
Does anyone here have similar problem to this?
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline N6NG

  • Posts: 13
  • Location: FL
Re: IBM 4704 Keyboard Converter
« Reply #115 on: Tue, 30 October 2018, 17:56:46 »
I thought it might be the cable, so I tried multiple USB cables and tried unplugging and plugging everything in again earlier, all with the same results.
Unfortunately, I don't have any log lines from before this. I don't have any from when it was working and this is the first thing that happens when I plug it in.
Is there any way if I could test whether it's the keyboard itself?
IBM Model M
1390670
DOB 29JAN87
   IBM Pingmaster
6113442

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #116 on: Tue, 30 October 2018, 19:28:25 »
I thought it might be the cable, so I tried multiple USB cables and tried unplugging and plugging everything in again earlier, all with the same results.
Unfortunately, I don't have any log lines from before this. I don't have any from when it was working and this is the first thing that happens when I plug it in.
Is there any way if I could test whether it's the keyboard itself?



Wait, it seems I misread this probably due to my weak language skills.
I thought wrongly: you can type on keyboard usually but it suddenly stops sometime and you have had this problem for months.

Quote
I had been using this converter on the IBM 6113442 for many months with a slightly edited version of the default Alps 102 key firmware until recently, when the keyboard suddenly stopped working. No key presses register and the beeper doesn't work.


After I read several times I think I got it. Your converter and keyboard stoped recently and they don't work at all at this time, right? If so, yes, keyboard cable/connector is primary suspect in addition to connector on converter. And USB cable is not the cause here because the converter can communicate with hid_listen program.

If you have DMM you can do continuity test with the keyboard cable.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline N6NG

  • Posts: 13
  • Location: FL
Re: IBM 4704 Keyboard Converter
« Reply #117 on: Tue, 30 October 2018, 21:31:18 »
Yes, that is correct, there is has been no response whatsoever from the keyboard since that point.
That's a good idea, I actually don't own a multimeter, but I will see if I can buy or borrow one.
Thanks!
IBM Model M
1390670
DOB 29JAN87
   IBM Pingmaster
6113442

Offline fcoury

  • Posts: 50
  • Location: Brazil
Re: IBM 4704 Keyboard Converter
« Reply #118 on: Tue, 20 November 2018, 18:56:33 »
Is the converter TMK hex supposed to work on a Pro Micro? I have flashed the hex and have it wired like this:





But it doesn't seem to be working. Did I get this all wrong?

Thanks!

Offline hasu

  • Thread Starter
  • Posts: 2805
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: IBM 4704 Keyboard Converter
« Reply #119 on: Tue, 20 November 2018, 20:03:27 »
I think HEX file should be used on Pro Micro. I don't know its pinout. Check Pro Micro schematics, github README and the first post for wiring again and take time for trials and errors. You won't break your keyboard even if you connect wires wrongly unless you are extremly unlucky.

https://github.com/tmk/tmk_keyboard/tree/master/converter/ibm4704_usb

EDIT: I hope someone can help.
« Last Edit: Tue, 20 November 2018, 20:08:14 by hasu »
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline fcoury

  • Posts: 50
  • Location: Brazil
Re: IBM 4704 Keyboard Converter
« Reply #120 on: Wed, 05 December 2018, 21:17:52 »
Thank you so much hasu! I not only made it work, but ended up creating a video tutorial if anyone else wants to do it:


Hopefully this will help others :)

Offline ErgoMacros

  • Posts: 199
  • Location: SF Bay Area
Re: IBM 4704 Keyboard Converter
« Reply #121 on: Thu, 06 December 2018, 14:21:15 »
Nice video! Makes the whole thing seem so accessible. (Easy to do.)

I haven't done this myself (yet), but have 2, purely aesthetic, suggestions.
  a. You may be able to make the wires shorter, and
  b. you could run them all through one piece of heat-shrink tubing.

Hope you're enjoying your new keyboard! and thank you.
Today's quote: '...“but then the customer successfully broke that.”