Re: 2.2.14/APM: Thinkpad 560 can suspend/hibernate only once

From: Jes Sorensen (jes@linuxcare.com)
Date: Fri Jun 23 2000 - 09:32:43 EST


>>>>> "David" == David Hinds <dhinds@valinux.com> writes:

David> On Tue, Jun 20, 2000 at 11:13:26AM -0700, Sanjoy Mahajan wrote:
>> > I think it is an APM issue on particular Thinkpads.
>>
>> I tried some more tests. In single-user mode, it suspends and
>> resumes fine. If I start up pcmcia ("/etc/rc.d/init.d/pcmcia
>> start"), still no problem. Same after I stop pcmcia. But then I
>> restart pcmcia, load _and unload_ the modem card, stop pcmcia; now,
>> no luck with suspend ("apm: suspend: unable to enter requested
>> state").

David> The APM BIOS must be examining the status of the CardBus
David> bridge, and seeing something that it can't handle.

David> I'd try looking at the register dumps in /proc/bus/pccard/*/*
David> after starting PCMCIA, then after inserting and ejecting the
David> modem card.

I noticed something last night, it seems that some ThinkPad's enable
interrupts for the cardbus controllers and some don't. Ie. mine
reports the two cardbus controllers, and audio and USB to all share
interrupt 11. However a colleagues machine doesn't report interrupts
for the cardbus controllers at all thus the card switch is detected by
polling the status registers as far as I can tell from the pcmcia
code. I wonder if what could be happening is related to the cardbus
controllers generating interrupts at suspend time, or maybe an
interrupt on the audio or USB devices that the pcmcia code confuses.

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:26 EST