Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspend/wakeup on iBook with kde 3.4 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Sat Apr 09, 2005 11:28 pm    Post subject: suspend/wakeup on iBook with kde 3.4 fails Reply with quote

Hi,
as mentioned in https://forums.gentoo.org/viewtopic-t-239895.html there is a problem suspending the iBook when hal is running.
Since KDE-3.4 there is a new kio_slave media:/ which is using the hal framework. Even if hal is not installed, suspending/waking up the iBook will fail.
You can trun off the kio_slave in kcontrollcenter under KDE Components->Services, it is called "KDED Mediamanager"
But even if you don't start the Mediamanager on KDE startup, the module will be loaded if it is needed (e.g. typing media:/ in konqueror)
So put this script into /etc/power/scripts.d/ and make a link to it from inside /etc/power/suspend.d/ to get kde 3.4 and suspend on iBook working together
Code:

#!/bin/sh

# name        : kded mediamanager
# author      : Christoph Mockenhaupt <gentoo@mockies.de>
# modified    : 10.04.2005
# description : Workaround for kded mediamanager bug on iBooks
# requirements: kde
# limitations :
#
# This is only needed if you use KDE.
# Even if you don't start kded mediamanager on KDE startup it is a good idea
# trying to stop the module, because it will be loaded automaticly if it is needed.
#
# --- end of public part -- don't change below this line ---

PATH=/bin:/sbin:/usr/bin:/usr/sbin

# source configuration
. pmcs-config

case "$1" in
  suspend)
    /usr/kde/3.4/bin/dcop --all-users kded kded unloadModule mediamanager
    ;;
esac



--
Gordin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum