From: Benjamin Herrenschmidt <bh40@calva.net>
To: <sleemburg@jvc.nl>
Cc: Joseph Garcia <jpgarcia@execpc.com>,
Francois Felix Ingrand <felix@ingrand.net>,
<linuxppc-dev@lists.linuxppc.org>
Subject: Re: Pismo battery support (was 'Re: Debian pmud package available')
Date: Wed, 7 Jun 2000 09:55:01 +0200 [thread overview]
Message-ID: <20000607075501.32213@mailhost.mipsys.com> (raw)
In-Reply-To: <393DF504.B7F839F8@jvc.nl>
On Wed, Jun 7, 2000, Stephan Leemburg <sleemburg@jvc.nl> wrote:
>FYI, in 2.2.16pre4, there is NO support for letting the Pismo and the
>iBook sleep. It is however, as proven by the discussed battery monitors,
>possible to get some info on the battery status. Supporting the KEYLARGO
>is no trivial task, first of all, you need to have a iBook or Pismo to
>experiment with and then get your hands dirty on trial and error kernel
>modifications.
I'm the happy owner of a Pismo since one or two weeks. Implementing sleep
on this machine (and on the iBook) is on my to-do list (I already
gathered various infos on KeyLargo from the Darwin sources and some MacOS
hacking). I will first work on improving the gmac driver, which seems to
be more urgent, and then work on that sleep support.
>As I don't own a iBook or a Pismo, I cannot experiment with it and
>experimenting over the net - that is one person writing the testcode and
>the other testing it on a KEYLARGO based machine - is far to
>inconvenient and will most probably not work.
>
>For what that experimenting is concerned, I believe that in the latest
>Darwin kernel there is some powermanagement code, which could be analysed.
It's still not complete, but there are interesting bits scattered here or
there. The basic mecanism seems to be the same as for the wallstreet and
lombard: the CPU is powered OFF by the PMU after entering a special
sleep-loop. We need to fix this sleep-loop so that it resist to spurrious
wake-ups by the decrementer interrupt, but that's a detail.
The different thing is the way things are powered off before sleep and
turned back on after sleep. It's a lot different for KeyLargo that it was
for Heathrow and Paddington, but Darwin source is helpful here. I plan to
rework (again) the arch/ppc/kernel/features.c stuffs to add more
abstractions that match keylargo and uni-north new FCRs and power control.
>Note that even though you cannot put the machines to sleep, you can have
>pmud signal init that there is a powerfailure and have it shutdown...
>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-06-07 7:55 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-16 7:23 Pismo status Chris Leishman
2000-05-16 8:46 ` Michel Dänzer
2000-05-16 14:15 ` Sven LUTHER
2000-05-16 14:13 ` Chris Leishman
2000-05-16 19:51 ` Tim Wojtulewicz
2000-05-17 9:03 ` Albrecht Dre_
2000-05-17 10:54 ` Michael Schmitz
2000-05-17 12:08 ` Sven LUTHER
2000-05-18 5:15 ` Timothy A. Seufert
2000-05-18 9:13 ` Sergio Brandano
2000-05-18 14:35 ` Sven LUTHER
2000-05-18 15:33 ` Sergio Brandano
2000-05-18 14:47 ` Sven LUTHER
2000-05-18 15:49 ` Sergio Brandano
[not found] ` <20000519094029.A16145@lambda.u-strasbg.fr>
2000-05-19 12:30 ` Sergio Brandano
2000-05-19 19:42 ` Worth
2000-05-20 9:51 ` Sergio Brandano
2000-05-20 11:53 ` Michel Dänzer
2000-05-21 5:52 ` David A. Gatwood
2000-05-22 13:32 ` Sven LUTHER
2000-05-22 14:44 ` Sergio Brandano
2000-05-22 13:54 ` Sven LUTHER
2000-05-22 15:01 ` Sergio Brandano
2000-05-22 14:13 ` Sven LUTHER
2000-05-22 15:16 ` Sergio Brandano
2000-05-22 14:33 ` Sven LUTHER
2000-05-22 15:41 ` Michael Schmitz
2000-05-22 15:48 ` Michel Dänzer
2000-05-22 16:46 ` Sergio Brandano
2000-05-22 17:08 ` Michael Schmitz
2000-05-23 17:48 ` Debian pmud package available Michael Schmitz
2000-05-23 18:59 ` Sergio Brandano
2000-05-23 18:09 ` Michael Schmitz
2000-05-24 7:11 ` Stephan Leemburg
2000-05-24 7:31 ` PMUD vs APM Joseph Garcia
2000-05-24 11:00 ` Sergio Brandano
2000-05-24 10:13 ` Joseph Garcia
2000-05-24 11:04 ` Steven Hanley
2000-05-24 9:18 ` Debian pmud package available Michael Schmitz
2000-05-24 20:23 ` Michael Schmitz
2000-05-25 12:04 ` Michel Dänzer
2000-05-25 20:25 ` Michael Schmitz
2000-05-26 7:58 ` Francois Felix Ingrand
2000-05-26 9:25 ` Michael Schmitz
2000-05-28 1:58 ` Robert Thompson
2000-05-28 12:03 ` Michael Schmitz
2000-05-28 14:35 ` Michel Dänzer
2000-05-28 14:42 ` Michael Schmitz
2000-05-30 6:55 ` Daniel Jacobowitz
2000-05-30 8:57 ` Benjamin Herrenschmidt
2000-05-30 20:11 ` Daniel Jacobowitz
2000-05-31 13:20 ` Francois Felix Ingrand
2000-05-31 19:01 ` Michael Schmitz
2000-06-01 7:45 ` Francois Felix Ingrand
2000-06-01 8:53 ` Michel Dänzer
2000-06-06 18:44 ` Michael Schmitz
2000-06-06 19:12 ` Joseph Garcia
2000-06-06 19:42 ` Michel Dänzer
2000-06-06 20:00 ` Pismo battery support (was 'Re: Debian pmud package available') Joseph Garcia
2000-06-06 20:13 ` Michel Dänzer
2000-06-07 7:08 ` Stephan Leemburg
2000-06-07 7:55 ` Benjamin Herrenschmidt [this message]
2000-06-06 20:09 ` Debian pmud package available Michel Dänzer
2000-06-07 13:50 ` Francois Felix Ingrand
2000-05-24 0:31 ` Wilhelm Fitzpatrick
2000-05-24 7:30 ` Stephan Leemburg
2000-05-21 21:01 ` Pismo status Timothy A. Seufert
2000-05-21 21:28 ` Rawhide SRPMS ian reinhart geiser
2000-05-22 5:17 ` Pismo status Ethan Benson
2000-05-22 8:58 ` Timothy A. Seufert
2000-05-22 21:34 ` David A. Gatwood
2000-05-20 16:23 ` Sven LUTHER
2000-05-21 6:10 ` David A. Gatwood
2000-05-18 20:06 ` Worth
2000-05-18 14:33 ` Sven LUTHER
2000-05-19 5:40 ` Timothy A. Seufert
2000-05-18 14:48 ` Tim Wojtulewicz
2000-05-19 5:53 ` Timothy A. Seufert
2000-05-17 15:04 ` Tim Wojtulewicz
2000-05-17 16:15 ` Sergio Brandano
2000-05-17 17:36 ` Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000607075501.32213@mailhost.mipsys.com \
--to=bh40@calva.net \
--cc=felix@ingrand.net \
--cc=jpgarcia@execpc.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=sleemburg@jvc.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).