Commit 574160b8 authored by Arvid Norlander's avatar Arvid Norlander Committed by Rafael J. Wysocki
Browse files

ACPI: video: Add Toshiba Satellite/Portege Z830 quirk

Toshiba Satellite Z830 needs the quirk video_disable_backlight_sysfs_if
for proper backlight control after suspend/resume cycles.

Toshiba Portege Z830 is simply the same laptop rebranded for certain
markets (I looked through the manual to other language sections to confirm
this) and thus also needs this quirk.

Thanks to Hans de Goede for suggesting this fix.

Link: https://www.spinics.net/lists/platform-driver-x86/msg34394.html


Suggested-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarArvid Norlander <lkml@vorpal.se>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Tested-by: default avatarArvid Norlander <lkml@vorpal.se>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent b90cb105
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -496,6 +496,22 @@ static const struct dmi_system_id video_dmi_table[] = {
		DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE R830"),
		},
	},
	{
	 .callback = video_disable_backlight_sysfs_if,
	 .ident = "Toshiba Satellite Z830",
	 .matches = {
		DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
		DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE Z830"),
		},
	},
	{
	 .callback = video_disable_backlight_sysfs_if,
	 .ident = "Toshiba Portege Z830",
	 .matches = {
		DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
		DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE Z830"),
		},
	},
	/*
	 * Some machine's _DOD IDs don't have bit 31(Device ID Scheme) set
	 * but the IDs actually follow the Device ID Scheme.