Plustek OpticFilm 8200i film scanner · Works · Source available

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

View JSON
Plustek OpticFilm 8200i film scanner: A scanner driver from USB traces, and a harness anyone can reuse.
Image: Christian Schaller (blogs.gnome.org)

Who did what

All 2 commits credit an AI: 2 Claude Opus 5. They were made on one day, 14 Oct 2026.

Counted from the public git history on 16 Nov 2026. How

What was done

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.

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.

Questions about Plustek OpticFilm 8200i film scanner

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. Checked against the sources on 17 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week