News for hackers. Stuff that matters.
Re:Apple iPod Shuffle USB interface pinout by onetimeuse92304 on Monday February 05, 2024 @09:31AM (#39261567)
There are ways to handle it. For example, before it is firmly plugged you can just sense what is happening -- us minimum voltage and high impedance to prevent sparking and to get information about the state of the mating.

You only turn on actual power when it is firmly connected and you turn it off immediately when there is any signal that it might be disconnecting.

Re:Apple iPod Shuffle USB interface pinout by crote on Monday February 05, 2024 @01:08PM (#39264468)
The trick is doing so in a way which requires basically zero hardware. DIY ergo keyboards are built around a controller like the Pro Micro - which can't do this out-of-the-box.

Having to add a bunch of components to implement such a feature isn't really worth it when switching to USB-C also solves the problem, at basically zero cost and effort. It's not spec-compliant of course, but who cares with DIY?