[RESUBMIT] [PATCH] UBUNTU: SAUCE (no-up) Quirk for enabling backlight hotkeys on Samsung N150P

Brad Figg brad.figg at canonical.com
Thu Mar 29 21:17:40 UTC 2012


BugLink: http://bugs.launchpad.net/bugs/875893

This patch is a very small part of a much larger patch that is upstream. I felt
the full patch was too invasive to try to backport.

(partial backport of upstream commit: a979e2e2af7d5b4bb3b20f6a716c627bb23a6753)
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
 drivers/platform/x86/samsung-laptop.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
index 09e26bf..7f208fd 100644
--- a/drivers/platform/x86/samsung-laptop.c
+++ b/drivers/platform/x86/samsung-laptop.c
@@ -579,6 +579,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
 		.callback = dmi_check_cb,
 	},
 	{
+		.ident = "N150P",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR,
+					"SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "N150P"),
+			DMI_MATCH(DMI_BOARD_NAME, "N150P"),
+		},
+		.callback = dmi_check_cb,
+	},
+	{
 		.ident = "X125",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR,
-- 
1.7.9.1





More information about the kernel-team mailing list