geekhack Projects > Making Stuff Together!

TMK USB to USB keyboard converter

<< < (183/184) > >>

hasu:
That log is what I needed. Thank you.

I think I found one of the causes at least and fixed it.

 miniM_fix_5ed16b.hex (61.9 kB - downloaded 49 times.)

Can you try this and share debug prints?

Use this procedure to get debug prints.
1. run hid_listen
2. plug in the converter first and wait for 5 sec
3. plug in the keyboard then
4. press a few keys

pupmonster:
Results here inline, as attachment somehow was disallowed by forum:


--- Code: ---sudo ./hid_listen

Waiting for device:....
Listening:

TMK:5ed16b/LUFA:d6a7df/UHS2:df8e64
u:20
[S][W][W]u:40
u:50
u:51
[W]BM Init
Addr:01
NC:01
HID_PROTOCOL_KEYBOARD
bNumEP:02
Cnf:01
bIfaceNum:00
bNumIface:00

Interface:00
SET_PROTOCOL: 00
SET_IDLE: 00
RPIPE: 00
RWU: 00
BM configured
u:90
s:f

USB configured.
[i]
Loop start.
usb_state: 90
speed: full
input 1: 00 00 0A 00 00 00 00 00 00 00 00 00
00 00 0A 00 00 00 00 00 00 00 00 00
ginput 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 0B 00 00 00 00 00 00 00 00 00
00 00 0B 00 00 00 00 00 00 00 00 00
hinput 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 12 00 00 00 00 00 00 00 00 00
00 00 12 00 00 00 00 00 00 00 00 00
oinput 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 26 00 00 00 00 00 00 00 00 00
00 00 26 00 00 00 00 00 00 00 00 00
9input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 49 00 00 00 00 00 00 00 00 00
00 00 49 00 00 00 00 00 00 00 00 00
^[[2~input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 46 00 00 00 00 00 00 00 00 00
00 00 46 00 00 00 00 00 00 00 00 00
input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
·input 1: 00 00 45 00 00 00 00 00 00 00 00 00
00 00 45 00 00 00 00 00 00 00 00 00
input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
^C
steveg@fedora-t14:/data/apps$ sudo ./hid_listen
Waiting for device:........
Listening:

TMK:5ed16b/LUFA:d6a7df/UHS2:df8e64
u:20
[S][W][W]u:40
u:50
u:51
[W]BM Init
Addr:01
NC:01
HID_PROTOCOL_KEYBOARD
bNumEP:02
Cnf:01
bIfaceNum:00
bNumIface:00

Interface:00
SET_PROTOCOL: 00
SET_IDLE: 00
RPIPE: 00
RWU: 00
BM configured
u:90
s:f

USB configured.
[i]
Loop start.
usb_state: 90
speed: full
input 1: 00 00 04 00 00 00 00 00 00 00 00 00
00 00 04 00 00 00 00 00 00 00 00 00
ainput 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 16 00 00 00 00 00 00 00 00 00
00 00 16 00 00 00 00 00 00 00 00 00
sinput 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 52 00 00 00 00 00 00 00 00 00
00 00 52 00 00 00 00 00 0^[[A0 00 00 00
input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 49 00 00 00 00 00 00 00 00 00
00 00 49 00 00 00 00 00 00 00 00 00
^[[2~input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 43 00 00 00 00 00 00 00 00 00
00 00 43 00 00 00 00 00 00 00 00 00
^[[21~input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 33 00 00 00 00 00 00 00 00 00
00 00 33 00 00 00 00 00 00 00 00 00
òinput 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 8A 00 00 00 00 00 00 00 00 00
00 00 8A 00 00 00 00 00 00 00 00 00
input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
input 1: 01 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 00 00 00 00 00 00 00 00
input 1: 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00

--- End code ---

hasu:
It looks good now according to the log.

Let me know if you still have a problem. I'll update firmware on Keymap Editor soon later if not.


Next time, you can use CODE tag to include debug output in your message on this forum.

https://en.wikipedia.org/wiki/BBCode
https://www.bbcode.org/showing-code-with-bbcode.php

pupmonster:
Sounds good. Thanks so much. Your service is outstanding.

However, I do not quite understand how you intend to proceed or what I should ideally be doing on my end.

Should I use  miniM_fix_5ed16b.hex  as the basis of any adaptations to my keyboard layout in TMK Keymap Editor?

And ... I also just received the newest USB-USB adapter today in the mail. Thanks. Should I also use miniM_fix_5ed16b.hex there as well?

Or ... should I just start TMK Keyboard editor without first uploading a base hex file, in the understanding that the latest and greatest is being used automatically there?

Thanks much for the clarification!

hasu:
miniM_fix_5ed16b.hex was built just for debug/test and it can be used with Keymap Editor.
With the fix the converter doesn't seem to have obvious problem with Mini M now.

I just updated firmware on github and Keymap Editor for Mini M support. Now you can edit keymap and download the fixed firmware on Keymap Editor.

https://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?usb_usb

Thank you for your help.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version