On Tue, Nov 10, 2015 at 01:25:42PM +0100, Jan Spurny wrote: > Hi, > > I have the same (probably) problem on freshly installed Debian 8 - in syslog, > cpufreq writes: > > cpufreqd: get_class_device_attribute: couldn't open > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_full > (No such file or directory) > cpufreqd: get_class_device_attribute: couldn't open > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_now > (No such file or directory) > cpufreqd: get_class_device_attribute: couldn't open > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/power_now > (No such file or directory) > > and there are no "energy-*" files, only "charge-*": > > $ ls -1 > /sys/devices/LNXSYSTM\:00/LNXSYBUS\:00/PNP0C0A\:00/power_supply/BAT0/charge* > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/charge_full > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/charge_full_design > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/charge_now > > $ ls -1 > /sys/devices/LNXSYSTM\:00/LNXSYBUS\:00/PNP0C0A\:00/power_supply/BAT0/energy* > ls: cannot access > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy*: No > such file or directory
The warnings above are just cosmetic, they shoudn't preclude cpufreqd from working. In fact, cpufreqd attempts to open the energy_* files, fails and opens the charge_* files. > No matter what I set with cpufreq-set, the frequency is allways below 1.5GHz > (allowed range is 800MHz - 3.5GHz according to cpufreq-info) on every core > and I effectively have a crappy old laptop. This is neither a cpufrequtils nor a cpufreqd bug. Neither of them actively switches the frequency, they only set limits between which the kernel should operate. If the range is 800MHz~3.5GHz and frequency always stays below 1.5GHz, it's either a kernel or a firmware bug. -- mattia :wq!