Re: [PATCH] Platform: samsung-laptop: add DMI information for SamsungN150 Plus

From: Corentin Chary
Date: Fri Dec 23 2011 - 09:15:43 EST


On Thu, Dec 22, 2011 at 11:19 PM, Andrzej Prochyra
<andrzej@xxxxxxxxxxxxx> wrote:
> From: Andrzej Prochyra <andrzej@xxxxxxxxxxxxx>
>
> Adds DMI information for Samsung N150 Plus which identifies itself as
> "N150P" so that the driver loads and the 'acpi_backlight=vendor'
> parameter does not need to be used in order for backlight control to
> work.
>
> Signed-off-by: Andrzej Prochyra <andrzej@xxxxxxxxxxxxx>
> ---
> Â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..e3a496a 100644
> --- a/drivers/platform/x86/samsung-laptop.c
> +++ b/drivers/platform/x86/samsung-laptop.c
> @@ -780,6 +780,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,
> + Â Â Â },
> Â Â Â Â{ },
> Â};
> ÂMODULE_DEVICE_TABLE(dmi, samsung_dmi_table);
> --
> 1.7.4.1

Hi,
On top of what is based this patch ?
Could you try https://github.com/iksaif/platform-drivers-x86/tree/samsung-laptop
or https://github.com/iksaif/samsung-laptop-dkms ?
Are both ACPI and VGA backlight non-fonctional ? What's in
/sys/class/backlight/ ?
Thanks


--
Corentin Chary
http://xf.iksaif.net
--
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/