Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commit 7f80d734b3b5d23b9851cc03cc20733bca2c724e
- Author: Chris Bagwell <chris@cnpbagwell.com>
- Date: Mon Oct 11 18:47:18 2010 -0500
- eeepc-wmi: Add cpufv sysfs interface
- eeepc-laptop provides a sysfs interface to read and control what it
- calls cpufv. When WMI is enabled, the ACPI interface changes slightly
- and becames a write-only control with 3 valid values.
- Expose cpufv again to allow for user space utils that can extended battery
- life noticably and come a little closer to parity with eeepc-laptop.
- Write-only is OK for most user space apps because read status was
- mostly used to prevent unneeded mode changes. Since this same check
- to ignore changes to same mode also exists in the DSDT then it was
- wasted ACPI call.
- acpi_osi="!Windows 2009" can be used for get back eeepc-laptop's
- read support of cpufv for debugging things such as behaviour
- during resume.
- This patch was tested with EEE PC 1005PE by monitoring powertop output while
- writing values of "0", "1", and "2" and by reviewing the decompiled DSDT of
- an 1201NL and comparing it to 1005PE's DSDT.
- Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
- Signed-off-by: Matthew Garrett <mjg@redhat.com>
- commit eda1748418beb1b9a75d0cea3304edf922c66134
- Author: Chris Bagwell <chris@cnpbagwell.com>
- Date: Mon Oct 11 18:47:17 2010 -0500
- eeepc-wmi: add additional hotkeys
- Added 4 hotkeys using same keymap values as eeepc-latop.
- These are mousepad toggle, resolution change, screen off,
- and task manager. These were tested on 1005PE and are the
- Fn-F3, F4, F7, and F9, respectively.
- Also, added a new hot key for power toggles (Fn-Space on 1005PE)
- and is meant to drive cpufv interface from userspace.
- Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
- Signed-off-by: Matthew Garrett <mjg@redhat.com>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement