Author Topic: TMK USB to USB keyboard converter  (Read 520246 times)

0 Members and 1 Guest are viewing this topic.

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
TMK USB to USB keyboard converter
« on: Mon, 23 February 2015, 21:20:44 »
With this converter you can change keymap and use functions TMK firmware offers on your USB keyboard.

You can support this project by getting TMK USB-USB converter from me.



Troubleshoot
You have trouble or question? Post infos like below when you can ask in this thread.


Debug output
Use hid_listen command to see its debug outputs. Post its outputs.
Try debug firmware for detailed debug log, instead of default firmware.

Keyboard model name
URL of the product page would be helpful to check its specifications and manuals

OS name
Windows/Mac/Linux

USB Descriptor
If your problem is specific to your keyboard,
use TMK USB Descriptor Dumper to get keyboard's USB Descriptor data.
Flash Dumper firmware onto your converter and then plug keyboard. Use hid_listen to get Descritpor data. Post all of outputs on hid_listen.

Also try these.
Cable and Hub
Use short and good-quality USB cable,  or plug the converter into computer directly or externally powered USB Hub.
With longer cable USB power voltage drops more at the converter and keyboard, this can cause problem especially when plug-in the devices or computer is powered up.
https://geekhack.org/index.php?topic=69169.msg3100547#msg3100547


Hardware
You need USB host controller chip MAX3421e and AVR chip ATMega32U4.

1. TMK USB to USB converter
This small board is almost equivalent to USB Host Shield plus Leonardo. This is an assmebled converter and no soldering job is needed.
You can order here to support my project.


More
PCB design files are available.
https://github.com/tmk/USB2USB_Converter

Case design file is available here. Thank you, Gouty@github! 2018-10-27
https://github.com/tmk/USB2USB_Converter/tree/master/3D%20Printed%20Case


2. USB Host Shield 2.0 + Arduino Leonardo
Just plug USB Host Shield onto Arduino Leonardo, they are not small as TMK converter but work well with default firmware.
More


3. Mini USB Host Shield 2.0 + Pro Micro
Not supported by me but this should work too. Firmware may require small fix.
https://geekhack.org/index.php?topic=80421.0




Firmware
This converter is part of TMK keyboard firmware project. Source code for the converter firmware is available here.

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

The firmware depneds heavily on USB Host Shield 2.0 library.

Build
You can compile firmware from source code. See TMK documentation for the detail.

https://github.com/tmk/tmk_keyboard/wiki#build-firmware

More
Code: [Select]
$ git clone git://github.com/tmk/tmk_keyboard.git
$ cd tmk_keyboard
$ git submodule init
$ git submodule update
$ cd converter/usb_usb
$ make clean
$ make

To reduce firmware size you can disable functions you don't use by commenting out following lines. Note that 'make clean' is needed after Makefile is editted.

NKRO is meaningless practically on this converter and it should be disabled always.
Code: [Select]
# Build Options
#   comment out to disable the options.
#
MOUSEKEY_ENABLE ?= yes   # Mouse keys
EXTRAKEY_ENABLE ?= yes   # Media control and System control
CONSOLE_ENABLE ?= yes   # Console for debug
#COMMAND_ENABLE ?= yes    # Commands for debug and configuration
#NKRO_ENABLE ?= yes   # USB Nkey Rollover
https://github.com/tmk/tmk_keyboard/blob/master/converter/usb_usb/Makefile#L93-L97

No idea? No problem, you can use easy TMK keymap editor instead, see below.


Program
For TMK converter
First, press tiny button on TMK converter to turn it into program mode.
To program converter with your own firmware you can use 'dfu-programmer' tool.
More
Code: [Select]
dfu-programmer atmega32u4 erase --force
dfu-programmer atmega32u4 flash <your_firmware.hex>
dfu-programmer atmega32u4 reset

If you have installed build tools you can just 'make' like this.
Code: [Select]
make dfu

Or you can use 'Atmel FLIP' as well. Refer to this wiki page for other program tools.
https://github.com/tmk/tmk_keyboard/wiki#flash-firmware


For USB Host Shield 2.0 + Arduino Leonardo
More
Push reset button on Leonardo before run this command. Serial port name(COM17) depends your system. On Linux I got /dev/ttyACM0.
Code: [Select]
$ DEV=COM17 make program
or
$ avrdude -patmega32u4 -cavr109 -b57600 -Uflash:w:usb_usb.hex -PCOM17



TMK Keymap Editor
USB to USB converter supports TMK keymap editor now!

You can edit keymapping and get your custom firmware easily with this.



Start here: Default plain layout
Or SpaceFn layout example on Keymap Editor.



Limitation
  • Only supports 'HID Boot protocol'(6KRO) mode. Many of NKRO keyboards still can work in 6KRO mode. (Confirmed NKRO keyboards: see 'Compatible Keyboards' list.)
  • Media/System control keys on keyboard are not recognized by the converter. Note that you can still send them with TMK firmware by remapping keys.
  • 'Fn' key on keyboard is not recognized. In most case keyboards don't spit out scancode for 'Fn' key. You cannot remap the 'Fn' key itself.
  • Firmware size. USB to USB converter uses alot of flash space to support USB keyboard. Some combination of TMK features can not fit into MCU flash size(28KB). To reduce firmware size you have to disable some of features you don't use, see 'Firmware' section above.
  • No mouse or other pointing devices support. To support all pointing devices is difficult but it is possible to support one specific device if you are willing to write code for that. https://geekhack.org/index.php?topic=69169.msg2193024#msg2193024



Incompatible Keyboards
The converter doesn't work with:

Some of incompatible keyboards listed here may work with the latest firmware probably, please try and report if you have any.
As of 2020-12 the converter firmware received a few bug fixes on its USB stack which improved its keyboard compatibility greatly.
 
Use this firmware to get detailed debug outputs on hid_listen if your keyboard doesn't work. And post its outputs here.



Compatible Keyboards
If your keyobard works well with BIOS/EFI you can expect the converter handle it reasonably. But it is still not 100% assured, the covnerter can fail to handle the keyobard with some reasons unfortunately while the converter firmiware has been gradually updated to improve compatiblility.


Report from users would be really appreciated. Please post your result in this thread.


Issues
ConnectPro KVM switch
The converter doesn't work on its DDM port of ConnectPro KVM switch. Workaround is disabling debug console. (2021-10-05)
https://geekhack.org/index.php?topic=69169.msg3085929#msg3085929
https://github.com/tmk/tmk_keyboard/issues/707
Fixed(2021-10-24)

UGREEN's usb 2.0 KVM switch
The covnerter doesn't work on Macbook pro after long sleep when connected through the KVM.
No workaround as of 2021-09.
https://github.com/tmk/tmk_keyboard/issues/703


Update
2024-03 Fix for Unicomp Mini M #773
2023-12 Fix startup for Poker X
2023-12 Add suspend and remote wakeup support(power saving)
2023-02 Ducky One 2 Mini support
2023-01 Apple Magic keyboard(A1644/A1843) support
2022-10 Update description for Ducky One 2 Mini
2022-10 Fix for HHKB Hybrid
2022/05 Fix for Anne Pro2
2021/10 Update firmware
    - Fix for ConnectPro UD-12+ KVM #707
    - UHS2: 500ms delay for bus reset for Matrix Vita
    - UHS2: Improve plugin detection in busprobe()
2020/12 Fix STALL error
2020/11  Fix TAP_KEY
2020/11  Add Mechanical Locking Key support
2020/11  Fix TOGGLE error and HUBPRE bit.
2019/05  Fix startup stuck problem
2019/05  Fix Rollover error handling
2018/11  Update firmware(Use fixed LUFA stack and update USB_Host_Shield_2.0)
2018/11  Add Filco Majestouch2 87 and ikbc KD87 to compatibility list
2018/07  Update  firmware to fix startup issue. see this commit.
2018/10  Add design file for enclosure
2018/02  Update "Reported keyboards" section
2017/05  Fix startup code for FC660C
2016/09  New keymap editor(unimap) is available
2016/01  Add Keymap editor
2015/12  Add Firmware size to limitations, and recommendation for genuine host shield
2015/11  Add keymap for JIS and ISO
2015/07  Bug fix for keyboard sending ErrorRollOver report
2015/07  Add Locking key indicator support
2015/06  Updated Limitation and TODO
2015/02  TMK USB to USB converter Rev.A
2014/12  Added Hub support(confirmed with HHKB pro2)
« Last Edit: Thu, 07 March 2024, 18:20:44 by hasu »

