RE: Unexpected sleep on old iBook

5 messages, 4 authors, 2002-11-22 · open the first message on its own page

RE: Unexpected sleep on old iBook

From: Halfmann, Klaus <hidden>
Date: 2002-11-19 08:15:25

...
The kernel will never trigger a sleep by itself. Only
pmud or pbbuttonsd may. You will want to look at those logs or
track an eventual bug in there.

Ben.
OK, I'll have a look at the pmud code and come back later.

klaus.halfmann@t-online.de, 		(49)-(0)-6172/492497
Klaus Halfmann, Mainstrasse 8, 61352 Bad Homburg GERMANY

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

RE: Unexpected sleep on old iBook

From: Michael Schmitz <hidden>
Date: 2002-11-19 16:48:15

quoted
The kernel will never trigger a sleep by itself. Only
pmud or pbbuttonsd may. You will want to look at those logs or
track an eventual bug in there.

Ben.
OK, I'll have a look at the pmud code and come back later.
Please try running pmud with the -s or -S flag (signal init on power low)
and take note of the battery power level readings. I suspect the kernel
does return erroneous power readings on occasion, causing pmud to trigger
sleep. I've not been able to reproduce this on my Lombard Powerbook -
other users (iBook IIRC) report the battery power suddenly dropping to
zero from as much as 80%. I'm currently trying to collect more information
on this new feature.

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Unexpected sleep on old iBook

From: Ethan Blanton <hidden>
Date: 2002-11-19 20:33:47

Michael Schmitz spake unto us the following wisdom:
Please try running pmud with the -s or -S flag (signal init on power low)
and take note of the battery power level readings. I suspect the kernel
does return erroneous power readings on occasion, causing pmud to trigger
sleep. I've not been able to reproduce this on my Lombard Powerbook -
other users (iBook IIRC) report the battery power suddenly dropping to
zero from as much as 80%. I'm currently trying to collect more information
on this new feature.
I have a first generation iceBook (500MHz/64MB stock/Rage128
Mobility), and I never see this behavior ... however, I recently
talked my girlfriend into a new iceBook, and the model she got
(600MHz/128MB stock/Radeon Mobility M6 LY) does.  It doesn't seem to
be predictable as best we can tell, and it doesn't happen often.  It
seems to happen whether the laptop is plugged into wall power or not.

(Does it irritate anyone else that there seems to be no *good* way to
 differentiate iBook versions?  I'm sure there's some motherboard
 resource version that's unambiguous, but come on...)

If I can provide any information that might be useful, please let me
know.  I have both of these laptops sitting in the same room with me
pretty much every day of the world for at least some period of time.

Ethan

--
And if I claim to be a wise man / it surely means that I don't know.
                -- Kansas, "Carry on Wayward Son"

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Unexpected sleep on old iBook

From: Segher Boessenkool <hidden>
Date: 2002-11-21 06:19:40

Ethan Blanton wrote:
(Does it irritate anyone else that there seems to be no *good* way to
 differentiate iBook versions?  I'm sure there's some motherboard
 resource version that's unambiguous, but come on...)
Just read the device tree:

/proc/device-tree/model  gives you the model name.
/proc/device-tree/scb#  gives you the revision number.


Segher


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Unexpected sleep on old iBook

From: Ethan Blanton <hidden>
Date: 2002-11-22 04:47:34

Segher Boessenkool spake unto us the following wisdom:
Ethan Blanton wrote:
quoted
(Does it irritate anyone else that there seems to be no *good* way to
 differentiate iBook versions?  I'm sure there's some motherboard
 resource version that's unambiguous, but come on...)
Just read the device tree:

/proc/device-tree/model  gives you the model name.
/proc/device-tree/scb#  gives you the revision number.
I actually meant for the layman ...  I realize that I can look up
system resources (in this case OF values) that will tell me, but hand
me an iBook and ask me what rev it is ... no clue.

Ethan

--
And if I claim to be a wise man / it surely means that I don't know.
                -- Kansas, "Carry on Wayward Son"

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help