{
  "api_version": "1.0.0",
  "slug": "plustek-8200i-sane-driver-claude-code",
  "url": "https://reversedwithai.com/p/plustek-8200i-sane-driver-claude-code",
  "markdown_url": "https://reversedwithai.com/p/plustek-8200i-sane-driver-claude-code.md",
  "json_url": "https://reversedwithai.com/p/plustek-8200i-sane-driver-claude-code.json",
  "title": "Wrote a SANE driver for the Plustek OpticFilm 8200i with Claude Code by diffing USB captures of the Windows driver",
  "tagline": "A scanner driver from USB traces, and a harness anyone can reuse.",
  "summary": "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.",
  "target": {
    "name": "Plustek OpticFilm 8200i film scanner",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "USB, Linux SANE",
  "models": [
    "Claude"
  ],
  "tools": [
    "Claude Code",
    "KVM",
    "usbmon",
    "SANE"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": "yes",
    "independently_verified": null
  },
  "author": {
    "name": "Christian Schaller",
    "url": "https://blogs.gnome.org/uraeus/"
  },
  "sources": {
    "repository": "https://github.com/cschalle/hw-harness",
    "writeup": "https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/",
    "discussions": [
      "https://news.ycombinator.com/item?id=50104299"
    ],
    "all": [
      "https://github.com/cschalle/hw-harness",
      "https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/",
      "https://news.ycombinator.com/item?id=50104299"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/plustek-8200i-sane-driver-claude-code.webp",
    "credit": "Image: Christian Schaller (blogs.gnome.org)"
  },
  "commit_history": {
    "commits": 2,
    "ai_commits": 2,
    "ai_days": 1,
    "first_ai_commit": "2026-10-14",
    "last_ai_commit": "2026-10-14",
    "credited_models": [
      {
        "name": "Claude Opus 5",
        "commits": 2
      }
    ]
  },
  "added_at": "2026-10-17T09:29:41.025576+00:00",
  "updated_at": "2026-10-17T09:29:41.025576+00:00",
  "sources_reviewed_at": "2026-10-17T09:29:41.025576+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "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.\n\n### How it was done\n\nThe 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.\n\n### Results\n\nThe 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.",
  "ai_use_excerpts": null
}
