The First Rust WMI Linux Driver Being Developed Is For Clevo Laptops

The first Rust-based driver being developed for making use of the Linux kernel's Rust Windows Management Instrumentation (WMI) interface abstractions is "clevo-laptop" and is a new driver for Clevo laptops, including those sold by TUXEDO Computers, Metabox, Sager, XMG, and others. Nick Dowsett announced the clevo-laptop Rust driver today for what aims to be the first in-tree user of the Rust WMI abstractions in the kernel and an alternative to the existing C-based WMI driver implementations. This first Rust WMI driver is quite basic and initially just supports the 5-stop white keyboard backlight control on relevant Clevo laptops. This is a minimal driver for now just to exercise to the Rust WMI abstractions and over time will be built out further with more Clevo laptop functionality. The driver in its preliminary form is just under 400 lines of Rust code while depending upon the yet-to-be-merged WMI and LED abstractions for Rust. Those interested can find the Clevo laptop driver patches on the x86 platform driver mailing list.

Original Source

Read the full article at Phoronix →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.