Skip to contentSkip to conversation

ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807

PATCH Applied Chris Chiu 2 participants 2 messages Dec 2, 2020 – Dec 7, 2020 ACPI

lore
Share & tools
lore

Chris Chiu

author
#0 lore raw

PATCH 1/1 ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807

From: "Jasper St. Pierre" <[email protected]>

The GIGABYTE GB-BXBT-2807 is a mini-PC which uses off the shelf components, like an Intel GPU which is meant for mobile systems. As such, it, by default, has a backlight controller exposed.

Unfortunately, the backlight controller only confuses userspace, which sees the existence of a backlight device node and has the unrealistic belief that there is actually a backlight there!

Add a DMI quirk to force the backlight off on this system.

---
 drivers/acpi/video_detect.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/video_detect.c +7 -0
index 2499d7e3c710..ac2e194acdbf 100644
@@ -143,6 +143,13 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 	},
 	{
 	.callback = video_detect_force_vendor,
+	.ident = "GIGABYTE GB-BXBT-2807",
+	.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"),
+		},
+	},
+	{
 	.ident = "Sony VPCEH3U1E",
 	.matches = {
 		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 28 lines · Chris Chiu

From: "Jasper St. Pierre" <[email protected]>

The GIGABYTE GB-BXBT-2807 is a mini-PC which uses off the shelf components, like an Intel GPU which is meant for mobile systems. As such, it, by default, has a backlight controller exposed.

Unfortunately, the backlight controller only confuses userspace, which sees the existence of a backlight device node and has the unrealistic belief that there is actually a backlight there!

Add a DMI quirk to force the backlight off on this system.

---
 drivers/acpi/video_detect.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/video_detect.c +1 -0
index 2499d7e3c710..ac2e194acdbf 100644
@@ -143,6 +143,13 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
        },
        {
        .callback = video_detect_force_vendor,
+       .ident = "GIGABYTE GB-BXBT-2807",

drivers/acpi/video_detect.c static const struct dmi_system_id video_detect_dmi_table[] = {

Quoted 10 lines
drivers/acpi/video_detect.c +6 -1
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"),
+               },
+       },
+       {
        .ident = "Sony VPCEH3U1E",
        .matches = {
                DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
--

Applied as 5.11 material, thanks!