How to fix the sleep problem on a G3 iBook2?
Tony
tony.kruse at gmail.com
Sun Dec 5 01:26:37 UTC 2004
Thanks, this appears to work. I have a 600MHz G3 iBook model M8600LL/A
Tony
On Wed, 1 Dec 2004 23:02:36 -0500, diabolo <ulist at gs1.ubuntuforums.org> wrote:
>
> dbus-1 needs to be stopped before sleep (then restarted after wake).
> Here's how someone in the Ubuntu forums explained the fix:
>
> (1) Created the file /etc/apm/scripts.d/dbus-1:
>
> #!/bin/sh
> # hald prevents proper resume after sleep-wake cycle
> # stopping dbus at suspend and restarting at resume
> # fixes this
>
> INIT="/etc/init.d/dbus-1"
> [ -x "${INIT}" ] || exit 0
>
> case "${1},${2}" in
> (suspend,*)
>
> "${INIT}" stop
> echo "stopped dbus-1"
> ;;
>
> (resume,suspend)
>
> "${INIT}" start
> echo "started dbus-1"
> ;;
>
> esac
>
> exit 0
>
> (2) Made the new file executable:
> sudo chmod 755 /etc/apm/scripts.d/dbus-1
>
> (3) Created a symlink from /etc/apm/suspend.d/98dbus-1 to
> /etc/apm/scripts.d/dbus-1:
> cd /etc/apm/suspend.d/
> sudo ln -s /etc/apm/scripts.d/dbus-1 98dbus-1
>
> (4) Created a symlink from /etc/apm/resume.d/01dbus-1 to
> /etc/apm/scripts.d/dbus-1:
> cd /etc/apm/resume.d/
> sudo ln -s /etc/apm/scripts.d/dbus-1 01dbus-1
>
> --
> diabolo
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list