EEE SHE and laptop-mode-tools adventures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
laptop-mode-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
The installation of Linux on a brand new laptop is an incredible opportunity to waste a lot of time...especially for a unrecoverable geek like me. I had a strange behavior on my eeePC 1015PX with respect to power management and more particularly with ASUS's Super Hybrid Engine (SHE). After having tried the very ugly "Jupiter" (a software relying on mono...) I chose to let SHE be managed by laptop-mode-tools, a very nice and heavily customizable package that optimizes power management. I slightly modified "/etc/laptop-
SUPERHE_
As I was using Matlab for doing intensive simulations, I noticed that, while on AC, my EEEPC was very slow. So I launched Matlab's "bench" command to perform some benchmarks and I was surprised to measure no noticeable difference between AC and Battery modes.
So I started some investigations. I suspected a bad interference between cpufreq and SHE. So I went in the /sys/devices/
1 Plug in the power
2 cpufreq tries to configure "scaling_max_freq" at "1667000 Hz" but is saturated at "1333000 Hz" because there is still 2 in "/sys/devices/
3 eee-superhe switches "sys/devices/
So this fix is very easy : only change the first letter of the "eee-superhe" script in order to be executed BEFORE "cpufreq".
sudo bash
cd /usr/share/
mv mv eee-superhe cp0_eee-superhe
Et voilà ! How to waste 2 hours ! I hope that this comment will save your time.