[PATCH] samsung-laptop: enable better lid handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>

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);
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux