Using powersave in everyday life (was: Proposal for resolving powernowd/apmd...)

Michel D'HOOGE michel.dhooge at gmail.com
Thu Apr 20 08:53:14 BST 2006


2006/4/20, Danny Kukawka <danny.kukawka at web.de>:
>
> > > What say: 'grep . /sys/devices/system/cpu/cpu0/cpufreq/ -r' (as root)
> > > before
> > > suspend and what after resume?
>
> I need this info, please use this command and send the output. Thanks.


# grep . /sys/devices/system/cpu/cpu0/cpufreq/ -r|sort;powersave
-u;date;sleep 5;date;grep . /sys/devices/system/cpu/cpu0/cpufreq/ -r|sort
/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:800000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:1733000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:1733000
1333000 1067000 800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:ondemand
userspace powersave performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:centrino
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:userspace
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:1733000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:800000
jeudi 20 avril 2006, 09:36:27 (UTC+0200)
jeudi 20 avril 2006, 09:37:26 (UTC+0200)
/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:1733000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:1733000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:1733000
1333000 1067000 800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:ondemand
userspace powersave performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:1733000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:centrino
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:userspace
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:1733000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:1733000


> Finally, I noticed some minor bugs: in Kpowersave, notifications for
> > "resume from disk" is written twice while "resume from RAM" is absent. I
> > also noticed a 'bold' ('b>')error in a french message.
>
> Looks like a bug in the translation. I try to fix this for the next
> update.


IIRC the double "resume from disk" entries were also present in English
(since my last apt upgrade I am now localised in french so I can't quickly
check).

Here we have the problem ... is this a DELL D600 or C640 or some other of
> the
> Latitude Line? There is a kernel problem. See bug in the SUSE/Novell
> bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=119836


I'll read it but not now since it is quite long!
My laptop is a Dell Inspiron 630m.

BTW, I collected the following data this morning (I can also provide excerpt
of /var/log/acpid and /var/log/messages if needed):
Booted at 06:49

Kpowersave > STR @ 06:57, Resume @ 07:02
ACPI events @06:57: LID #1 (close)
ACPI events @07:02: AC, LID #2 (open), BAT0...
It took more than 10 seconds before the screensaver offered me to login

Apr 20 07:02:47 localhost kernel: [4295482.344000] ATA: abnormal status 0x80
on port 0x1F7
Apr 20 07:02:47 localhost last message repeated 2 times
Apr 20 07:02:47 localhost kernel: [4295512.373000] ata1: slow completion
(cmd ef)
Apr 20 07:02:47 localhost kernel: [4295512.373000] ata1: dev 0 configured
for UDMA/100
Apr 20 07:02:47 localhost kernel: [4295512.701000] ata2: dev 0 configured
for UDMA/33

Kpowersave > STR @ 07:15, Resume @ 07:20
ACPI events @07:20: AC, LID #3 (close??), BAT0, LID #4 (open??), BAT0...
Resuming was much more quicker, maybe 2 seconds after I opened the lid.
Second "preparation of STR" seems also to be faster because it seems the
closed LID event is logged on resume. And I don't have the ATA abnormal
status.

Finally I also noticed that the sound is muted after every resume, even
though it is shown as not muted.

Thanks for your help
--
Michel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20060420/64b186be/attachment.htm


More information about the kubuntu-devel mailing list