How to reverse engineer USB HID on Linux
popovicu.com·5h·
Discuss: r/linux
Flag this post

Follow @popovicu94

I recently added a UPS to my server rack to keep my internet and home network running during a power outage. After unpacking it, I investigated its USB port and discovered it wasn’t for powering other devices. Instead, it connects to a host computer to provide information like battery charge status, remaining runtime, and current load.

I wanted to access this data without relying on third-party software, so I decided to see if I could reverse-engineer the protocol using Linux.

Table of contents

Open Table of contents

Setup

Ideal scenario: An existing Linux driver

Raw HID device

Similar Posts

Loading similar posts...