Noticed following stuff in the /var/log/pm-suspend.log: [snip] ... ===== Tue Dec 25 14:56:19 EET 2007: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq ===== sh: line 0: echo: write error: Invalid argument sh: line 0: echo: write error: Invalid argument ===== Tue Dec 25 14:56:19 EET 2007: running hook: /usr/lib/pm-utils/sleep.d/95led ===== ... ===== Tue Dec 25 15:36:01 EET 2007: running hook: /usr/lib/pm-utils/sleep.d/60sysfont ===== /usr/lib/pm-utils/sleep.d/60sysfont: line 7: setsysfont: command not found ===== Tue Dec 25 15:36:01 EET 2007: running hook: /usr/lib/pm-utils/sleep.d/55battery ===== ... [/snip] Also returning from suspend is b0rked.
===== Sun Jan 6 01:16:37 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq ===== sh: line 0: echo: write error: Invalid argument sh: line 0: echo: write error: Invalid argument ===== Sun Jan 6 01:16:37 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/95led ===== ===== Sun Jan 6 01:16:37 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/99video ===== Sun Jan 6 01:16:37 EET 2008: done running suspend hooks. Sun Jan 6 01:16:50 EET 2008: running resume hooks. ===== Sun Jan 6 01:16:50 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/99video ===== ===== Sun Jan 6 01:16:50 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/95led ===== ===== Sun Jan 6 01:16:50 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq ===== ===== Sun Jan 6 01:16:50 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/90clock ===== ===== Sun Jan 6 01:16:51 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/65alsa ===== ===== Sun Jan 6 01:16:51 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/60sysfont ===== /usr/lib/pm-utils/sleep.d/60sysfont: line 7: setsysfont: command not found ===== Sun Jan 6 01:16:51 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery ===== method return sender=:1.1 -> dest=:1.384 boolean false ===== Sun Jan 6 01:16:51 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules ===== ===== Sun Jan 6 01:16:51 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth ===== ===== Sun Jan 6 01:16:51 EET 2008: running hook: /usr/lib/pm-utils/sleep.d/20video =====
From http://lists.freedesktop.org/archives/pm-utils/2008-January/000770.html "...That's because setsysfont is a Fedora specific wrapper script around setfont in their initscripts package. ..." That thread goes onto talk about removing these scripts from the pm-utils/ disto package: 01grub 20video 49bluetooth 60sysfont 65alsa 90clock 99video The cpufreq error is likely saying that the special file(s) /sys/devices/system/cpu/cpu0/cpufreq (for example) are missing which in turn is probably a kernel config missing CONFIG_CPU_FREQ and one or more governors (e.g. CONFIG_CPU_FREQ_GOV_PERFORMANCE, CONFIG_CPU_FREQ_GOV_POWERSAVE... etc)
Created attachment 167712 [details] ebuild update: do not install the Fedora setfont script/check for a correct kernel config for cpufreq --- pm-utils-0.99.4.ebuild 2008-07-28 15:37:06.000000000 +0100 +++ pm-utils-0.99.4-r1.ebuild 2008-10-09 10:28:54.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/pm-utils-0.99.4.ebuild,v 1.4 2008/07/28 14:09:30 armin76 Exp $ -inherit eutils +inherit eutils linux-info DESCRIPTION="Suspend and hibernation utilties for HAL" HOMEPAGE="http://pm-utils.freedesktop.org/ http://people.freedesktop.org/~hughsient/quirk/index.html" @@ -16,6 +16,7 @@ RDEPEND="" DEPEND="${RDEPEND}" +CONFIG_CHECK="~CPU_FREQ ~CPU_FREQ_GOV_USERSPACE" src_unpack() { unpack ${A} @@ -31,4 +32,7 @@ src_install() { emake DESTDIR="${D}" install || die "emake install failed" + + einfo "Not installing Fedora specific sysfont restore script" + rm "${D}/usr/lib/pm-utils/sleep.d/60sysfont"
Created attachment 167716 [details, diff] patch pm-utils-0.99.4.ebuild to pm-utils-0.99.4-r1.ebuild
Thanks for this, however. 0.99.4 is too old to even bother. Version bump pending, hopefully we can get a newer version stabled soon.
please try with 1.1.1 or more recent and reopen if it's still a problem for you. Thanks.