Offline TheSoulhunter

  • Posts: 1169
  • Location: Euroland
  • Thorpelicious!
Re: USB to USB keyboard converter
« Reply #1 on: Wed, 25 February 2015, 07:55:17 »
Nice! Interested in getting one...

Offline SpAmRaY

  • NOT a Moderator
  • * Certified Spammer
  • Posts: 14667
  • Location: ¯\(°_o)/¯
  • because reasons.......
Re: USB to USB keyboard converter
« Reply #2 on: Wed, 25 February 2015, 08:20:07 »
Hasu, any chance you would build some of these to sell?

Offline metalliqaz

  • * Maker
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: USB to USB keyboard converter
« Reply #3 on: Wed, 25 February 2015, 08:22:29 »
This is really great. I wanted to build one of these a while ago but I just couldn't find the time to follow through.  Looks fantastic!

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #4 on: Thu, 26 February 2015, 21:25:10 »
I have spare PCBs and have a plan to get some of them assembled once I confirm it works well in the field after some daily usage.

Today, I found a bug :D

Offline nubbinator

  • Dabbler Supreme
  • * Maker
  • Posts: 8658
  • Location: Orange County, CA
  • Model M "connoisseur"
Re: USB to USB keyboard converter
« Reply #5 on: Thu, 26 February 2015, 21:28:04 »
That's really cool.  How do you change the keymapping with it?

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #6 on: Thu, 26 February 2015, 22:06:14 »
I can't live without mousekey and layer switching with space bar :D

https://github.com/tmk/tmk_keyboard/blob/master/converter/usb_usb/keymap_hasu.c

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #7 on: Tue, 10 March 2015, 20:32:16 »
I'm having power or/and initializing related problem during plugin and bootup time :(
This problem occurs on both my converter and leonardo and Host shield(old Sparnkfun one),  at this point not sure it is firmware problem or hardware one.

Once the problem is sorted out I'd run small distribution(GB) from my spare PCBs.

Offline spiceBar

  • Posts: 998
    • ChessTiger.com
Re: USB to USB keyboard converter
« Reply #8 on: Tue, 14 April 2015, 23:26:17 »
I'm having power or/and initializing related problem during plugin and bootup time :(
This problem occurs on both my converter and leonardo and Host shield(old Sparnkfun one),  at this point not sure it is firmware problem or hardware one.

Once the problem is sorted out I'd run small distribution(GB) from my spare PCBs.

Wow! I had missed this thread!

I have purchased the Arduino and USB Host shield some time ago, compiled and uploaded TMK, and it worked. Then the plan was to implement SpaceFN and GuiFN on it, but I have not done it yet due to lack of time.

How is this project going?

I'm very interested in purchasing a few assembled controllers from you, if you have enough of them available.

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #9 on: Wed, 15 April 2015, 02:37:58 »
Not sort the problem yet :) I've worked on other projects like alps64 and HHKB Alt Controller.

Probably it is not hardware but initialization in firmware problem. I'll look into soon.

Unfortunately this converter requires two chips and it costs much and assembly process takes long. But it works it is important!

Kudus to Circuit@Home!

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #10 on: Wed, 15 April 2015, 02:53:01 »
This is really cool. Would this pass enough current to power a model m or similar along with a PS/2 adapter? I would love TMK features in a model m.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #11 on: Wed, 15 April 2015, 03:54:22 »
Unicomp USB keyboard?
How you can draw current is depends on your USB host capability. I think you can use Unicomp USB Model M as far as your PC or Hub can supply power enough.

BTW, What do you need TMK features actually?

Offline spiceBar

  • Posts: 998
    • ChessTiger.com
Re: USB to USB keyboard converter
« Reply #12 on: Wed, 15 April 2015, 08:37:20 »
Not sort the problem yet :) I've worked on other projects like alps64 and HHKB Alt Controller.

Probably it is not hardware but initialization in firmware problem. I'll look into soon.

Unfortunately this converter requires two chips and it costs much and assembly process takes long. But it works it is important!

Kudus to Circuit@Home!

I'm not sure how much it costs, but for me price is not an issue. After spending so much on mechanical keyboards, fine-tuning them thanks to your wonderful adapters is a really great addition.

