- 6 Posts
- 3 Comments
emirmrkaljevic@programming.devOPto
Linux@programming.dev•I made usb-rea: point it at a USB capture of a Windows-only vendor app and it writes a Linux driver
21·1 day agoThanks. If you go for one of the cheaper decks, check DeckBridge and python-elgato-streamdeck first, a lot of the MiraBox/Ajazz style clones are already covered there, so you might not need to reverse anything.
emirmrkaljevic@programming.devOPto
Linux@programming.dev•I made usb-rea: point it at a USB capture of a Windows-only vendor app and it writes a Linux driver
31·1 day agoPartly. The capture side is USB specific (it reads usbmon/USBPcap pcapng, endpoints and control setup packets), but the inference part is not: it diffs payloads between labelled actions and looks for constant headers, counters, length fields, checksums and value fields. Network protocols would mostly need a different front end that feeds it TCP/UDP payloads. That isn’t built in today. For network protocols Netzob is worth a look, it has been doing that kind of inference for years. File formats are harder because you rarely get clean “I changed exactly one thing” pairs, but the same diffing trick works if you save the file twice with one setting changed.










Yes, it is not tied to coreutils. I have also used it on findutils, sed and procps, and there are example recordings for jq. uutils does have a big test suite and also runs the GNU tests. The difference is that these cases are generated from each tool’s --help and recorded from the GNU binary, so they catch small things nobody thought to write a test for, like the wording of an error or an exit code. The fix PRs I sent add those cases to the uutils suite.