Advertisement
Guest User

Untitled

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