linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Unexpected sleep on old iBook
@ 2002-11-19  8:15 Halfmann, Klaus
  2002-11-19 16:48 ` Michael Schmitz
  0 siblings, 1 reply; 7+ messages in thread
From: Halfmann, Klaus @ 2002-11-19  8:15 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, linuxppc-dev


> ...
> 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Unexpected sleep on old iBook
@ 2002-11-20 11:11 Halfmann, Klaus
  0 siblings, 0 replies; 7+ messages in thread
From: Halfmann, Klaus @ 2002-11-20 11:11 UTC (permalink / raw)
  To: Ethan Blanton, linuxppc-dev; +Cc: Benjamin Herrenschmidt


> From: Ethan Blanton [mailto:eblanton@cs.ohiou.edu]
> Sent: Dienstag, 19. November 2002 21:34
>...
> 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.
>
Ok, when I do
	pmud -ds 2>&1 | tee pmud.txt
I get:
pmud[1226]: pmud [treshold = 420, margin = 15] started
pmud[1226]: opening /dev/adb
pmud[1226]: opening /dev/pmu
pmud[1226]: pmu_op(0xea, ..., version req)
pmud[1226]: PMU version 12: iBook/G3 Pismo/G4 Titanium
pmud[1226]: starting monitoring loop
pmud[1226]: pmu_op(0xdc, ..., switch req)
pmud[1226]: pmu_op(0x6f, ..., smart battery req)
pmud[1226]: pmu_op(0x6f, ..., smart battery req)
pmud[1226]: timeleft = -1
pmud[1226]: running /etc/power/pwrctl maximum ac
pmud[1226]: PMU interrupt:
pmud[1226]:  40
pmud[1226]:  14
pmud[1226]: pmu_op(0xdc, ..., switch req)
pmud[1226]: pmu_op(0x6f, ..., smart battery req)
pmud[1226]: pmu_op(0x6f, ..., smart battery req)
pmud[1226]: timeleft = -1
... several seconds later ...
pmud[1226]: PMU interrupt:
pmud[1226]:  40
pmud[1226]:  14
pmud[1226]: pmu_op(0xdc, ..., switch req)
pmud[1226]: pmu_op(0x6f, ..., smart battery req)
pmud[1226]: pmu_op(0x6f, ..., smart battery req)
pmud[1226]: timeleft = -1
pmud[1226]: initiating user requested sleep
			... I did not touch the iBook at all ...
pmud[1226]: polling adb for trackpad
pmud[1226]: found a trackpad (id = 3)
pmud[1226]: trackpad settings tap drag lock
pmud[1226]: calling sync()
pmud[1226]: running /etc/power/pwrctl sleep ac
pmud[1226]: going to sleep
pmud[1226]: system awake again
pmud[1226]: requested settings tap drag lock
pmud[1226]: trackpad settings tap drag lock
pmud[1226]: running /etc/power/pwrctl wakeup ac

May I need to add additional debug output ?

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Unexpected sleep on old iBook
@ 2002-11-19  7:43 Halfmann, Klaus
  0 siblings, 0 replies; 7+ messages in thread
From: Halfmann, Klaus @ 2002-11-19  7:43 UTC (permalink / raw)
  To: linuxppc-dev


Since kernel 2.4.20-rc1 (and possibly some versions before)
my iBook (first generation) goes to sleep when I use pmud.

I fetched the latest pmud I could get (1.1.1.1 2002/12/07 11:31:46 sleemburg)

I use pmud -s (if that matters at all).
I set "lid_wakeup=0" in boot.local via /proc/pmu/options.

The logs do not show any clue why the kernel puts the iBook to sleep.
I feel that pressing keys keeps the iBook from sleeping, but
running processes or usage of the track pad do not.
This does not change when the Box in on AC or on Battery.

I rsynced against source.mvista.com yesterday (2002-11-18)
(no space for a Bitkeeper tree :-| )

Can someone help ?

Thanks

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-22  4:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-19  8:15 Unexpected sleep on old iBook Halfmann, Klaus
2002-11-19 16:48 ` Michael Schmitz
2002-11-19 20:33   ` Ethan Blanton
2002-11-21  6:19     ` Segher Boessenkool
2002-11-22  4:47       ` Ethan Blanton
  -- strict thread matches above, loose matches on Subject: below --
2002-11-20 11:11 Halfmann, Klaus
2002-11-19  7:43 Halfmann, Klaus

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).