Make laptop matching more generic using product_id instead of board_name

This commit is contained in:
Luke
2020-04-24 07:31:24 +12:00
parent 42a2675a07
commit 515888393c
2 changed files with 35 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ impl LaptopGL753 {
// from `cat /sys/class/dmi/id/board_name`
board_name: "LaptopGL753VE",
// from `cat /sys/class/dmi/id/product_family`
prod_family: "ROG Strix",
prod_family: "",
report_filter_bytes: [0x5a, 0x02],
min_led_bright: 0x00,
max_led_bright: 0x03,