kde-guidance-powermanager: cpuidle should not be added into cpu list

Gnata Xavier xavier.gnata at gmail.com
Tue Feb 5 00:37:29 UTC 2008


Subject: kde-guidance-powermanager: cpuidle should not be added into cpu 
list
Package: kde-guidance-powermanager
Version: 0.8.0svn20070928-0ubuntu7
Severity: normal

*** Please type your report below this line ***

I have compiled a 2.6.24 on Kubuntu7.10 and then 
kde-guidance-powermanager shows meone additional cpu at 0MHz

Looking at line 307 of 
/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py
the pb is clear.

I have 3 directories in /sys/devices/system/cpu
cpu0  cpu1  cpuidle

So this test
if cpu.startswith('cpu'):
                self.cpus.append(cpu)
is wrong. We should also add "and !='cpuidle'" to solve the pb.

Ok, compiling a 2.6.24 on 7.10 is not supported but here we have a way 
to get a more genric kde-guidance-powermanager so please consider this 
change.

Thanks for this so useful tool,
Xavier


-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 
'gutsy-proposed'), (500, 'gutsy-backp$
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kde-guidance-powermanager depends on:
ii  hal            0.5.9.1-6ubuntu5          Hardware Abstraction Layer
ii  kde-guidance   0.8.0svn20070928-0ubuntu7 collection of KDE system 
administr
ii  python         2.5.1-1ubuntu2            An interactive high-level 
object-o
ii  python-dbus    0.82.0-1ubuntu1           simple interprocess 
messaging syst
ii  python-kde3    3.16.0-0ubuntu14          KDE3 bindings for Python
ii  python-support 0.6.4ubuntu1              automated rebuilding 
support for p

kde-guidance-powermanager recommends no packages.

-- no debconf information





More information about the ubuntu-users mailing list