Skip to content

Commit ac78288

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Add backlight=native quirk for Dell OptiPlex 5480 AIO
Dell All In One (AIO) models released after 2017 may use a backlight controller board connected to an UART. In DSDT this uart port will be defined as: Name (_HID, "DELL0501") Name (_CID, EisaId ("PNP0501") The Dell OptiPlex 5480 AIO has an ACPI device for one of its UARTs with the above _HID + _CID. Loading the dell-uart-backlight driver fails with the following errors: [ 18.261353] dell_uart_backlight serial0-0: Timed out waiting for response. [ 18.261356] dell_uart_backlight serial0-0: error -ETIMEDOUT: getting firmware version [ 18.261359] dell_uart_backlight serial0-0: probe with driver dell_uart_backlight failed with error -110 Indicating that there is no backlight controller board attached to the UART, while the GPU's native backlight control method does work. Add a quirk to use the GPU's native backlight control method on this model. Fixes: cd8e468 ("ACPI: video: Add Dell UART backlight controller detection") Cc: All applicable <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Changelog edit ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 9852d85 commit ac78288

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
844844
* controller board in their ACPI tables (and may even have one), but
845845
* which need native backlight control nevertheless.
846846
*/
847+
{
848+
/* https://github.com/zabbly/linux/issues/26 */
849+
.callback = video_detect_force_native,
850+
/* Dell OptiPlex 5480 AIO */
851+
.matches = {
852+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
853+
DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 5480 AIO"),
854+
},
855+
},
847856
{
848857
/* https://bugzilla.redhat.com/show_bug.cgi?id=2303936 */
849858
.callback = video_detect_force_native,

0 commit comments

Comments
 (0)