Remotely unplugging a USB device on my Mac, without touching it
Nov 27, 2026
AI summary AI-generated, may contain mistakes
The author was remotely debugging a USB-C device with custom firmware plugged into a Mac Studio at work, accessed over a WireGuard VPN tunnel. The debugging process involves flashing firmware via MIDI SysEx messages, a handy but flaky technique that can leave the device partially flashed. Recovering from this failure state normally requires physically re-plugging the device, which motivated the author's approach to remotely unplugging it.
Tonight I was remote debugging a USB-C device with custom firmware, which was plugged into my Mac Studio at work. I was accessing it over a WireGuard VPN tunnel.
Part of the debugging process involves flashing firmware to the device using MIDI SysEx messages, and while handy, this technique can also be flaky, leaving the device in a partially-flashed state that needs a physical re-plug to recover from.
Keep reading
Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.
AI summaryThe author found that Ansible playbooks fail on freshly upgraded Ubuntu 26.04 servers, timing out with 'Timeout (12s) waiting for privilege escalation prompt' when sudo password protection is enabled. The cause is that Ubuntu 26.04 ships sudo-rs, a Rust rewrite of sudo, which is incompatible with the traditional sudo behavior Ansible relies on.
AI summaryThe author has joined the NTP Pool with a public Stratum 2 NTP time server (ntp-01.jeffgeerling.com), which sources its time from his private Stratum 1 time server (time.jeffgeerling.com) in his studio. His Time Pi connects to an outdoor GNSS antenna through a TimeHAT v6 paired with the timing-grade u-blox ZED-F9T GNSS module.
AI summaryReflecting on the recent Microsoft outage and FAA ground stop, the author draws on experiences with infrastructure and ops teams to highlight how smaller-scale incidents are handled. The key insight, gained over a decade of software development, is that an ops mindset is fundamentally different from a development or project management mindset.
AI summaryThe CGPM (General Conference on Weights and Measures) has decided that no more leap seconds will ever be added to UTC, with the last one having occurred at the end of 2016. The author expresses excitement about this decision, which was made while they were on vacation.
AI summaryThe author documents what they believe is the only online guide to performing a fan swap on a Calnex Rb/GPS frequency reference used in their 'Atomic Clock Tower.' Using a Torx T10 screwdriver, they removed the top cover, noting the screws were secured with Loctite and required force to loosen. The interior proved simple and serviceable, containing a SpectraTime GRClok-1500 with an integrated timing-grade GPS module and a stabilized 10 MHz output.