An IBM M2 Keyboard Lives Again

There’s a mystique in old keyboard circles around the IBM Model M, the granddaddy of PC keyboards with those famous buckling spring key switches. The original Model M was a substantial affair with a sheet metal backplane that would probably serve well as a weapon in a zombie apocalypse and still allow writing a Hackaday piece afterward, but later on in the life of these ‘boards there was also a lighter version. The M2 as these models are dubbed has a few known problems, and [Anders Nielsen] scored one online that turned out to have dodgy capacitors. His video, below the break, takes us through the disassembly of his M2 and provides a relaxing tour of these not-quite-so-famous peripherals.

As you’d expect, three-decade-old plastic isn’t always in the best shape, so disassembly and unlatching all those little tabs has to be performed with care. The keys come off and the springs are on show, but we get a nasty shock when they all fall out of place as the top is removed. It appears the rookie mistake is to not turn the ‘board upside down before parting it. Replacing the caps is an easy process after all that, and we get a little dive into the 6805 processors used in model Ms.

If you have a model M of any description then you’re probably at home with the clack-clack-clack sound they make, but have you ever looked at its ancestor, the model F?

Continue reading “An IBM M2 Keyboard Lives Again”

Screenshot of the blog post, showing how you can optimize your battery level measurement resistor dividers, among many other things

Making Your Wireless Keyboard Truly Low-Power

The basics of keyboard design are tried and true at this point, but there are still a few aspects yet unconquered. One of them is making your keyboards wireless. You might think it’s easy, but if you just slap a wireless-enabled microcontroller onto your board, you’ll soon be left with a dead battery. Rejoice – [Pete Johanson], creator of ZMK, tells all that you want to know about making your keyboard low-power.

In a lengthy blog post, he goes through everything that a typical keyboard consists of, and points out factor after factor that you never knew could cause a spike in power consumption. Are you using muxes or config options that will force your MCU to always stay alert? Is your voltage regulator’s quiescent current low enough, and can the same be said about other parts you’re using? Does your MCU have to work extra hard transmitting bytes because you’ve put a copper fill under its antenna? Most importantly, is the firmware you’re using designed to optimize power consumption at its core?

If you’ve ever thought about designing low-power keyboards, hell, any low-power device, you seriously should read this post – it will set you at ease by giving you a checklist of things to do, and it also links to quite a few other useful resources, like the ZMK power profiler. Perhaps, if you’re building a wireless keyboard or just creating battery-powered device, you should consider ZMK, as it sure seems to be written with energy efficiency in mind.

Want to learn more about what it takes to build a low-power device? Our 2023 Low-Power Contest attracted a wide range of entrants, and they’ve shared a flurry of methods and tricks you can use to build any sort of battery-juice-sipping gadget.

One-handed PS-OHK Keyboard Doesn’t Need Chording Or Modifier Keys

Most one-handed keyboards rely on modifier keys or chording (pressing multiple keys in patterns) to stretch the functionality of a single hand’s worth of buttons. [Dylan Turner]’s PS-OHK takes an entirely different approach, instead putting 75 individual keys within reach of a single hand, with a layout designed to be practical as well as easy to get used to.

We can’t help but notice Backspace isn’t obvious in the prototype, but it’s also a work in progress.

The main use case of the PS-OHK is for one hand to comfortably rest at the keyboard while the other hand manipulates a mouse in equal comfort. There is a full complement of familiar special keys (Home, End, Insert, Delete, PgUp, PgDn) as well as function keys F1 to F12 which helps keep things familiar.

As for the rest of the layout, we like the way that [Dylan] clearly aimed to maintain some of the spatial relationship of  “landmark” keys such as ESC, which is positioned at the top-left corner of its group. Similarly, arrow keys are grouped together in the expected pattern.

One-handed keyboards usually rely on modifier keys or multi-key chording and it’s interesting to see work put into a different approach that doesn’t require memorizing strange layouts or input patterns.

Want to make your own? The GitHub repository has everything you need. Accommodating the 75 physical keys requires a large PCB, but it’s a fairly straightforward shape and doesn’t have any oddball manufacturing requirements, which means getting it made should be a snap.

In Future, Printer Documents You

[Jason Dookeran] reminded us of something we don’t like to think about. Your printer probably adds barely noticeable dots to everything you print. It does it on purpose, so that if you print something naughty, the good guys can figure out what printer it came from. This is the machine identification code and it has been around since the days that the US government feared that color copiers would allow wholesale counterfiting.

The technology dates back to Xerox and Canon devices from the mid-80s, but it was only publicly acknowledged in 2004. With color printers, the MIC — machine identification code — is a series of tiny yellow dots. Typically, each dot is about 10 microns across and spaced about a millimeter from each other. The pattern prints all over the page so that even a fragment of, say, a ransom note can be identified.

