Lenovo E47G won't sleep in DC mode
Bug #1029834 reported by
Jesse Sung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Jesse Sung | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On a Lenovo E47G in DC mode, although the "put computer into sleep after idle for certain time" is set, some invalid key event may be generated time to time to prevent the system go into sleep mode after it's left idle for a long time.
tags: | added: blocks-hwcert-enablement |
Changed in linux (Ubuntu Precise): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
From: Ike Panhc <email address hidden>
BugLink: https:/ /bugs.launchpad .net/bugs/ 1029834
Otherwise will generate KEY_UNKNOWN on un-listed vpc event,
which means nothing and is hard for user to report the detail
of the event.
Signed-off-by: Ike Panhc <email address hidden> b8d18a7358eff15 e3dd29e94b) platform/ x86/ideapad- laptop. c | 6 +++++-
Signed-off-by: Matthew Garrett <email address hidden>
(cherry picked from commit 20a769c1c6671d3
Signed-off-by: Wen-chien Jesse Sung <email address hidden>
---
drivers/
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/ platform/ x86/ideapad- laptop. c b/drivers/ platform/ x86/ideapad- laptop. c platform/ x86/ideapad- laptop. c platform/ x86/ideapad- laptop. c acpi_notify( struct acpi_device *adevice, u32 event) sync_rfk_ state(priv) ; input_report( priv, vpc_bit); backlight_ notify_ brightness( priv); acpi_notify( struct acpi_device *adevice, u32 event) backlight_ notify_ power(priv) ; input_report( priv, vpc_bit);
index a36addf..a1d1415 100644
--- a/drivers/
+++ b/drivers/
@@ -785,6 +785,10 @@ static void ideapad_
case 9:
ideapad_
break;
+ case 13:
+ case 6:
+ ideapad_
+ break;
case 4:
ideapad_
break;
@@ -795,7 +799,7 @@ static void ideapad_
ideapad_
break;
default:
- ideapad_
+ pr_info("Unknown event: %lu\n", vpc_bit);
}
}
}
--
1.7.9.5