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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user