» Linux Archive
Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.
» Sponsor
» Sponsor
02-29-2012, 05:52 AM
ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
BugLink: http://bugs.launchpad.net/bugs/898503
SRU Justification:
Impact: Asus K54C and K54HR cannot resume correctly without the patch
Fix: Add the two models in the nonvs quirk list. The patch is already upstream.
Test: I tested the patch on Asus K54C and K54HR and it works good.
Note: The patch is merged in 3.3-rc1, please consider inlcuding in Precise too.
Keng-Yu Lin (1):
ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
drivers/acpi/sleep.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
--
1.7.9
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
02-29-2012, 05:52 AM
ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
The models do not resume correctly without acpi_sleep=nonvs.
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
(cherry picked from commit 5a50a7c32d630d6cdb13d69afabb0cc81b2f379c)
BugLink: http://bugs.launchpad.net/bugs/898503
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
---
drivers/acpi/sleep.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 6d9a3ab..0a7ed69 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -476,6 +476,22 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW520F"),
},
},
+ {
+ .callback = init_nvs_nosave,
+ .ident = "Asus K54C",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "K54C"),
+ },
+ },
+ {
+ .callback = init_nvs_nosave,
+ .ident = "Asus K54HR",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "K54HR"),
+ },
+ },
{},
};
#endif /* CONFIG_SUSPEND */
--
1.7.9
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
02-29-2012, 08:10 AM
ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
On 29/02/12 06:52, Keng-Yu Lin wrote:
The models do not resume correctly without acpi_sleep=nonvs.
Signed-off-by: Keng-Yu Lin<kengyu@canonical.com>
Signed-off-by: Rafael J. Wysocki<rjw@sisk.pl>
(cherry picked from commit 5a50a7c32d630d6cdb13d69afabb0cc81b2f379c)
BugLink: http://bugs.launchpad.net/bugs/898503
Signed-off-by: Keng-Yu Lin<kengyu@canonical.com>
---
drivers/acpi/sleep.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 6d9a3ab..0a7ed69 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -476,6 +476,22 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW520F"),
},
},
+ {
+ .callback = init_nvs_nosave,
+ .ident = "Asus K54C",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "K54C"),
+ },
+ },
+ {
+ .callback = init_nvs_nosave,
+ .ident = "Asus K54HR",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "K54HR"),
+ },
+ },
{},
};
#endif /* CONFIG_SUSPEND */
Looks OK to me, and affects limited set of machines and is upstream and
has been tested, so..
Acked-by: Colin Ian King <colin.king@canonical.com>
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
02-29-2012, 12:48 PM
ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
You're _sure_ this works on a 3.0.y kernel? It does not apply cleanly.
rtg
--
Tim Gardner tim.gardner@canonical.com
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
All times are GMT. The time now is 03:38 AM .
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org