Re: [PATCH] Platform: add Samsung Laptop platform driver

From: J Witteveen
Date: Mon Jun 27 2011 - 17:07:03 EST


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,

--
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/