Will we be able to purchase completely assembled converters from you?

I think it would be interesting to be able to purchase some without the USB plugs. I think the converters are thin enough to install them inside most keyboards, provided we solder the "in" and "out" wires directly to the small PCB. If it's not possible, I hope it's not too difficult to desolder the USB plugs.
« Last Edit: Wed, 15 April 2015, 17:45:02 by spiceBar »

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #13 on: Wed, 15 April 2015, 20:31:18 »
Unicomp USB keyboard?
How you can draw current is depends on your USB host capability. I think you can use Unicomp USB Model M as far as your PC or Hub can supply power enough.

BTW, What do you need TMK features actually?
I've got a PS/2 Model M and I use an adapter like this. But I think PS/2 boards draw a lot of current. Just wondering if your device would supply enough current for PS/2.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #14 on: Wed, 13 May 2015, 20:26:49 »
Finally sorted out the bootup problem, yay!
It was a intilization problem of firmware, not hardware. It is lucky that I can still use existent PCB and components.

I'll start making a few boards soon and create GB or artisan service thread for this converter.



I'm having power or/and initializing related problem during plugin and bootup time :(
This problem occurs on both my converter and leonardo and Host shield(old Sparnkfun one),  at this point not sure it is firmware problem or hardware one.

Once the problem is sorted out I'd run small distribution(GB) from my spare PCBs.


Offline gosinger

  • Posts: 8
  • Location: Austria
Re: USB to USB keyboard converter
« Reply #15 on: Thu, 14 May 2015, 13:24:28 »
Wow...great project, this thread made me register here...

looking forward to future development, keep up the great work! I'll get myself an Leonardo and will give this a go :)
Bolt-modded 1391403 | Ducky Shine 3 slim (MX-blue)

Offline Leimi

  • Posts: 21
Re: USB to USB keyboard converter
« Reply #16 on: Mon, 18 May 2015, 19:08:59 »
Finally sorted out the bootup problem, yay!
It was a intilization problem of firmware, not hardware. It is lucky that I can still use existent PCB and components.

I'll start making a few boards soon and create GB or artisan service thread for this converter.



I'm having power or/and initializing related problem during plugin and bootup time :(
This problem occurs on both my converter and leonardo and Host shield(old Sparnkfun one),  at this point not sure it is firmware problem or hardware one.

Once the problem is sorted out I'd run small distribution(GB) from my spare PCBs.
Great job, looking forward to it :)

Offline Thumper_

  • Posts: 218
  • Location: Germany
  • Spend all my money.
Re: USB to USB keyboard converter
« Reply #17 on: Sat, 23 May 2015, 08:21:47 »
Will you be able to change the keypad so it transmit properly keypad numcodes?

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #18 on: Sat, 23 May 2015, 08:37:27 »
Will you be able to change the keypad so it transmit properly keypad numcodes?
If the keypad is currently sending out exactly the same scancodes as the number row, this adapter will have no way to tell them apart.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline Thumper_

  • Posts: 218
  • Location: Germany
  • Spend all my money.
Re: USB to USB keyboard converter
« Reply #19 on: Sat, 23 May 2015, 08:38:15 »

Will you be able to change the keypad so it transmit properly keypad numcodes?
If the keypad is currently sending out exactly the same scancodes as the number row, this adapter will have no way to tell them apart.
And on a standalone keypad?

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #20 on: Sat, 23 May 2015, 14:38:17 »

Will you be able to change the keypad so it transmit properly keypad numcodes?
If the keypad is currently sending out exactly the same scancodes as the number row, this adapter will have no way to tell them apart.
And on a standalone keypad?
I have not used this but I believe in that case it would work.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #21 on: Wed, 27 May 2015, 04:14:57 »
I started an artisan service thread for my TMK keyboard converters. And I'll assmeble some USB to USB converters soon and taking order tentatively now, check this post if someone is interested in taking my converter.
https://geekhack.org/index.php?topic=72052.msg1759680#msg1759680

Quote
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.
« Last Edit: Wed, 27 May 2015, 04:23:32 by hasu »

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #22 on: Sat, 20 June 2015, 19:54:16 »
Updated Limitation and TODO in first post.

