diff --git a/debian/changelog b/debian/changelog index c023294f0..7ff851b2a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -176,6 +176,8 @@ linux (3.16.7-ckt7-1) UNRELEASED; urgency=medium * perf: Fix ABI change in 3.16.7-ckt6 * mm: Fix pagecache_get_page() ABI change in 3.16.7-ckt6 * tcp: Fix ABI change in 3.16.7-ckt7 + * [x86] ACPI / video: Add disable_native_backlight quirk for various + Samsung models and Dell XPS15 L521X (Closes: #772440) [ Helge Deller ] * [alpha] build debian-installer udeb packages diff --git a/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch b/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch new file mode 100644 index 000000000..541c3b5fd --- /dev/null +++ b/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch @@ -0,0 +1,34 @@ +From: Hans de Goede +Date: Mon, 5 Jan 2015 08:57:04 +0100 +Subject: ACPI / video: Add disable_native_backlight quirk for Dell XPS15 L521X +Origin: https://git.kernel.org/linus/6a3ef10bacb08860805e9053f919786dc34760ba + +The L521X variant of the Dell XPS15 has integrated nvidia graphics, and +backlight control does not work properly when using the native interfaces. + +Link: https://bugzilla.redhat.com/show_bug.cgi?id=1163574 +Signed-off-by: Hans de Goede +Signed-off-by: Rafael J. Wysocki +--- + drivers/acpi/video.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -711,6 +711,16 @@ static struct dmi_system_id video_dmi_ta + DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"), + }, + }, ++ ++ { ++ /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */ ++ .callback = video_disable_native_backlight, ++ .ident = "Dell XPS15 L521X", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"), ++ }, ++ }, + {} + }; + diff --git a/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch b/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch new file mode 100644 index 000000000..b76698b5e --- /dev/null +++ b/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch @@ -0,0 +1,35 @@ +From: Hans de Goede +Date: Sat, 7 Feb 2015 09:53:53 +0100 +Subject: ACPI / video: Add disable_native_backlight quirk for Samsung 510R +Origin: https://git.kernel.org/linus/e77a16355a29230b99bafe55834a8252e55308ec + +Backlight control through the native intel interface does not work properly +on the Samsung 510R, where as using the acpi_video interface does work, add +a quirk for this. + +Link: https://bugzilla.redhat.com/show_bug.cgi?id=1186097 +Cc: All applicable +Signed-off-by: Hans de Goede +Signed-off-by: Rafael J. Wysocki +--- + drivers/acpi/video.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -712,6 +712,15 @@ static struct dmi_system_id video_dmi_ta + }, + }, + { ++ /* https://bugzilla.redhat.com/show_bug.cgi?id=1186097 */ ++ .callback = video_disable_native_backlight, ++ .ident = "SAMSUNG 3570R/370R/470R/450R/510R/4450RV", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "3570R/370R/470R/450R/510R/4450RV"), ++ }, ++ }, ++ { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */ + .callback = video_disable_native_backlight, + .ident = "SAMSUNG 730U3E/740U3E", diff --git a/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-730u3e-740u3e.patch b/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-730u3e-740u3e.patch new file mode 100644 index 000000000..f47242159 --- /dev/null +++ b/debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-730u3e-740u3e.patch @@ -0,0 +1,34 @@ +From: Hans de Goede +Date: Fri, 9 Jan 2015 16:22:57 +0100 +Subject: ACPI / video: Add disable_native_backlight quirk for Samsung + 730U3E/740U3E +Origin: https://git.kernel.org/linus/3295d73002f4be341069a000aec4b8d7e5ea8d2c + +The Samsung 730U3E/740U3E has integrated ATI Radeon graphics, and backlight +control does not work properly when using the native interfaces. + +Link: https://bugzilla.redhat.com/show_bug.cgi?id=1094948 +Signed-off-by: Hans de Goede +Signed-off-by: Rafael J. Wysocki +--- + drivers/acpi/video.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -711,6 +711,15 @@ static struct dmi_system_id video_dmi_ta + DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"), + }, + }, ++ { ++ /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */ ++ .callback = video_disable_native_backlight, ++ .ident = "SAMSUNG 730U3E/740U3E", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "730U3E/740U3E"), ++ }, ++ }, + + { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */ diff --git a/debian/patches/bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch b/debian/patches/bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch new file mode 100644 index 000000000..08901e29b --- /dev/null +++ b/debian/patches/bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch @@ -0,0 +1,52 @@ +From: Aaron Lu +Date: Mon, 22 Dec 2014 15:18:05 +0800 +Subject: ACPI / video: Add some Samsung models to disable_native_backlight + list +Origin: https://git.kernel.org/linus/7d0b93499f4879ddbc75d594f4ea216ba964f78e + +Several Samsung laptop models (SAMSUNG 870Z5E/880Z5E/680Z5E and +SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V) do not have a working +native backlight control interface so restore their acpi_videoX +interface. + +Link: https://bugzilla.kernel.org/show_bug.cgi?id=84221 +Link: https://bugzilla.kernel.org/show_bug.cgi?id=84651 +For SAMSUNG 870Z5E/880Z5E/680Z5E: +Reported-and-tested-by: Brent Saner +Reported-by: Vitaliy Filippov +Reported-by: Laszlo KREKACS +For SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V: +Reported-by: Vladimir Perepechin +Cc: 3.17+ # 3.17+ +Signed-off-by: Aaron Lu +Signed-off-by: Rafael J. Wysocki +--- + drivers/acpi/video.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -694,6 +694,23 @@ static struct dmi_system_id video_dmi_ta + DMI_MATCH(DMI_PRODUCT_NAME, "HP ENVY 15 Notebook PC"), + }, + }, ++ ++ { ++ .callback = video_disable_native_backlight, ++ .ident = "SAMSUNG 870Z5E/880Z5E/680Z5E", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "870Z5E/880Z5E/680Z5E"), ++ }, ++ }, ++ { ++ .callback = video_disable_native_backlight, ++ .ident = "SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"), ++ }, ++ }, + {} + }; + diff --git a/debian/patches/bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch b/debian/patches/bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch new file mode 100644 index 000000000..28b4282be --- /dev/null +++ b/debian/patches/bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch @@ -0,0 +1,46 @@ +From: Jens Reyer +Date: Tue, 17 Feb 2015 19:07:29 +0100 +Subject: ACPI / video: Disable native backlight on Samsung Series 9 laptops +Origin: https://git.kernel.org/linus/3120d03cf64d7f9fd71231827af2c1550aa4caa7 + +Add video_disable_native_backlight quirk for SAMSUNG 900X3C/900X3D/ +900X3E/900X4C/900X4D laptops. + +The native intel backlight controls do not work correctly on SAMSUNG +Series 9 (900X3C/900X3D/900X3E/900X4C/900X4D) laptops: +One machine has an completely dimmed (= black) display after boot at the +GDM login screen and brightness controls work only between 0 and 5% +(= no effect). +Another machine has the same brightness control issues if an external +HDMI monitor is or gets connected, although the initial brightness is +ok. +After login to Gnome both machines always work fine. + +Tested on both machines. + +Link: https://bugs.freedesktop.org/show_bug.cgi?id=87286 +Link: https://bugs.debian.org/772440 +Signed-off-by: Jens Reyer +Signed-off-by: Rafael J. Wysocki +--- + drivers/acpi/video.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -729,6 +729,15 @@ static struct dmi_system_id video_dmi_ta + DMI_MATCH(DMI_PRODUCT_NAME, "730U3E/740U3E"), + }, + }, ++ { ++ /* https://bugs.freedesktop.org/show_bug.cgi?id=87286 */ ++ .callback = video_disable_native_backlight, ++ .ident = "SAMSUNG 900X3C/900X3D/900X3E/900X4C/900X4D", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "900X3C/900X3D/900X3E/900X4C/900X4D"), ++ }, ++ }, + + { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */ diff --git a/debian/patches/series b/debian/patches/series index 142844a83..d60fc6369 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -516,3 +516,8 @@ debian/rmap-fix-abi-change-in-3.16.7-ckt5.patch debian/perf-fix-abi-change-in-3.16.7-ckt6.patch debian/mm-fix-pagecache_get_page-abi-change-in-3.16.7-ckt6.patch debian/tcp-fix-abi-change-in-3.16.7-ckt7.patch +bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch +bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch +bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-730u3e-740u3e.patch +bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch +bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch