November 28, 2026
If you spend any time around vintage Macintosh gear, sooner or later you'll run into the Griffin iMate. Dating from the late 1990s, this little adapter connects Apple Desktop Bus (ADB) keyboards and mice to USB, letting classic peripherals carry on with newer computers. It's a handy thing to have around, assuming it works. Mine had other ideas. I plugged it into USB and LED D1 stayed completely dark and the computer reported that the device had a problem, and it did not properly register.
What followed was a hardware hunt and then a software one, since putting the repair to the test meant turning an Arduino into a fake keyboard and mouse.
When faced with electronics that aren't doing what you expect, what option do you really have other than to take them apart?
The brain of the iMate is U1, a Cypress CY7C63413-PVC microcontroller, and I worked from the schematic in Project Gus's iMate teardown, which is well worth a read before you dive in.
It turns out D1 isn't a power LED at all. It runs from +5V through 330 Ω into pin 6 of U1, lighting only when that pin is pulled low. It's an activity LED, so a steady light isn't guaranteed. But with the computer failing to register it, we had work to do.
I started with the basics: VBUS, the +5V rail, U1's supply and D-, with the scope ground clipped to circuit ground. The 6 MHz resonator, Y1, was oscillating at 6.033 MHz, within the ±1.5% tolerance of low-speed USB. D- sat at 3.6 V, so nothing was holding it low at that moment.
Windows gave me a much better clue than the LED did. It saw a low-speed device connect, but reported "Device Descriptor Request Failed". The VID_0000&PID_0002 it showed is just a placeholder. The pull-up on D- was reaching the PC, but the conversation with U1 was falling apart.
Q3 became my first suspect. It's part of a wake-up circuit that pulls D- low when the power key on an ADB keyboard is pressed, which is how old USB Macs were switched on. A good reading on D- didn't rule it out, since Q3 could still be pulling the line low intermittently. I pulled Q3 and the board enumerated as 077D:0405, "iMate, USB To ADB Adaptor", complete with keyboard and mouse interfaces. D1 even flashed briefly at power-on, which is reasonable for an activity LED with no ADB device attached. Q3's empty gate pad stayed at 0 V.
Case closed? Not so fast.
My component tester identified Q3 as a working N-channel enhancement MOSFET, and the schematic suggests it's probably a 2SK1399.
I measured a gate threshold of 1.70 V where the 2SK1399 datasheet lists 0.9 to 1.5 V at 1 µA, and an on resistance of 11 Ω against 14 Ω typical and 20 Ω max with 4 V gate drive. The body diode drop was 723 mV, which I didn't compare. The tester's conditions likely differ from the datasheet's, and this check can't rule out leakage or intermittent faults.
The backup battery measured 3.2 V. I refitted Q3 and added a 100 nF capacitor from BATT+ to ground, the fix from Project Gus's article. Gus added it because, with the battery removed or depleted, noise could turn Q3 on and put USB into a reset loop. With mine reading 3.2 V, that wasn't quite my situation. USB failed again.
Next I put 10 kΩ across R5, the 2.2 MΩ gate resistor for Q3, to hold the gate more firmly at ground. Still no USB, and my scope caught 1.1 V on the gate, or about 110 µA through the resistor. Then I found that Q3 was poorly soldered. Surely that was it? I cleaned and refitted it, USB still failed, and the gate now read 1.6 V (about 160 µA). A solder bridge to D- seemed possible, but the gate to D- resistance was just over 20 kΩ, matching the normal path through R2, R7 and my test resistor.
I set up the scope to watch the gate and D- together, ready to catch the culprit in the act. Nothing triggered, and the PC recognized the device. It stayed recognized with the probes removed, and later it enumerated without the 10 kΩ resistor too.
So what changed? While setting up to measure D-, I had resoldered the D- and VCC pads, and one of those may have had a poor connection. That's my best explanation, but I changed several things along the way and didn't isolate it. The 1.1 V and 1.6 V gate readings remain a mystery.
To check the wake-up circuit, I simulated the power key by pulling PSW (pin 2 of the ADB socket) to ground through about 1 kΩ. The gate behaved as expected every time. With USB plugged in it stayed near 0 V whether PSW was open or pulled low. With USB unplugged and the battery fitted, pulling PSW low brought the gate to about 3 V, and releasing it returned the gate to near 0 V.
Having Windows recognize the iMate was only half the job. I didn't have an ADB keyboard or mouse to plug into it. No problem, an Arduino Uno and two jumper wires can pretend to be both.
The ADB socket is a 4-pin Mini-DIN, physically like an S-Video jack. The first pinout I tried didn't match my iMate, so here's what worked, looking into the socket with the rectangular key at the bottom:
Top left is GND (pin 4), which goes to Arduino GND
Bottom right is ADB data (pin 1), which goes to Arduino D2
Top right (+5V, pin 3) and bottom left (PSW, pin 2) stay unconnected
The Uno gets its power from its own USB cable. There's also no need for a pull-up resistor, as the iMate already has a 470 Ω pull-up (R1) from the data line to +5V. I started out with an external 1 kΩ resistor, which put the two in parallel at about 320 Ω and made the line needlessly hard to pull low.
The first sketches assumed textbook behaviour: wait for the roughly 800 µs Attention pulse, answer the mouse identification request, then send some movement. The pointer didn't budge.
Was the iMate even talking? A diagnostic sketch that latched the Uno's LED on any low pulse confirmed that it was. Next I logged pulse widths over serial and found clean bit cells, with low times of 32–40 µs for a 1 and 56–64 µs for a 0. Then a hex decoder showed what the iMate was actually sending:
Decoded Commands (HEX): 2E 2A 4C 3B 04 2C 2C 2C 2C 2C 2C 2C ...
Oddly, that line only printed when I unplugged the iMate. The sketch was waiting for 20 ms of silence before printing, and the constant polling never gave it any.
The 2C is the iMate asking the keyboard (address 2) for key data, repeating roughly every 11 ms. The 3B tells the mouse (address 3) to accept new settings, and a later capture showed it carried 0x6002, with handler ID 2 being the standard 200 cpi mouse. That 04 was most likely not a command at all, but the tail end of the 0x6002 data misread by my simple decoder.
If the iMate was already asking for a keyboard, why not give it one? The sketch answered with key code 0x00 (the letter a) down, then 0x80 for key up 50 ms later. An "a" appeared on screen every second. Success!
The mouse was not so cooperative. The iMate kept polling the keyboard and ignored my simulated mouse. ADB handles this with a Service Request (SRQ): a waiting device holds the line low during the stop bit of another device's command. Holding it for about 260 µs, rather than the usual 65 µs or so, prompts the host to go looking.
It took several attempts, but once the SRQ landed on the 2C stop bit, the iMate polled 3C (mouse movement) and the pointer moved.
With both devices working, it was time to combine them and type "The keyboard works." Easy, right? Three more bugs were waiting.
First, the "a" from my earlier test started repeating much faster than once a second, as a delayed key-up triggered auto-repeat. Timing the key hold (25 ms) separately from the gap between characters sorted that out.
Next, typing stopped dead after the capital T. The cure was to send Shift down, T down, T up and Shift up as four separate frames.
Finally, the sentence printed only once while the mouse happily kept moving. Once the mouse answered, the iMate switched to polling 3C, so SRQ needed to work both ways for the keyboard to interrupt and get its turn back.
The finished sketch, ADB_iMate_Tester.ino, types "The keyboard works." and presses Return, moves the pointer in one closed 16-step circle to test both axes, pauses for a second and then does it all again. The simulated mouse only answers when a step is due and the 16 movements add up to zero, so there's no drift built in. To run it, wire up the Uno, upload the sketch, open a blank text document and then plug the iMate into USB. The code is on my GitHub.
Keyboard typing and pointer movement both pass through my repaired iMate, and D1 blinks along with the activity. I didn't test mouse clicks, and since the sketch leaves PSW unconnected, the power key check above is still a separate test.
So what are the takeaways from this one? Check what an LED actually means, because a dark one controlled by firmware may be perfectly normal. Ask the computer early, since the enumeration error was a far better clue than D1. Removing Q3 got USB working but didn't prove Q3 was faulty, and refitted parts and probed pads deserve a second look. Finally, read the schematic before adding parts, and listen to the bus before you try to talk on it.