In short:
NKRO keyboards doesn't work with the converter at this time but they will be supported in 6KRO mode with future update. Also Lock indicators support will be added by firmware upgrade.

NKRO mode and System and Media Control keys are not supported. And 'Fn' or 'Pn' key on keyboard like Poker cannot be handled by the converter.



BTW, some assembled TMK USB to USB converters are available now here.
https://geekhack.org/index.php?topic=72052.0

Offline berserkfan

  • Posts: 2135
  • Location: Not CONUS Not CONUS Not CONUS Not CONUS
  • changing diapers is more fun than model f assembly
Re: USB to USB keyboard converter
« Reply #23 on: Sat, 20 June 2015, 22:04:00 »
Updated Limitation and TODO in first post.

In short:
NKRO keyboards doesn't work with the converter at this time but they will be supported in 6KRO mode with future update. Also Lock indicators support will be added by firmware upgrade.

NKRO mode and System and Media Control keys are not supported. And 'Fn' or 'Pn' key on keyboard like Poker cannot be handled by the converter.



BTW, some assembled TMK USB to USB converters are available now here.
https://geekhack.org/index.php?topic=72052.0

As a custom layouts guy I am eagerly watching and waiting for the day when your USB to USB converter will have LED support.
Most of the modding can be done on your own once you break through the psychological barriers.

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #24 on: Wed, 15 July 2015, 02:15:45 »
Small update: Added locking key indicator(LED) support and fixed for Rollover error of 2KRO keyboard.

Quote
2015/07  Bug fix for keyboard sending ErrorRollOver report
2015/07  Add Locking key indicator support

https://github.com/tmk/tmk_keyboard/commit/6f5e8ce17e89005130cd0f9ecc6e346a77bb624b
https://github.com/tmk/tmk_keyboard/commit/1efdd867c8f88ad779ad82e1b22df62bf6be8fe9
« Last Edit: Wed, 15 July 2015, 02:17:41 by hasu »

Offline argcargv

  • tempting the banhammer
  • Posts: 190
  • Location: michigan
Re: USB to USB keyboard converter
« Reply #25 on: Fri, 24 July 2015, 12:22:15 »
Testing with Kinesis Advantage, spacefn is working!!!

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #26 on: Fri, 24 July 2015, 16:26:58 »
Great!

BTW, I did this just for fun and it worked with daisy chain of two, at least :D

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #27 on: Fri, 24 July 2015, 20:45:16 »
Great!

BTW, I did this just for fun and it worked with daisy chain of two, at least :D
Show Image


Seeing this pic just made me realize how awesome this project is. Imagine being able to throw this thing into your backpack, and everywhere you go you've got your preferred keyboard layout and function layers, no matter what keyboard you're forced to use. Amazing.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline ctm

  • Posts: 424
  • Location: Seattle, WA
  • Hello, world!
Re: USB to USB keyboard converter
« Reply #28 on: Fri, 07 August 2015, 15:14:01 »
Wow! This is so amazing! So is this like a keycode translator? Does it also work on keys than don't send keycode (like fn)?
TMK Alps64 w/ Matias Quiet Switches in KBP V60 case.
Infinity60 with SKCM Orange Switches w/ TMK.
CM Storm QRF w/ Frosty Flake controller, Cherry MX Blue Switches and TMK firmware.


Coming:
Ellipse Model F F62.

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #29 on: Fri, 07 August 2015, 15:25:27 »
Wow! This is so amazing! So is this like a keycode translator? Does it also work on keys than don't send keycode (like fn)?

From the OP:

Quote
'Fn' key on keyboard is not recognized also. In most case keyboards don't spit out keycode for the key. Note that you can still define 'Fn' key with TMK firmware.

So unfortunately no. But if your board can be programmed so that the Fn key sends a keycode, just do that.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #30 on: Sat, 08 August 2015, 02:16:38 »
Wow! This is so amazing! So is this like a keycode translator? Does it also work on keys than don't send keycode (like fn)?

From the OP:

Quote
'Fn' key on keyboard is not recognized also. In most case keyboards don't spit out keycode for the key. Note that you can still define 'Fn' key with TMK firmware.

So unfortunately no. But if your board can be programmed so that the Fn key sends a keycode, just do that.

