Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 15:54:35 -0400 (EDT)
From:      wietse@porcupine.org (Wietse Venema)
To:        freebsd-mobile@freebsd.org
Cc:        wietse@porcupine.org
Subject:   Premature wakeup (TP600/FBSD3.4/PAO3)
Message-ID:  <20000519195435.CE6E24563D@spike.porcupine.org>
In-Reply-To: <20000519122437.L45347@stat.Duke.EDU> from Sean O'Connell at "May 19, 0 12:24:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Thinkpad 600 + FreeBSD 3.4-RELEASE + generic PAO3 kernel.

I wrote:
> There is still one problem: after zzz or closing the lid, the
> machine wakes up a few seconds after it suspends, even when it was
> turned on from battery power. 

Update: the premature wakeup happens only when a pc card is present. 

When no card is present the machine suspends as expected.

For example, the machine wakes up prematurely when one of these
cards is present:  IBM ethernet card (no cable attached) or ZOOM
modem (no cable attached).  I have not tested other cards.

Could it be that disabling a cards somehow generates an interrupt
that triggers the premature wakeup? Inserting/removing cards all
the time would be be rough on my machine, and would be inconvenient
when testing network software.

Below are a couple fragments from the messages file.

	Wietse

Messages logged after closing the lid with modem card present.
Disabling the "PCMCIA Modem removed" message in pccard.conf does
not make a difference.

May 19 15:23:27 bristle /kernel: sio3: unload,gone
May 19 15:23:27 bristle /kernel: Return IRQ=3
May 19 15:23:27 bristle /kernel: Card disabled, slot 0
May 19 15:23:27 bristle /kernel: resumed from suspended mode (slept 00:00:12)
May 19 15:23:27 bristle root: PCMCIA Modem removed
May 19 15:23:27 bristle /kernel: Card inserted, slot 0

Messages logged after closing the lid with ethernet card present:

May 19 15:24:18 bristle /kernel: ed0: unload
May 19 15:24:18 bristle /kernel: Return IRQ=3
May 19 15:24:18 bristle /kernel: Card disabled, slot 1
May 19 15:24:18 bristle /kernel: resumed from suspended mode (slept 00:00:12)
May 19 15:24:18 bristle root: IBM PCMCIA Ethernet removed
May 19 15:24:18 bristle /kernel: Card inserted, slot 1


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000519195435.CE6E24563D>