首页›Planet GNOME›文章

Christian Schaller: Using Artificial Intelligence to reverse engineer hardware

Christian Schaller · 2026年10月15日

AI 摘要 AI 生成,可能有误

Christian Schaller describes how he used AI tooling (Claude) with a custom harness that captures USB traffic from Windows drivers running in a KVM virtual machine, diffing those traces against Linux attempts to reverse engineer unsupported hardware. Using this approach he built a SANE driver for the Plustek OpticFilm 8200i film scanner, a Rust/GNOME negative-scanning app called Negative Vibes, and fixes for the MIPI camera in his ThinkPad laptop, dramatically accelerating work that traditionally takes weeks. He has released the tooling as a generic project called hw-harness, noting that AI excels at the tedious work of decoding captures while humans must still verify results on real hardware.

After my mother passed away I ended up with a big box full of old film negatives containing photos from childhood family trips and similar. So I decided to buy a negative photo scanner and found that the Plustek 8200i was supported under Linux so I bought that. Only to discover that the chipset in the scanner had changed to one that wasn’t supported under Linux anymore. So I had some success making Linux configuration tools for some of my hardware using Claude code, like my Dell Camera controller app so I thought, maybe Claude can help me get a working SANE driver. I basically got stuck and got nowhere for the longest time and even basically gave up on the project for a few Months.

Then I saw a post on X from Tom Crider aka Glorious Eggroll talking about how he had managed to fix a mouse driver using AI tooling. He basically described how he set it up so that the AI agent had full control of a Windows instance to capture data needed to fix the driver. So I pasted his tweet into Claude and asked it to help me set up a windows virtual machine to do the same things Tom as doing for my scanner. I think the combination of having the ability to run scans under windows and capture the USB data while doing so worked wonders, probably combined with improvements to Claude code made a huge difference. Within a few hours I had my first ever working scan under Linux, sure with some quality issues, but 100% recognizable as the image in the negative. Some days later I had a near perfect driver, including support for Infrared scanning ready to go, only to discover that in the time between me giving up and then trying again someone had committed code to SANE to support the scanner already…..it happens sometimes. I also used Claude to write an application for doing negative scanning, which I named Negative Vibes, thought that was a cute name.

Anyway, with the success of my scanner effort I thought, I wonder if I can use this to finally fix the last issues with MIPI camera support on my laptop. So I told claude to re-use the harness I had created and try to fix the MIPI camera on my laptop by updating the kernel driver and libcamera as needed. I started the job in the morning and by the end of the day I had a much improved situation with patches for both the kernel and libcamera ready.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Planet GNOME

Thibault Martin: I realized that Multimodal embed models are what AI should be about

AI 摘要Mistral has released Clipstral, a multimodal embedding model that can process text, images, and video (but not audio), sorting all inputs into a shared 'library' based on similarity regardless of format—for example, placing a photo of a macaw flapping its wings next to the text 'a red bird flapping its wings'. Unlike chatbots such as ChatGPT or Claude, it isn't a model you talk to directly; developers must build applications around it, with Mistral suggesting use cases like monitoring robotic operations, detecting manufacturing defects, and diagnosing crop illnesses. Notably, the model is also not English-centric.

GIMP: Development Update - Shape Tool

AI 摘要A GIMP contributor announces the implementation of a long-requested Shape tool, now available in the 3.3 development branch, which lets users draw lines, rectangles, ellipses, polygons, stars, and spirals directly on the canvas as vector layers or on raster layers. The post traces the feature's 25-year history, from the first community request in 2001 through the creation of vector layers via a 2006 Google Summer of Code project, and details the technical process behind building the tool. Future improvements include support for custom shapes and a dedicated Shape layer with editable parameters, and users can try the tool now via development builds.

Thibault Martin: I realized that An email, calendar, and contacts all-in-one engine is exciting, actually

AI 摘要The author, a Linux user who misses Apple's well-integrated Mail, Calendar, and Contacts apps, discusses Pimalaya, an NLnet-funded PIM engine offering separate email, calendar, and contacts engines that share a common, portable SQLite-based store and run on all major operating systems. With its recent first stable release, Pimalaya handles the difficult low-level work, freeing developers to focus on building polished, platform-integrated apps similar to Apple's PIM suite. The author is optimistic about what this means for the future of email, contacts, and calendar clients.

This Week in GNOME: #276 Enhanced Lifelines

AI 摘要This Week in GNOME #276 recaps project news from November 20 to 27, highlighting the release of Gaphor 3.4.0 with new features such as actors on lifelines, along with third-party app updates including word-sys's PDF Editor v1.12.1, Rewaita v1.1.8c adding window blur support, Vinyl v1.7.0, and RustConn 0.26.5 with session sharing and script recording. It also announces GirCore 0.9.0-preview.2 with GNOME 51 and .NET 11 support, plus shell extension updates like Now Playing Card's new Ribbon spectrum shape and Simple Pleasures, a new fork of Essential Tweaks offering various UI and behavior tweaks.

Thibault Martin: TIL that Fermi's paradox could be explained by policies

AI 摘要The author discusses a paper proposing a solution to Fermi's paradox: as civilizations grow, their energy consumption outpaces innovation, causing them to either collapse or deliberately slow down for stability, which prevents them from ever spreading across the galaxy and explains why we detect no alien life. He appreciates that the paper puts policy at the center of explaining hypothetical alien behavior. He also criticizes the paper's convoluted title and abstract as a typical example of the obscure academic writing style described in Steven Pinker's The Sense of Style.