一位开发者通过Claude AI助手完成了多个硬件的驱动程序开发,展示了人工智能在硬件逆向工程中的应用潜力。1开发者为Plustek 8200i底片扫描仪开发了SANE后端驱动,该扫描仪采用Genesys GL128控制器(USB 07b3:1825),此前在Linux平台上缺乏支持。1该驱动支持色彩、灰度、红外和色彩+红外等多种扫描模式,分辨率范围从300到7200 dpi,单通道支持8或16位深度。1开发者还发布了Negative Vibes应用用于负片扫描,其完整扫描速度为34.6秒,相比上游SANE驱动的54.4秒有所提升。1上游SANE项目已在2026年9月为该扫描仪添加支持。1
在摄像头驱动方面,开发者修复了Lenovo ThinkPad X1 Carbon第14代的MIPI摄像头驱动。1该摄像头采用Sony IMX471传感器,通过参数调整,低光测试中帧亮度从31.1提升到90.9,白平衡比例也从0.890/0.672调整到1.047/0.823。1开发者利用Claude进行代码生成,并通过AI agent控制Windows虚拟机捕获USB流量数据,随后对参数进行比对优化。1此外,开发者还发布了通用的hw-harness工具框架,为硬件驱动开发提供可复用的基础设施。1
A developer has successfully leveraged Claude AI to reverse-engineer and develop Linux drivers for multiple hardware devices, demonstrating the potential of artificial intelligence in accelerating hardware development workflows. 1 The project encompassed creating a SANE backend for the Plustek 8200i film scanner, developing the Negative Vibes scanning application, and fixing the MIPI camera driver for Lenovo ThinkPad X1 Carbon devices. 1
The Plustek 8200i, which uses a Genesys GL128 controller (USB 07b3:1825), previously lacked Linux support. 1 The developer employed Claude for code generation and AI agent control of a Windows virtual machine to capture USB traffic data, enabling efficient reverse engineering. 1 The resulting implementation supports color, grayscale, infrared, and combined color plus infrared scanning modes, with resolutions ranging from 300 to 7200 dpi at 8 or 16 bits per channel. 1 The Negative Vibes application achieved full-resolution scan times of 34.6 seconds, outperforming the upstream SANE driver's 54.4 seconds. 1 The upstream SANE project subsequently added support for this scanner in September 2026. 1
Beyond the scanner project, the developer also addressed camera functionality on the ThinkPad X1 Carbon Gen 14, which features a Sony IMX471 sensor. 1 Low-light performance testing showed significant improvements, with frame brightness increasing from 31.1 to 90.9. 1 White balance ratios were adjusted from 0.890/0.672 to 1.047/0.823, enhancing image quality. 1 The developer published the hw-harness tool framework to demonstrate how AI-assisted analysis of USB traffic and parameter comparison can streamline the hardware driver development process. 1
评论
还没有评论,欢迎留下第一条。