[PATCH] Samsung Laptop platform driver: support N510

From: J Witteveen
Date: Sun Jul 03 2011 - 07:21:21 EST


Dear all,

It appears my previous message has gone unnoticed.
This is my second shot. The patch below adds the N510 netbook to the list of supported hardware.

Regards,
- Jouke


----- Forwarded message from J Witteveen <jwitteve@xxxxxxxx> -----

Date: Sun, 26 Jun 2011 17:08:55 +0200
From: J Witteveen <jwitteve@xxxxxxxx>
To: mjg@xxxxxxxxxx
Cc: platform-driver-x86@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Bcc: j.witteveen@xxxxxxxxx
Subject: Re: [PATCH] Platform: add Samsung Laptop platform driver
User-Agent: Mutt/1.5.17 (2007-11-01)

On Fri, Feb 11, 2011 at 10:17, Jouke Witteveen <j.witteveen@xxxxxxxxx> wrote:
> On Wed, Feb 9, 2011 at 23:40, Greg KH <greg@xxxxxxxxx> wrote:
>> From: Greg Kroah-Hartman <gregkh@xxxxxxx>
>>
>> This adds the samsung-laptop driver to the kernel.  It now supports
>> all known Samsung laptops.
>>
>
> I don't see the N510, is this intentional? The netbook does not differ
> that much from some that are included.
>

The N510 benefits from this code as well. Below is a patch to include support.

Signed-off-by: Jouke Witteveen <j.witteveen@xxxxxxxxx>

Thanks,
- Jouke

--- a/drivers/platform/x86/samsung-laptop.c 2011-06-26 16:18:06.517840468 +0200
+++ b/drivers/platform/x86/samsung-laptop.c 2011-06-26 16:19:14.677574644 +0200
@@ -521,6 +521,16 @@ static struct dmi_system_id __initdata s
.callback = dmi_check_cb,
},
{
+ .ident = "N510",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR,
+ "SAMSUNG ELECTRONICS CO., LTD."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "N510"),
+ DMI_MATCH(DMI_BOARD_NAME, "N510"),
+ },
+ .callback = dmi_check_cb,
+ },
+ {
.ident = "X125",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR,


----- End forwarded message -----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/