Can't sleep on a G4 Powerbook

Olafur Arason olafra at gmail.com
Mon Dec 12 01:27:37 UTC 2005


You should maby consider getting the 2.6.15 kernel from dapper,
I hadn't gotten sleep working until that, I have a iBook G3.

If you want to add some addition arguments under yaboot look
for append, but apm should be enabled by default on powerpc.

Olafur Arason
2005/12/12, Peter Stoddard <peter at stoddard.us>:
> I am having a problem putting my Mac 12" Powerbook to sleep with Breezy
> like it did with Mac OSX.  To me, sleep means I the hard disk and the
> display are no longer active.  I have read a few posts about this, and
> am trying to understand it, but am not having much success.  I don't
> know where to begin, so here is some stuff I have done, and discovered.
> Any comments would be welcomed.
>
> I have installed hibernate 1.07-1, sleepd 1.2.13 and apmd
> 3.2.2-3ubuntu2.
>
> Sleepd was started in /etc/init.d without options.  So
> in /etc/default/sleepd I modified a line based on the man page for
> sleepd.  Here is the modified contents of the file /etc/default/sleepd:
>
> ########start code#########
>
> # Parameters to pass to sleepd.
> # PARAMS=""
> # Modified by PJS 11 Dec 2005
> PARAMS="10m"
>
> ########end code##########
>
> Sleep (or what I call sleep) still isn't working.
>
> I came across the following statement associated with the apm package in
> Synaptic Package Manager:
>
> "Debian kernels are built with APM support but it is disabled by
> default.  You need to boot the kernel with the "apm=on" option if you
> want to enable the driver. (You may need to add this option to your
> lilo command line.)"
>
> Does the above statement mean that I have to add something
> to /etc/yaboot.conf?  I have
> read /usr/share/doc/yaboot/yaboot-howto.html/index.en.html but it
> doesn't cover this in any of the examples.
>
> Opening and closing the cover is recognized by the OS.  From syslog:
>
> Dec 11 10:53:09 localhost pbbuttonsd: INFO: Script
> '/etc/power/pmcs-pbbuttonsd cover-close ac close' launched and exited
> normally
>
> Dec 11 10:53:18 localhost pbbuttonsd: INFO: Script
> '/etc/power/pmcs-pbbuttonsd cover-open ac open' launched and exited
> normally
>
> After I added the apmd package, syslog entries went from:
>
> #################start log entry###################
>
> Dec 11 10:46:05 localhost sleepd[4540]: system is inactive; forcing
> sleep
> Dec 11 10:46:05 localhost sleepd[4540]: apm -s failed
>
> #################end log entry#######################
>
> ... to this:
>
> ###############start log entry###################
>
> Dec 11 10:56:05 localhost sleepd[4540]: system is inactive; forcing
> sleep
>
> #################end log entry#######################
>
> So I got rid of the message about apm failing, but when this log entry
> is made, the system still doesn't sleep, i.e. the hard disk and the
> display are still active.
>
> I hope I am using the right terminology with sleep.  I think hibernate
> is the equivalent of System --> "[Log out] [shut down] save current
> setup".  I don't know what suspend means.  Is that the same as sleep?
>
> Thanks for any help.
>
> Pete
>
>
> --
> 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