Continue reading “In Future, Printer Documents You”

The 3D-printed adapter shown assembled, with the USB cable's wires going into cable channels on the adapter and magnets slotted into the adapter's openings

Use Your Thinkpad X1 Tablet’s Keyboard Standalone

Some hacks are implemented well enough that they can imitate involved and bespoke parts with barely any tools. [CodeName X]’s Thinkpad X1 Tablet Keyboard to USB adapter is one such hack – it let’s one reuse, with nothing more than a 3D printed part and a spare USB cable, a keyboard intended for the Thinkpad X1 Tablet (2016 or 2017).

The issue is, this keyboard connects through pogo pins and holds onto the tablet by magnets, so naturally, you’d expect reusing it to involve a custom PCB. Do not fret – our hacker’s take on this only needs aluminum foil and two small circular magnets, pressing the foil into the pins with the help of the printed part, having the USB cable pins make contact with the foil pads thanks to nicely laid out wire channels in the adapter. If you want to learn more, just watch the video embedded below.

Of course, this kind of adapter will apply to other similar keyboards too — there’s no shortage of tablets from last decade that had snap-on magnetic keyboards. But watch out; some will need 3.3V, and quite a few of them will use I2C-HID, which would require a MCU-equipped adapter like this wonderful Wacom rebuild did. Not to worry, as we’ve shown you the ropes of I2C-HID hacking.

Continue reading “Use Your Thinkpad X1 Tablet’s Keyboard Standalone”

the Logitech receiver in question next to the mouse it's paired to

Uncovering Secrets Of Logitech M185’s Dongle

[endes0] has been hacking with USB HID recently, and a Logitech M185 mouse’s USB receiver has fallen into their hands. Unlike many Logitech mice, this one doesn’t include a Unifying receiver, though it’s capable of pairing to one. Instead, it comes with a pre-paired CU0019 receiver that, it turns out, is based on a fairly obscure TC32 chipset by Telink, the kind we’ve seen in cheap smart wristbands. If you’re dealing with a similarly obscure MCU, how do you even proceed?

In this case, GitHub had a good few tools developed by other hackers earlier — a Ghidra integration, and a tool for working with the MCU using a USB-UART and a single resistor. Unfortunately, dumping memory through the MCU’s interface was unreliable and frustrating. So it was time to celebrate when fuzzing the HID endpoints uncovered a memory dump exploit, with the memory dumper code helpfully shared in the blog post.

From a memory dump, the exploration truly began — [endes0] uncovers a fair bit of dongle’s inner workings, including a guess on which project it was based on, and even a command putting the dongle into a debug mode where a TC32-compatible debugger puts this dongle fully under your control.

Yet another hands-on course on Ghidra, and a wonderful primer on mouse dongle hacking – after all, if you treat your mouse’s dongle as a development platform, you can easily do things like controlling a small quadcopter, or pair the dongle with a SNES gamepad, or build a nifty wearable.

We thank [adistuder] for sharing this with us!

Donkey Kong Bongos Ditch The GameCube, Go Mobile

Historically speaking, optional peripherals for game consoles tend not to be terribly successful. You’ll usually get a handful of games that support the thing, one of which will likely come bundled with it, and then the whole thing fades into obscurity to make way for the next new gimmick.

For example, did you know Nintendo offered a pair of bongos for the GameCube in 2003? They were used almost exclusively by the trio of Donkey Konga rhythm games, although only two of them were ever released outside of Japan. While the games might not have been huge hits, they were successful enough to stick in the memory of [bl3i], who wanted a way to keep the DK bongo experience alive.

The end result is, arguably, more elegant than the hokey musical controller deserves. While most people would have just gutted the plastic bongos and crammed in some new hardware, [bl3i] went through considerable effort so the original hardware would remain intact. His creation simply snaps onto the bongos and connects to them via the original cable.

Internally, the device uses an Arduino to read the output of the bongos (which appeared to the GameCube essentially as a standard controller) and play the appropriate WAV files from an SD card as hits are detected. Add in an audio amplifier module and a battery, and Nintendo’s bongos can finally go forth into the world and spread their beats.

As far as we’re able to tell, this is the first time the Donkey Kong bongos have ever graced the pages of Hackaday in any form, so congratulations to [bl3i] for getting there first. But it’s certainly not the first time we’ve covered ill-conceived game gadgets — long time readers will perhaps be familiar with Nintendo’s attempt to introduce the Robotic Operating Buddy (ROB) to households back in 1985.

Continue reading “Donkey Kong Bongos Ditch The GameCube, Go Mobile”