From: Hans de Goede <hdegoede@xxxxxxxxxx> commit ac78288fe062b64e45a479eaae74aaaafcc8ecdd upstream. 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: cd8e468efb4f ("ACPI: video: Add Dell UART backlight controller detection") Cc: All applicable <stable@xxxxxxxxxxxxxxx> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Link: https://patch.msgid.link/20240918153849.37221-1-hdegoede@xxxxxxxxxx [ rjw: Changelog edit ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/acpi/video_detect.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -845,6 +845,15 @@ static const struct dmi_system_id video_ * which need native backlight control nevertheless. */ { + /* https://github.com/zabbly/linux/issues/26 */ + .callback = video_detect_force_native, + /* Dell OptiPlex 5480 AIO */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 5480 AIO"), + }, + }, + { /* https://bugzilla.redhat.com/show_bug.cgi?id=2303936 */ .callback = video_detect_force_native, /* Dell OptiPlex 7760 AIO */ Patches currently in stable-queue which might be from hdegoede@xxxxxxxxxx are queue-6.10/platform-x86-lenovo-ymc-ignore-the-0x0-state.patch queue-6.10/platform-x86-touchscreen_dmi-add-nanote-next-quirk.patch queue-6.10/acpi-ec-do-not-release-locks-during-operation-region.patch queue-6.10/power-supply-hwmon-fix-missing-temp1_max_alarm-attribute.patch queue-6.10/platform-x86-isst-fix-the-kasan-report-slab-out-of-bounds-bug.patch queue-6.10/acpi-resource-add-asus-vivobook-x1704vap-to-irq1_level_low_skip_override.patch queue-6.10/acpi-resource-add-asus-expertbook-b2502cva-to-irq1_level_low_skip_override.patch queue-6.10/platform-x86-x86-android-tablets-adjust-xiaomi-pad-2.patch queue-6.10/acpi-resource-loosen-the-asus-e1404gab-dmi-match-to-also-cover-the-e1404ga.patch queue-6.10/acpi-video-add-backlight-native-quirk-for-dell-optiplex-5480-aio.patch queue-6.10/platform-x86-x86-android-tablets-fix-use-after-free-on-platform_device_register-errors.patch queue-6.10/hid-ignore-battery-for-all-elan-i2c-hid-devices.patch queue-6.10/platform-mellanox-mlxbf-pmc-fix-lockdep-warning.patch queue-6.10/acpi-resource-remove-duplicate-asus-e1504gab-irq-override.patch queue-6.10/platform-x86-amd-pmf-add-quirk-for-tuf-gaming-a14.patch queue-6.10/acpi-video-add-force_vendor-quirk-for-panasonic-toug.patch queue-6.10/hid-i2c-hid-ensure-various-commands-do-not-interfere.patch