Recommended Posts

My keyboard has a wired USB cable - tethered to the device.  I watched a bunch of youtube videos noting how it's just 4-core USB and almost any device can be snipped, and a USB-C socket soldered into place.

I am about to try this - but before doing so - I noticed that the cable attaches to the keyboards PCB with this connector - anyone know what it's called?  It has the same 4 core wires as USB, and is about 7mm by 4mm (ish).

Purpose being, I want to see if someone can make a cable up for me with that on one end, and USB-C female on the other.

Ta

 

IMG_7584.JPEG

Link to comment
https://www.neowin.net/forum/topic/1451624-converting-keyboard-to-usb-c/
Share on other sites

What model keyboard is it? Or if you can find an identifier on the PCB or provide a picture of the whole PCB, I'm sure we can find the type of JST connector it is. Plenty of people talk about this stuff in the mechanical keyboard community so it should be easy to find.

Another important attribute of a connector is the pitch (distance between neighboring pins as measured from their centers).

If the pitch is 1.25mm, then it looks like it might be equivalent to a Molex 0537800570. The mating plug is a Molex 0511460500.

 

So someone else suggested Molex, and I wrote it off thinking they'd not paid attention, as the only Molex I was aware of was the old style HDD power connector - but with your context of a part number, I think you could be right!

  On 12/02/2025 at 10:08, Dick Montage said:

So someone else suggested Molex, and I wrote it off thinking they'd not paid attention, as the only Molex I was aware of was the old style HDD power connector - but with your context of a part number, I think you could be right!

Expand  

Same here, I've been dabbling in PC repairs since the mid 1990's and learned something new today!

https://www.molex.com/en-us/products/connectors

  On 11/02/2025 at 20:05, Dick Montage said:

My keyboard has a wired USB cable - tethered to the device.  I watched a bunch of youtube videos noting how it's just 4-core USB and almost any device can be snipped, and a USB-C socket soldered into place.

I am about to try this - but before doing so - I noticed that the cable attaches to the keyboards PCB with this connector - anyone know what it's called?  It has the same 4 core wires as USB, and is about 7mm by 4mm (ish).

Purpose being, I want to see if someone can make a cable up for me with that on one end, and USB-C female on the other.

Ta

 

IMG_7584.JPEG

Expand  

Why not just use a usb a to c adapter?

proxy-image (1).jpeg

  On 12/02/2025 at 10:08, Dick Montage said:

So someone else suggested Molex, and I wrote it off thinking they'd not paid attention, as the only Molex I was aware of was the old style HDD power connector - but with your context of a part number, I think you could be right!

Expand  

Molex is the manufacturer, technically even the old FDD plugs were molex's 😛

  On 12/02/2025 at 19:42, Som said:

Why not just use a usb a to c adapter?

proxy-image (1).jpeg

Expand  

Not the point mate :)

  On 12/02/2025 at 12:39, DKAngel said:

could just unpin the wires from the connector and pin new ones in?

there should be holes on the other side of the connecter to unclip

Expand  

It’s a surface mount connector, no wires to unpin.

  • 2 weeks later...

Right, so - I did it.  Turns out that:

1) something must have been missing continuity because this time it just worked

2) I bought a much better soldering iron (full soldering station) - my last one was USC rechargeable junk and just not reaching the temperature

Next step, Stream Deck (I unfortunately have one of the old integrated cable ones)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Because Win7 was beautiful, much faster and more functional than XP. Win10 (glossing over 8 as many do) was slightly faster in some cases, more functional in some cases, but some people such as myself hated how it looked and decided it wasn't worth the upgrade. Some people liked (or were ok with) the look, and thus it is a good upgrade. Win11 is like 10, but is less functional between key features being removed and constant bugs/crashes either due to updates, or just things that were never patched. It literally has nothing going for it, and I use it every day at work so I'm quite familiar with it.
    • I switched my mom from Chrome to Firefox and she had a serious meltdown. She even managed to figure out how to reinstall Chrome, which really surprised me. What finally got her to switch was Chrome no longer being supported on Win7 and me putting a Chrome skin on FF, and setting it up identically.
    • Feels very much like most other gnome based Linux distros. There is minimal amounts that are influenced by Windows 11, maybe just enough to make people who are switching comfortable enough with the idea. As far as I can tell its mainly just turning the 'taskbar' panel as a 100% sized static panel, rather than the default dynamic sized. Turning it from the Mac OS Dock into the Windows taskbar. The Arc Menu - that I assume you're taking not with from the screenshots, is indeed the Windows 11 style one, but it has lots of other options too, from the more traditional gnome, Windows 7 etc. Still free to install what ever Window Manager you want once you're comfortable enough with Linux though.
    • Wow, and here I'm still happily using 1080p...
    • Added an extra filter to Fail2Ban.  I thought about just adding this to my existing aibots filter, but for the time being I'm keeping it separate because it's "possible" real humans may trigger this one so as long as it doesn't start filling my inbox I'd like to get notified about these so I can adjust it as necessary in the future. I'm still holding close to 10k unique IP addresses at any given time that have been banned via the "aibots" filter that looks for certain user agent strings of known AI scrapers.  However, I've been getting an increasing amount of traffic trying to scrape the site with sanitized user agent strings that just look like normal web browsers, however... Because I enabled authentication I can now see that they're racking up lots of 401 (unauthorized) responses in the Apache "access.log" file, but they're not triggering anything in the Apache "error.log" file, which is where failed attempts to log in would appear.  Basically, if an actual human tried to log in with an invalid username and password they don't immediately go into "access.log" as a 401, they go into "error.log" with a status message such as "user FOO not found".  The only way to trigger a 401 simply by visiting the site, as far as I'm aware, is to hit "Cancel" on the login prompt, or otherwise try to access files directly without properly authenticating. So, given the fact I'm getting a few thousand 401 errors a day from sanitized user agent strings that don't show up in "error.log", which means no attempt at logging in properly, I added another jail/filter set to Fail2Ban to immediately ban anybody who triggers a 401.  This feels a bit nuclear so I may need to adjust it in the future, but as far as I'm aware so far no real humans are being inconvenienced so all I'm doing is wasting the time of some AI scraper bots. Example log entry 61.170.149.70 - - [25/Jun/2025:20:01:04 -0400] "GET /content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration HTTP/1.1" 401 3287 "https://kiwix.marcusadams.me/content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" Contents of /etc/fail2ban/filter.d/apache-401repeat.conf #Fail2Ban filter for bots and scrapers that try to access #files directly without entering credentials for apache2-auth #and therefore trigger lots of 401 errors without triggering #the apache-auth jail. # #Marcus Dean Adams [Definition] failregex = ^<HOST> .+\" 401 \d+ .*$ Contents of /etc/fail2ban/jail.d/apache-401repeat.local [apache-401repeat] enabled = true ignoreip = 10.1.1.1 port = 80,443 filter = apache-401repeat maxretry = 1 bantime = 672h findtime = 10m logpath = /var/log/apache2/access.log Oh, and all this traffic is AFTER I explicitly banned Alibaba's IP ranges that were absolutely blowing me up day and night. Observation; two of the IP addresses that have triggered this jail in the 30 or so minutes since I turned it on were owned by Microsoft.  Wonder if they're doing their own AI scraping/probing, or if that's just an Azure VM owned by somebody else.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      552
    2. 2
      ATLien_0
      208
    3. 3
      +FloatingFatMan
      175
    4. 4
      Michael Scrip
      152
    5. 5
      Som
      139
  • Tell a friend

    Love Neowin? Tell a friend!