You are not logged in.
Pages: 1
Hey,
I just installed LMT. I was able to configure cpupower until I reached the section for setting the governor. When I type cpupower frequency-set -g ondemand the system tells me that the governor doesn't exist or isn't loaded. I'd post the output if it wasn't in German. I remember that there is a prefix that forces the console to give out messages in English. Could you help me out?
Now when I boot I get the following message:
* Starting laptop_mode ...
Laptop mode
enabled, active
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
Failed.
Failed.
Last edited by gunjah292 (2013-10-30 20:13:30)
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
If I recall correctly the ondemand governor module is builtin within kernel on arch, thus cannot be loaded.
Also have a look at the wiki: https://wiki.archlinux.org/index.php/CP … ncy_driver
For output in english
LC_ALL=C cpupower frequency-info
Last edited by skualito (2013-10-30 21:36:23)
Offline
Yeah I already dropped the CPU governor. The only thing that really bugs me is the HDD-spindown. Sometimes I have to wait about a second for a new tab to open when I click on it. I'll search for another way to configure hdparm, tomorrow! All this shit should be integrated in the kernel anyway. So things are going forward I guess...
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
Unfortunately the hdparm APM value goes back to default after suspend, hibernate, etc. So what I did when I used rotational disks is put a small script in /usr/lib/systemd/system-sleep that would reimplement that value after it woke. See the systemd-sleep man page for how this works. I'm not sure if laptop-mode-tools is supposed to handle that kind of crap for you, but if it isn't (or doesn't for some reason), going the systemd-sleep route is a good workaround until things are fixed.
Also, about the cpupower error, are you by change using an Intel processor? Namely, and Intel processor that is Sandy Bridge or newer? If so, the reason you are unable to set the governor is because it is using the intel pstate driver for those processors. Fear not though because it is actually superior. Check if this is the case by doing cpupower frequency-info.
Offline
Sandy Bridge it is! I already removed LMT tools, because I read somewhere that it is outdated anyway. I'll retry installing it when I find some time.
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
Okay since I can't sleep I just tried it. I configured LMT without cpufreq. I'm still not sure if the hdparm module is loaded, since I can't find a .conf file in /etc/laptop-mode.d/.
When I reboot I get three additional messages saying:
enabled, active.
failed.
failed.
There's no information about which modules failed whatsoever.
Last edited by gunjah292 (2013-11-05 03:30:42)
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
To address the spindown issue apply the udev rule presented in the wiki.
Load"*",8,1
Offline
Pages: 1