Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213907

Summary: sys-power/kpowersave-0.7.3 uses SuSE-only KDE feature -> error message
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas K. Hüttel archtester gentoo-dev 2008-03-19 10:21:54 UTC
(Follow-up to bug #213807:)

After deinstalling sys-power/powersave and updating to sys-power/kpowersave-0.7.3, at every suspend to ram an error message pops up: 

"Could not umount external media before suspend / standby. (Reason: Could not
call DCOP interface to umount external media.) Would you like to continue...?"

No external media are mounted, and suspend works if you click "Suspend anyway". This is annoying anyway since it breaks "suspend when closing laptop"...

The background according to 
https://sourceforge.net/forum/message.php?msg_id=4304543
http://www.mail-archive.com/powersave-users@forge.novell.com/msg00127.html
is that kpowersave tries to call a DCOP method introduced by SuSE into kded (which does not exist in kde-base/kdebase-3.5 (yet?)).

Possible fixes: 
* as KDE user, select "Do not show this message again" (does not keep other people from reporting this again, ugly)
* set in 'kpowersaverc' the value of 'unmountExternalOnSuspend' to 'false' (somehow systemwide?)
* newer kdebase / upstream / include some SuSE patch ??? don't know
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2008-03-19 22:18:10 UTC
Here's more info from Danny Kukawka, including a (possibly incomplete) patch for the KDE sources:
http://www.mail-archive.com/powersave-users@forge.novell.com/msg00188.html
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2008-03-21 10:50:56 UTC
thanks, I added those patches to kdebase and kdebase-kioslaves - but I did not bump those, dont think it is important enough for a 30 minute recompile ;-)

Thank you for finding the patches and reporting :-)