• 5 posts
  • 1 comment
Joined 5 days ago
Cake day: November 23rd, 2026

I kept buying hardware (case LCDs, RGB controllers, mice) that only ships a Windows app, so I built usb-rea. You capture USB traffic with USBPcap or usbmon while using the vendor app, and it groups the packets, diffs them, infers the command structure and drafts a small open-source Linux driver you can test. It also runs as an MCP server, so an LLM client can drive the analysis step by step. I validated it against public captures of devices whose protocols are already documented (Turing Smart Screen, Thermalright LCD), so the output can be checked against known ground truth. It is MIT licensed, feedback and captures of stubborn devices are welcome.

Since Ubuntu started shipping the Rust rewrite of coreutils by default, I got curious how close it really is to the GNU tools in day to day edge cases.

So I wrote a small recorder. It runs a CLI on a few hundred cases and saves what it did: stdout, stderr, exit code and the files it touched. Then it replays the same cases against another binary and shows the diffs.

Pointed at GNU coreutils 9.12 vs uutils, most differences were not crashes. They were error message wording, exit codes, option parsing corners (a bare - being taken as an option value) and a few things that turned out to be GNU version differences rather than bugs.

I reported what I found upstream: 44 bug reports and 51 small fix PRs so far, 34 merged. The uutils folks have been great to work with.

The tool is open source (MIT), works on any CLI, not only coreutils: https://github.com/emirmrkaljevic/behave

Curious if anyone here has run into a uutils difference that broke a script for them.

A lot of small hardware (case LCD screens, RGB controllers, AIO coolers, mice, macro pads) is only configurable through a closed Windows app, so on Linux it either works half way or not at all. I made usb-rea to shorten the reverse engineering part.

You capture USB traffic (USBPcap on Windows, usbmon on Linux) while clicking through the vendor app, optionally noting what you did (“brightness 50”, “colour red”). usb-rea groups the transfers into commands, finds the fields that change, checksums, handshakes and image streams, and writes an evidence report, a Wireshark Lua dissector and a small pyusb driver skeleton that you can turn into a proper open driver.

It is a plain CLI (it can also run as an MCP server), MIT licensed, on PyPI as usb-rea, and usb-rea demo runs the whole pipeline on a synthetic capture so you can try it without any hardware. It is tested against protocols that open projects already document (liquidctl, rivalcfg) and public Wireshark captures.

If you have a device stuck behind a Windows app and a capture where it gets things wrong, I would like to hear about it.

I built ShrinkWatch EU, a free browser extension for Firefox and Chrome (Manifest V3). On about 70 EU supermarket web shops (Lidl, Kaufland, Carrefour, Albert Heijn and others) it shows the price per kg or litre and warns about shrinkflation, meaning a pack that gets smaller while the price stays the same.

On privacy: everything runs locally in your browser. There is no account, no tracking, no analytics, and no data leaves the browser. Site access is requested per shop and only granted when you enable it. The code is MIT licensed.

It is an early project, so bugs and missing shops are likely, and feedback is very welcome. Source code and issues: https://github.com/emirmrkaljevic/shrinkwatch-eu