From: Lars Schuetze <dev@larsschuetze.de>
To: platform-driver-x86@vger.kernel.org
Cc: dvhart@linux.intel.com, corentin.chary@gmail.com, dev@larsschuetze.de
Subject: [PATCH] samsung-laptop: enable better lid handling
Date: Tue, 7 Apr 2015 11:13:43 +0200 [thread overview]
Message-ID: <CA+icb-hsnjajX78w6Ags-t8L7YDqdcD_wkSBTTvLK6MZNU3QoA@mail.gmail.com> (raw)
Enable better lid handling for Samsung Series 7 Chronos 700Z3A
and other models of this product line by whitelisting models
700Z3A/700Z4A/700Z5A/700Z5B. Those use SABI in order to
resume upon lide open when in sleep.
It is a follow up of
Commit b0dcaf4fbb36 ("samsung-laptop: enable better lid handling")
Signed-off-by: Lars Schütze <dev@larsschuetze.de>
diff --git a/drivers/platform/x86/samsung-laptop.c
b/drivers/platform/x86/samsung-laptop.c
index 9e701b2..4ecfcd1 100644
--- a/drivers/platform/x86/samsung-laptop.c
+++ b/drivers/platform/x86/samsung-laptop.c
@@ -1694,6 +1694,15 @@ static struct dmi_system_id __initdata
samsung_dmi_table[] = {
},
.driver_data = &samsung_lid_handling,
},
+ {
+ .callback = samsung_dmi_matched,
+ .ident = "700Z3A/700Z4A/700Z5A/700Z5B",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "700Z3A/700Z4A/700Z5A/700Z5B"),
+ },
+ .driver_data = &samsung_lid_handling,
+ },
{ },
};
MODULE_DEVICE_TABLE(dmi, samsung_dmi_table);
next reply other threads:[~2015-04-07 9:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 9:13 Lars Schuetze [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-04-07 10:37 [PATCH] samsung-laptop: enable better lid handling Lars Schuetze
2014-12-11 21:18 Julijonas Kikutis
2015-01-27 2:52 ` Darren Hart
2015-01-27 9:54 ` Corentin Chary
2015-01-27 9:54 ` Corentin Chary
2015-01-27 13:35 ` Julijonas Kikutis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+icb-hsnjajX78w6Ags-t8L7YDqdcD_wkSBTTvLK6MZNU3QoA@mail.gmail.com \
--to=dev@larsschuetze.de \
--cc=corentin.chary@gmail.com \
--cc=dvhart@linux.intel.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.