* [PATCH] ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807
@ 2020-12-02 6:39 Chris Chiu
2020-12-07 13:05 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Chris Chiu @ 2020-12-02 6:39 UTC (permalink / raw)
To: rjw, lenb; +Cc: linux-acpi, linux-kernel, linux, Jasper St. Pierre, Chris Chiu
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
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.
Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net>
Reviewed-by: Chris Chiu <chiu@endlessos.org>
---
drivers/acpi/video_detect.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 2499d7e3c710..ac2e194acdbf 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -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"),
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807
2020-12-02 6:39 [PATCH] ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807 Chris Chiu
@ 2020-12-07 13:05 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2020-12-07 13:05 UTC (permalink / raw)
To: Chris Chiu
Cc: Rafael J. Wysocki, Len Brown, ACPI Devel Maling List,
Linux Kernel Mailing List, linux, Jasper St. Pierre
On Wed, Dec 2, 2020 at 7:41 AM Chris Chiu <chiu@endlessos.org> wrote:
>
> From: "Jasper St. Pierre" <jstpierre@mecheye.net>
>
> 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.
>
> Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net>
> Reviewed-by: Chris Chiu <chiu@endlessos.org>
> ---
> drivers/acpi/video_detect.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
> index 2499d7e3c710..ac2e194acdbf 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -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"),
> --
Applied as 5.11 material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-07 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 6:39 [PATCH] ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807 Chris Chiu
2020-12-07 13:05 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).