<!-- Canonical page: https://reversedwithai.com/p/plustek-8200i-sane-driver-claude-code -->
Canonical page: https://reversedwithai.com/p/plustek-8200i-sane-driver-claude-code

# Wrote a SANE driver for the Plustek OpticFilm 8200i with Claude Code by diffing USB captures of the Windows driver

> A scanner driver from USB traces, and a harness anyone can reuse.

Christian Schaller had Claude Code write a Linux SANE backend and fix a laptop camera by comparing USB traces of the vendor's Windows driver in a VM against its own driver, and shared the method as hw-harness.

## Key facts

- Target: Plustek OpticFilm 8200i film scanner
- Category: Firmware and hardware
- Platform: USB, Linux SANE
- Models: Claude
- Tools: Claude Code, KVM, usbmon, SANE
- Outcome: Works
- Checks: Source available: yes; Repro steps: yes; Real hardware: yes; Verified by others: not reported
- Author: [Christian Schaller](https://blogs.gnome.org/uraeus/)
- Added: 2026-10-17
- Updated: 2026-10-17
- Sources reviewed: 2026-10-17 (editor)

## What was done

Christian Schaller of GNOME had Claude Code write a Linux SANE driver for the Plustek OpticFilm 8200i film scanner, whose newer chipset had no Linux support. A few hours after setting up a capture harness, Schaller had a first working scan. Schaller then reused the harness on the MIPI camera in Schaller's laptop.

### How it was done

The harness runs the vendor's Windows driver in a KVM virtual machine with the real device passed through, and records USB traffic on the Linux host with usbmon. The same operation is then repeated with the new Linux driver and captured the same way, and the two traces are diffed so the differences become a list of driver bugs. For devices with no bus to tap, it reads INF files, registry data and ACPI tables instead. Schaller generalised it and published it as hw-harness. Claude also wrote Negative Vibes, a Rust negative-scanning app.

### Results

The backend supports colour, gray and infrared modes, 300 to 7200 dpi, and dust removal from the infrared channel. In a single-unit test it was faster than upstream's later driver at full resolution, 34.6 seconds against 54.4. On the ThinkPad camera, kernel and libcamera fixes raised frame brightness in a low-light test from 31.1 to 90.9. Schaller says neither result is perfect and that every claim was checked on the actual hardware.

## What the commit history shows

2 of 2 commits in the public repository credit an AI, over 1 day between 2026-10-14 and 2026-10-14. Credited: Claude Opus 5 (2).

Measured by this site from public git history.

## Questions about Plustek OpticFilm 8200i film scanner

### What is the Plustek OpticFilm 8200i film scanner project?

Christian Schaller had Claude Code write a Linux SANE backend and fix a laptop camera by comparing USB traces of the vendor's Windows driver in a VM against its own driver, and shared the method as hw-harness. It is listed under Firmware and hardware for USB, Linux SANE.

### Which AI model was used on Plustek OpticFilm 8200i film scanner?

The entry names Claude. The tools named alongside are Claude Code, KVM, usbmon and SANE.

### Did the AI reverse engineering of Plustek OpticFilm 8200i film scanner work?

Its author reports that it works. Checks recorded: source available yes, repro steps yes, real hardware yes.

### Is the source code for Plustek OpticFilm 8200i film scanner available?

Yes. The code, patches or tooling are public: https://github.com/cschalle/hw-harness. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/cschalle/hw-harness)
- [Write-up](https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/)
- [Discussion](https://news.ycombinator.com/item?id=50104299)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Christian Schaller (2026). Wrote a SANE driver for the Plustek OpticFilm 8200i with Claude Code by diffing USB captures of the Windows driver. Reversed with AI. https://reversedwithai.com/p/plustek-8200i-sane-driver-claude-code
