Lenovo IdeaPad / Legion / LOQ / Yoga support via mainline ideapad-laptop
and lenovo-wmi-* drivers.
Main window: performance modes, keyboard backlight, battery conservation,
GPU row (PCI backend Eco/Standard). Fn+Q via platform_profile watcher.
Updates window: BIOS + driver updates from Lenovo support catalog API.
BIOS version comparison
Diagnostics window: Lenovo state dump (ideapad attrs, WMI, PPT readback).
Installer: udev rules, modules-load.d for Lenovo kernel modules.
Vendor auto-detection from DMI; IHardwareControl interface replaces
IAsusWmi.
Added (ASUS)
Matrix window: AniMatrix LED panel (images, animations, clock/audio).
NumberPad window: touchpad calculator overlay.
Mouse window: (buttons, DPI, polling, lighting).
Main window: status LED toggle.
Extra window: per-mode CPU EPP slider, deep sleep (mem_sleep).
Added (GPU switching)
DRM compositor signaling: synthetic "remove" uevent on the nvidia DRM
card before PCI unbind. KWin/mutter release /dev/dri/cardN gracefully.
Skipped when nvidia is the only GPU.
I2C holder detection: finds processes holding nvidia DDC/CI adapters
(/dev/i2c-*) that silently pin the module refcount (powerdevil, OpenRGB).
DRI holder detection: finds processes holding /dev/dri/cardN or
renderDN on the nvidia DRM device. Single-pass scan covers nvidia, DRI,
and I2C fds together.
EGL vendor management: hides/shows 10_nvidia.json alongside the Vulkan
ICD during Eco/Standard. Stops Chromium from probing /dev/nvidia0 via
EGL. Restored on uninstall.