Right. 'Fn' key itself cannot be remmaped while combination of 'Fn' and some keys(for example, Fn+x, Fn+w,...) are probably remappable.

Offline kirkvomit

  • Posts: 23
Re: USB to USB keyboard converter
« Reply #31 on: Sun, 09 August 2015, 05:41:43 »
Hi, does anyone has tested usb to usb converter for a long time?
Mine is made from Leonardo board.
And I have a problem that converter stops registering any inputs after few days.
Restart of the board doesn't help. Plug unplug some times helps for a 5 minutes and then controller stops registering inputs again.
Tried on different PCs, result is the same, it works flawlesly for few days and then starts glitching.

Have somebody faced this problem too?

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #32 on: Sun, 09 August 2015, 23:02:58 »
And I have a problem that converter stops registering any inputs after few days.
Restart of the board doesn't help. Plug unplug some times helps for a 5 minutes and then controller stops registering inputs again.

Interesting.
I've not experienced that situation so far, but I pluged converter a day at most. hmm, I can't come up any clue from that description. More informations would be useful to speculate the problem.

What is your converter hardware actually? Circuit@Home shield or other? Leonardo is genuine one or clone?

What is your host? Desktop, notebook? OS?

what is your keyboards?

Can you post logs when it happened?

Your firmware is the latest? And post files if you changed something.

And you can use hid_listen to see how converter stops.

Offline kirkvomit

  • Posts: 23
Re: USB to USB keyboard converter
« Reply #33 on: Mon, 10 August 2015, 14:29:01 »
Leonardo is clone from ebay.
Shield is like this one http://www.ebay.com/itm/USB-Host-Shield-Support-Android-ADK-UNO-MEGA-Duemilanove-2560-For-Arduino-/201354197970?hash=item2ee1a53bd2

Tried on 2 PCs and one notebook, all have Ubuntu 14.04 installed.
Keyboards are poker 2 and razer blackwidow tournament.

What logs did you mean?
Firmware is not latest, I flashed it may be in aprill 2015.
Can you explain about hid_listen?

I will try to flash it with latest firmware without any changes and will let you know if it fixed the problem or not.

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #34 on: Mon, 10 August 2015, 19:19:30 »
Logs are located under /var/log/, you can find something related to USB in kern.log, IIRC.

As for hid_listen, see these. And google with word 'hid_listen' to find download link.
https://github.com/tmk/tmk_keyboard#debugging
https://github.com/tmk/tmk_keyboard/wiki/FAQ#debug-console

Yeah, try the latest firmware and report back.

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #35 on: Fri, 21 August 2015, 08:48:32 »
Do magic and bootmagic work with this converter?

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #36 on: Fri, 21 August 2015, 10:58:47 »
No. This and other TMK converters probably can't check key state while their startup time.

Bootmagic is supported only with TMK keyboard controllers while Magic command works on both converters and keyboard controllers.


https://github.com/tmk/tmk_keyboard/issues/175
« Last Edit: Fri, 21 August 2015, 11:01:34 by hasu »

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #37 on: Fri, 21 August 2015, 13:16:32 »
No. This and other TMK converters probably can't check key state while their startup time.

Bootmagic is supported only with TMK keyboard controllers while Magic command works on both converters and keyboard controllers.


https://github.com/tmk/tmk_keyboard/issues/175

I can't seem to get Magic to work. Do I need to enable it at compile time first? I couldn't find any make flags for that.

For bootmagic, your issue suggests a startup delay as a workaround. If this were a configurable option, like a make flag, that would be a really good solution because only those who explicitly enable the delay will have to wait for it.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #38 on: Sun, 23 August 2015, 03:25:32 »
No. This and other TMK converters probably can't check key state while their startup time.

Bootmagic is supported only with TMK keyboard controllers while Magic command works on both converters and keyboard controllers.


https://github.com/tmk/tmk_keyboard/issues/175

I can't seem to get Magic to work. Do I need to enable it at compile time first? I couldn't find any make flags for that.

For bootmagic, your issue suggests a startup delay as a workaround. If this were a configurable option, like a make flag, that would be a really good solution because only those who explicitly enable the delay will have to wait for it.

To enable Magic commands this line is required in Makefile.
Code: [Select]
COMMAND_ENABLE = yes    # Commands for debug and configuration

Offline sandric

  • Posts: 13
