Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm tinkering with the USB HID specification for power devices for all the wrong reasons.

Historically, UPSes had various proprietary communication protocols over serial ports. Nowadays they usually have a USB port, but I have a bunch of very old APC UPSes with just the serial port and/or the expansion card slot (which is usually just another serial link plus power on a edge connector).

A normal person would just use NUT or apcupsd over serial and call it a day. A bored person would write a USB HID power device stack and serial protocol acquisitors to give these UPSes USB ports. An insane person would add projectors from the USB HID power device stack to serial protocols so that they could use whatever communication card they want on any UPS they have (for example, a CyberPower RM205 card plugged into an APC Smart-UPS).

Why? Because apparently I'm insane and I needed a break from working on delinking executables back into object files, another heretical project I've worked on for the past couple years.

I've just started and I don't know if I'll finish that, but it's something I need to work on to exorcise that particular nagging thought out of my head.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: