Fix default hidraw device after kernel update

hidraw2 (ENE Technology ENEK5130 keyboard controller) is the correct
RGB device. hidraw4 is a Pixart touchpad that silently accepts the
ioctl without effect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-08 00:54:42 +03:00
parent c7e4798771
commit 247de6f02a

View File

@@ -24,7 +24,7 @@ DEVICES = ["keyboard", "lid", "button"]
@dataclass @dataclass
class RGBState: class RGBState:
device: str = "keyboard" device: str = "keyboard"
hidraw: str = "/dev/hidraw4" hidraw: str = "/dev/hidraw2"
effect: str = "static" effect: str = "static"
brightness: int = 100 brightness: int = 100
speed: int = 0 speed: int = 0