CPU Frequency - Incorrect Display

Bug #134282 reported by A.K.Karthikeyan
6
Affects Status Importance Assigned to Milestone
guidance-power-manager (Ubuntu)
Won't Fix
Undecided
Unassigned
kpowersave (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I use Lenovo N3000 laptop with Intel Celeron M processor. It must have a CPU frequency of 2+ GHz, but when I hover mouse over the battery icon on my Kubuntu panel it shows CPU frequency as 0 Mhz rather than 2000+ MHz.

I use Kubuntu 7.04.19 , Fiesty Fawn.

Revision history for this message
A.K.Karthikeyan (mindaslab) wrote : Image of wrong display

Attached image is the proof

Revision history for this message
A.K.Karthikeyan (mindaslab) wrote :

Attached image is the proof

Revision history for this message
Luka Renko (lure) wrote :

Can you provide output of following command:
- find /sys/devices/system/cpu
- cat /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq

Changed in kde-guidance:
assignee: nobody → lure
status: New → Incomplete
Revision history for this message
A.K.Karthikeyan (mindaslab) wrote : Output

On executing your commands this is what I got as the output

karthik@karthik-laptop:~$ find /sys/devices/system/cpu
/sys/devices/system/cpu
/sys/devices/system/cpu/cpu0
/sys/devices/system/cpu/cpu0/topology
/sys/devices/system/cpu/cpu0/topology/core_siblings
/sys/devices/system/cpu/cpu0/topology/thread_siblings
/sys/devices/system/cpu/cpu0/topology/core_id
/sys/devices/system/cpu/cpu0/topology/physical_package_id
/sys/devices/system/cpu/cpu0/cache
/sys/devices/system/cpu/cpu0/cache/index2
/sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map
/sys/devices/system/cpu/cpu0/cache/index2/size
/sys/devices/system/cpu/cpu0/cache/index2/number_of_sets
/sys/devices/system/cpu/cpu0/cache/index2/ways_of_associativity
/sys/devices/system/cpu/cpu0/cache/index2/physical_line_partition
/sys/devices/system/cpu/cpu0/cache/index2/coherency_line_size
/sys/devices/system/cpu/cpu0/cache/index2/level
/sys/devices/system/cpu/cpu0/cache/index2/type
/sys/devices/system/cpu/cpu0/cache/index1
/sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_map
/sys/devices/system/cpu/cpu0/cache/index1/size
/sys/devices/system/cpu/cpu0/cache/index1/number_of_sets
/sys/devices/system/cpu/cpu0/cache/index1/ways_of_associativity
/sys/devices/system/cpu/cpu0/cache/index1/physical_line_partition
/sys/devices/system/cpu/cpu0/cache/index1/coherency_line_size
/sys/devices/system/cpu/cpu0/cache/index1/level
/sys/devices/system/cpu/cpu0/cache/index1/type
/sys/devices/system/cpu/cpu0/cache/index0
/sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_map
/sys/devices/system/cpu/cpu0/cache/index0/size
/sys/devices/system/cpu/cpu0/cache/index0/number_of_sets
/sys/devices/system/cpu/cpu0/cache/index0/ways_of_associativity
/sys/devices/system/cpu/cpu0/cache/index0/physical_line_partition
/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size
/sys/devices/system/cpu/cpu0/cache/index0/level
/sys/devices/system/cpu/cpu0/cache/index0/type
/sys/devices/system/cpu/cpu0/crash_notes
karthik@karthik-laptop:~$ cat /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq
cat: /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq: No such file or directory
karthik@karthik-laptop:~$

Revision history for this message
A.K.Karthikeyan (mindaslab) wrote :

I think, I have submitted enough evidence to confirm this bug.

Changed in kde-guidance:
status: Incomplete → Confirmed
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Hardy Heron. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at [WWW] http://www.ubuntu.com/testing/ .

If it does occur please provide the output of running the following command in a terminal: hal-device `hal-find-by-capability --capability 'processor'`

Thanks again and we appreciate your help.

Revision history for this message
Michael Marte (informarte) wrote :

As the thread's initiator did not answer the question of Andreas, I'll take over. I am running hardy KDE desktop on a Dell Latitude D600 with a 1.7Mhz Pentium M. With feisty, suspend to RAM, suspend to disk, and the display of current CPU frequency worked well. After the upgrade to hardy, suspend to RAM and disk did not work any more but the CPU frequency was still displayed correctly. Yesterday I installed kpowersave in addition to kde-guidance-powermanager and, voila, suspend to RAM works again. After that, the CPU frequency was still displayed correctly. Then I decided to play around with the packages recommended by kpowersave, namely pm-utils, powersaved, acpi-tools, and hibernate, hoping to fix suspend to disk as well. I started with powersaved; after requesting its installation in adept_manager and without checking the request's consequences on my installation, adept_manager removed apmd, system-config-printer-kde, hal-cups-utils, hwdb-client-kde, hwdb-client-common, kde-core, kde-hal-device-manager, kdebase, knetworkmanager, network-manager-kde, and network-manager, powernowd, and ubuntu-laptop-mode. I undid this change immediately, but now neither kde-guidance-powermanager nor kpowersave display the CPU frequency. (To be precise, kde-guidance-powermanager always displays 0 Mhz while kpowersave always displays 598 Mhz, even when the CPU is running at full speed.)

Here is the output of hal-device `hal-find-by-capability --capability 'processor'`:

udi = '/org/freedesktop/Hal/devices/acpi_CPU0'
  processor.number = 0 (0x0) (int)
  processor.can_throttle = true (bool)
  info.parent = '/org/freedesktop/Hal/devices/computer' (string)
  info.product = 'Intel(R) Pentium(R) M processor 1.70GHz' (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_CPU0' (string)
  linux.hotplug_type = 4 (0x4) (int)
  info.category = 'processor' (string)
  info.capabilities = { 'processor' } (string list)
  linux.acpi_path = '/proc/acpi/processor/CPU0' (string)
  linux.acpi_type = 1 (0x1) (int)

Revision history for this message
Michael Marte (informarte) wrote :

Yesterday I succeeded to fix the power management on my Dell Latitude D600 including display of CPU frequency. In this untertaking, the following page was very helpful:

Enhanced Intel SpeedStep® Technology and Demand-Based Switching on Linux
http://softwarecommunity.intel.com/articles/eng/1611.htm

It was basically a question of which packages to install. Now I use kpowersave, powersaved, and acpi-support. This combination fixes all problems, in particular it reduces power consumption by adapting the CPU frequency to the current demand, see also:

http://ubuntuforums.org/showthread.php

I also tried kde-guidance-powermanager: Its CPU frequency display works fine now as well.

Revision history for this message
Michael Marte (informarte) wrote :

Here is the link I failed to provide in my previous posting:

http://ubuntuforums.org/showthread.php?t=818207

Luka Renko (lure)
Changed in kde-guidance (Ubuntu):
assignee: Luka Renko (lure) → nobody
affects: kde-guidance (Ubuntu) → guidance-power-manager (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

KPowersave has been removed from distribution in both Ubuntu and Debian since:
- The package no longer builds, leaving us with no way to provide further updates
- Its author(s) no longer update KPowersave
- Its functionality is largely replaced in KDE4 by PowerDevil.

Unfortunately this means we will not be able to provide further bugfixes or updates to this package. Thanks for understanding.

Changed in kpowersave (Ubuntu):
status: New → Invalid
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Guidance Power Manager has been removed from Kubuntu 10.04 and onwards since it is unmaintained. Unfortunately, this means that no new features or bugfixes will be made.

Changed in guidance-power-manager (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Bennett Mead (benguy03-blog) wrote :

Perhaps this isn't the right place to ask, but it seems like a good place to document succession of packages... Are there KDE or Gnome packages that replace the unmaintained packages that support CPU Frequency display?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.