Re: USB to USB keyboard converter
« Reply #39 on: Sun, 23 August 2015, 11:56:57 »
How do you program this converter? I mean if you want to remap some key you unplug keyboard from female usb port and plug it strickly to usb port of computer, or it is doable with keyboard connected to it? And what is language you program - arduino C? Uploading with arduino ide? Isn't library Arduino USB Host?

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #40 on: Sun, 23 August 2015, 18:09:52 »
I wrote a nice long review of this converter because I'm so in love with it right now.

Thanks for your work, hasu!

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #41 on: Sun, 23 August 2015, 18:56:06 »
Nice writeup! Thanks.
I subscribed the thread.

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #42 on: Wed, 26 August 2015, 15:44:18 »
I bought an off-brand Leonardo & shield (both made by SainSmart). I was able to flash the .hex file with avrdude without any errors, but it's not working as a converter at all.

What steps can I take to debug this thing?

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #43 on: Wed, 26 August 2015, 18:41:44 »
They seem to be compatible to original boards but the shop doesn't offer technical details like schematic enough to make certain of. Let's say they are compatible.

http://www.sainsmart.com/sainsmart-usb-host-android-adk-shield-2-0-for-arduino-uno-mega-r3-mega2560-duemilanove-nano-robot.html
http://www.sainsmart.com/sainsmart-leonardo-r3-atmega32u4-development-board-for-arduino.html#customer-reviews

Can you see debug message with hid_listen?
Keyboard is given enough voltage?


BTW, I haven't confirm my firmware with original Circuit@Home board. I'm using Sparkfun shield(with modification) and genuine Leonardo besides my own TMK converter.
https://www.sparkfun.com/products/9947
« Last Edit: Wed, 26 August 2015, 18:46:52 by hasu »

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #44 on: Thu, 27 August 2015, 08:33:06 »
They seem to be compatible to original boards but the shop doesn't offer technical details like schematic enough to make certain of. Let's say they are compatible.

http://www.sainsmart.com/sainsmart-usb-host-android-adk-shield-2-0-for-arduino-uno-mega-r3-mega2560-duemilanove-nano-robot.html
http://www.sainsmart.com/sainsmart-leonardo-r3-atmega32u4-development-board-for-arduino.html#customer-reviews

Can you see debug message with hid_listen?
Keyboard is given enough voltage?


BTW, I haven't confirm my firmware with original Circuit@Home board. I'm using Sparkfun shield(with modification) and genuine Leonardo besides my own TMK converter.
https://www.sparkfun.com/products/9947

hid_listen recognizes the SainSmart Leonardo. When I plug it in, it says

Code: [Select]
Listening:
init: done
keyboard_set_led: 05

That last line is accompanied by all three lock LEDs on my keyboard quickly flashing. After this, nothing happens. Typing on the keyboard does nothing. If I unplug the keyboard from the USB host shield and plug it back in, the lock LEDs flash again. But no message about LEDs this time in hid_listen.

hid_listen always stays connected to the first device it finds until it's unplugged or deactivated, even when you plug another device in. I have a working hasu converter as well. I wanted to test whether the Leonardo was crashing or freezing:

run hid_listen
plug in Leonardo: hid_listen initializes the Leonardo properly
plug in hasu's converter: nothing changes
leave hasu's converter plugged in and unplug Leonardo: hid_listen initializes hasu's converter properly
plug in Leonardo: nothing changes
unplug hasu's converter: hid_listen initializes Leonardo properly

This tells me the Leonardo stays connected as HID, so it's not freezing or crashing.

This must be an issue with the USB host shield. It may be a pin incompatibility with the original, or it may be that the shield itself is DOA.

Maybe I can upload a simple Arduino sketch to test that the USB host shield is working. If so, it may be that the shield is not compatible with the Sparkfun shield you used for testing, hasu.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #45 on: Sat, 29 August 2015, 05:35:10 »
It seems like communication between Leonardo and PC works well.

Does the keyboard work with TMK converter?
And did you check voltage USB host shield supplies?


Yes, 'hid_listen' is connected just to first device found. To connect it to another device you need to disconnect the first device. This is cofusing a bit when you are using some devices with custome firmware like TMK and Soarere's.


Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #46 on: Sat, 29 August 2015, 08:56:07 »
It seems like communication between Leonardo and PC works well.

Does the keyboard work with TMK converter?
And did you check voltage USB host shield supplies?


Yes, 'hid_listen' is connected just to first device found. To connect it to another device you need to disconnect the first device. This is cofusing a bit when you are using some devices with custome firmware like TMK and Soarere's.

I have not checked the host shield voltage yet. I'll have to wait until next week to try that though, as the converter is at the office.

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #47 on: Tue, 01 September 2015, 16:52:37 »
Well, I checked the host shield voltage yesterday, only to determine after spinning my wheels for about an hour, that my multimeter is in terrible need of recalibration.

Fortunately, I was eventually able to solve the problem with the Leonardo & USB host shield. The host shield uses a few pins on the ICSP header, but my USB host shield did not include female headers on those pins (even though the product image shows it with headers). I had some spares lying around so I was able to solder on my own headers and now it works like a charm. Now I just need a nice enclosure and some time to play around with LEDs.

So I can confirm, that if you can afford the time to solder and have some spare headers, this is a slightly cheaper way to build your own converter. Just know that hasu's pre-made converter is much smaller and you're supporting his wonderful work!

SainSmart Arduino Leonardo clone: http://smile.amazon.com/dp/B00CO07PNY
SainSmart USB Host Shield: http://smile.amazon.com/dp/B006J4G000
Female 0.1" headers (if you need them): http://smile.amazon.com/dp/B007Q84C4O

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps

Offline hasu

  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: USB to USB keyboard converter
« Reply #48 on: Tue, 01 September 2015, 18:55:51 »
Great.

But really terrible story with SainSmart, and you are not alone :(
http://www.amazon.com/gp/customer-reviews/R13EEDLP8OWUA4/ref=cm_cr_pr_viewpnt?ie=UTF8&ASIN=B006J4G000#R13EEDLP8OWUA4

Quote
The host shield uses a few pins on the ICSP header, but my USB host shield did not include female headers on those pins (even though the product image shows it with headers).  I had some spares lying around so I was able to solder on my own headers and now it works like a charm.

Offline njbair

  • Posts: 2825
  • Location: Cleveland, Ohio
  • I love the Powerglove. It's so bad.
    • nickbair.net
Re: USB to USB keyboard converter
« Reply #49 on: Tue, 01 September 2015, 20:25:50 »
Great.

But really terrible story with SainSmart, and you are not alone :(
http://www.amazon.com/gp/customer-reviews/R13EEDLP8OWUA4/ref=cm_cr_pr_viewpnt?ie=UTF8&ASIN=B006J4G000#R13EEDLP8OWUA4

Quote
The host shield uses a few pins on the ICSP header, but my USB host shield did not include female headers on those pins (even though the product image shows it with headers).  I had some spares lying around so I was able to solder on my own headers and now it works like a charm.

I saw that. That review, along with a forum post on the Arduino website, led me to discover the problem.

The worst part is, once I knew the problem I tried searching really hard to find any kind of documentation from SainSmart that I might have missed, but there's nothing. It seems like their only documentation is the product descriptions on their store and Amazon.com. What a pity.

See, kids, this is why you should buy your converters direct from hasu!

Alpine Winter GB | My Personal TMK Firmware Repo
IBM Rubber Band "Floss" Mod | Click Modding Alps 101 | Flame-Polishing Cherry MX Stems
Review: hasu's USB to USB converter
My boards:
More
AEKII 60% | Alps64 HHKB | Ducky Shine 3, MX Blues | IBM Model M #1391401, Nov. 1990 | IBM SSK #1391472, Nov. 1987, screw modded, rubber-band modded | Noppoo EC108-Pro, 45g | Infinity 60% v2 Hacker, Matias Quiet Pros | Infinity 60% v2 Standard, MX Browns | Cherry G80-1800LPCEU-2, MX Blacks | Cherry G80-1813 (Dolch), MX Blues | Unicomp M-122, ANSI-modded | Unicomp M-122 (Unsaver mod in progress) | 2x Unitek K-258, White Alps | Apple boards (IIGS, AEKII) | Varmilo VA87MR, Gateron Blacks | Filco Zero TKL, Fukka White Alps | Planck, Gateron Browns | Monarch, click-modded Cream Alps