Author Topic: Anyone know how to change the device name for a board using Soarer's Tennsy Mod?  (Read 2655 times)

0 Members and 1 Guest are viewing this topic.

Offline iowaseven

  • Thread Starter
  • Posts: 8
In Windows under the Devices and Printers control panel item where your monitor, keyboard and mouse are listed, my Model M using Soarer's Tennsy Mod displays as a keyboard called 'Soarer's Keyboard Converter'. I would like to change this to a name of my choosing (e.g. '1985 IBM Model M Custom', or something). Anyone know if this is possible?
No disrespect menant to the great Mr. Soarer!

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
As the source code is not available you can't change it and recompile so your only option is to edit the .hex file directly.  To test this idea I loaded the controller firmware (should be similar enough) in a hex editor and searched for the string "Soarer" but it was not found so that's not going to work.

I would say it's not possible but nearly didn't post as someone may know better - hopefully they do as this would be a nice feature :)
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline Findecanor

  • Posts: 5090
  • Location: Koriko
USB strings are in 16-bit Unicode. Every other byte in the string is a zero.
🍉

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
USB strings are in 16-bit Unicode. Every other byte in the string is a zero.
Ooh thanks!  *looks again*

53 = S regardless of encoding, correct?  There is no 53 in the file so does that mean we're out of luck or must it be there somewhere?
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline hasu

  • Posts: 3491
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Or I guess you can overwrite with INF or regedit.

Offline iowaseven

  • Thread Starter
  • Posts: 8
Thanks for looking into this, guys! It's much appreciated.

Offline fohat.digs

  • * Elevated Elder
  • Posts: 6535
  • Location: 35°55'N, 83°53'W
  • weird funny old guy
So what the heck has happened to Soarer himself?

I almost asked him for his mailing address once, but never did. All I know is that it is England somewhere.

Does nobody here or on DT know anything about him personally?
"Starting in 2011, the deficits again started to shrink. During Obama’s term  the deficit was reduced by $900 Billion  before finally in 2015 the GOP managed to wrangle a “reconciliation” bill out of Obama where he again cut corporate taxes, as well as made permanent some of George W. Bush’s original tax cuts. This is the year everything reversed. Before this, under Clinton, Bush and Obama the deficit in almost every year was gradually decreasing. The balance we had of taxes and the economy was bringing the deficit down, the money coming in was slowly catching up with the money going out until 2015. Trump’s subsequent tax cut has continued the new trend even after the rest of Bush’s cuts have since expired. Obama had an average GDP of 2.3%, with 11.6 million jobs created and unemployment peaking at 10% in 2009, then falling to 4.3% in 2016. If we had continued on that downward deficit track, we would have again reached balance and another surplus in 2017-2018.
– Frank V Walton 2025-07-01

Offline dorkvader

  • Posts: 6289
  • Location: Boston area
  • all about the "hack" in "geekhack"
So what the heck has happened to Soarer himself?

I almost asked him for his mailing address once, but never did. All I know is that it is England somewhere.

Does nobody here or on DT know anything about him personally?


Hopefully we will know soon

Offline Findecanor

  • Posts: 5090
  • Location: Koriko
53 = S regardless of encoding, correct?
S = 53 hexadecimal = 83 decimal.

🍉

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
53 = S regardless of encoding, correct?
S = 53 hexadecimal = 83 decimal.

I meant whether 8 or 16 bit hex, my terminology is rusty due to working too long in an office :-[
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline arakula

  • Posts: 50
As the source code is not available you can't change it and recompile so your only option is to edit the .hex file directly.  To test this idea I loaded the controller firmware (should be similar enough) in a hex editor and searched for the string "Soarer" but it was not found so that's not going to work.
Since the firmware is provided in a .hex file, loading that into a hex editor is a bit ... well, overkill. The .hex file is a text file containing hex strings.
You only need to know where to look ...
For example, in Soarer_at2usb_v1.12_atmega32u4.hex, it's here:

:100520000072000000380353006F00610072006524
:100530000072002700730020004B00650079006204
:10054000006F00610072006400200043006F006EC5
:1005500000760065007200740065007200000061A2


At offset 0525, you can set the length of the string (including an UTF-16 0 at the end); that's followed by 03, indicating that it's a string. After that, 56 bytes come with little-endian UTF-16 characters. If you change anything, however, ...
  • keep in mind that the last byte in the line is a checksum over the line (look up Intel Hex format for the calculation)
  • I got no idea whether Soarer's command line tools will be able to find the USB device. Presumably, they will, as they're probably only searching for VID and PID.

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Since the firmware is provided in a .hex file, loading that into a hex editor is a bit ... well, overkill. The .hex file is a text file containing hex strings.
You only need to know where to look ...
For example, in Soarer_at2usb_v1.12_atmega32u4.hex, it's here:

:100520000072000000380353006F00610072006524
:100530000072002700730020004B00650079006204
:10054000006F00610072006400200043006F006EC5
:1005500000760065007200740065007200000061A2


At offset 0525, you can set the length of the string (including an UTF-16 0 at the end); that's followed by 03, indicating that it's a string. After that, 56 bytes come with little-endian UTF-16 characters. If you change anything, however, ...
  • keep in mind that the last byte in the line is a checksum over the line (look up Intel Hex format for the calculation)
  • I got no idea whether Soarer's command line tools will be able to find the USB device. Presumably, they will, as they're probably only searching for VID and PID.
Very helpful - thanks!

Hopefully you're right about the tools using VID and PID, they're shorter to write out as well as that being the standard way of doing USB so I don't see why Soarer would use the text description, unless he doesn't do well at remembering numbers...

Who's going to test it?  It's too late for me today.
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline iowaseven

  • Thread Starter
  • Posts: 8
I bought this up as a casual topic, and you gents are going all out on it! Thank you all so much!