|
|
e1bdb50 |
From 350268c1de71490d5e803a81e609191034a55560 Mon Sep 17 00:00:00 2001
|
|
|
e1bdb50 |
From: Thomas Courbon <thcourbon@gmail.com>
|
|
|
e1bdb50 |
Date: Wed, 20 Jul 2011 22:57:44 +0200
|
|
|
e1bdb50 |
Subject: [PATCH] Platform: fix samsung-laptop DMI identification for
|
|
|
e1bdb50 |
N150/N210/220/N230
|
|
|
e1bdb50 |
MIME-Version: 1.0
|
|
|
e1bdb50 |
Content-Type: text/plain; charset=UTF-8
|
|
|
e1bdb50 |
Content-Transfer-Encoding: 8bit
|
|
|
e1bdb50 |
|
|
|
e1bdb50 |
Some samsung latop of the N150/N2{10,20,30} serie are badly detected by the samsung-laptop platform driver, see bug # 36082.
|
|
|
e1bdb50 |
It appears that N230 identifies itself as N150/N210/N220/N230 whereas the other identify themselves as N150/N210/220.
|
|
|
e1bdb50 |
This patch attemtp fix #36082 allowing correct identification for all the said netbook model.
|
|
|
e1bdb50 |
|
|
|
e1bdb50 |
Reported-by: Daniel Eklöf <daniel@ekloef.se>
|
|
|
e1bdb50 |
Signed-off-by: Thomas Courbon <thcourbon@gmail.com>
|
|
|
e1bdb50 |
Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
|
|
e1bdb50 |
---
|
|
|
e1bdb50 |
drivers/platform/x86/samsung-laptop.c | 10 ++++++++++
|
|
|
e1bdb50 |
1 files changed, 10 insertions(+), 0 deletions(-)
|
|
|
e1bdb50 |
|
|
|
e1bdb50 |
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
|
|
|
e1bdb50 |
index d347116..1658575 100644
|
|
|
e1bdb50 |
--- a/drivers/platform/x86/samsung-laptop.c
|
|
|
e1bdb50 |
+++ b/drivers/platform/x86/samsung-laptop.c
|
|
|
e1bdb50 |
@@ -601,6 +601,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
|
|
|
e1bdb50 |
.callback = dmi_check_cb,
|
|
|
e1bdb50 |
},
|
|
|
e1bdb50 |
{
|
|
|
e1bdb50 |
+ .ident = "N150/N210/N220",
|
|
|
e1bdb50 |
+ .matches = {
|
|
|
e1bdb50 |
+ DMI_MATCH(DMI_SYS_VENDOR,
|
|
|
e1bdb50 |
+ "SAMSUNG ELECTRONICS CO., LTD."),
|
|
|
e1bdb50 |
+ DMI_MATCH(DMI_PRODUCT_NAME, "N150/N210/N220"),
|
|
|
e1bdb50 |
+ DMI_MATCH(DMI_BOARD_NAME, "N150/N210/N220"),
|
|
|
e1bdb50 |
+ },
|
|
|
e1bdb50 |
+ .callback = dmi_check_cb,
|
|
|
e1bdb50 |
+ },
|
|
|
e1bdb50 |
+ {
|
|
|
e1bdb50 |
.ident = "N150/N210/N220/N230",
|
|
|
e1bdb50 |
.matches = {
|
|
|
e1bdb50 |
DMI_MATCH(DMI_SYS_VENDOR,
|
|
|
e1bdb50 |
--
|
|
|
e1bdb50 |
1.7.6
|
|
|
e1bdb50 |
|