ACPI suspend/resume

Johannes Hofmann Johannes.Hofmann at gmx.de
Tue Nov 23 08:40:27 PST 2004


YONETANI Tomokazu <qhwt+dfly at xxxxxxxxxx> wrote:
> Hi.
> On Sun, Nov 21, 2004 at 07:59:46PM +0000, Johannes Hofmann wrote:
>> Is there a way to debug resume problems? I just tried suspend/resume with
>> ACPI on my thinkpad T42. Suspend works just fine, but on resume only
>> the backlight comes back, everything else hangs (no CAPS lock light, 
>> no Ctrl Alt Esc). 
>> Suspend/Resume with APM works fine, just as suspend/resume with ACPI 
>> in FreeBSD 5.3.
> 
> Do you have any other modules on FreeBSD to make it work?
> I've seen a few similar reports on freebsd-current ML a few months ago,
> but somehow can't find single "it works now" report there. Maybe it's
> time to look at the changes in FreeBSD's acpi code.
> 

No, only the acpi module is loaded. But on resume I saw the following
messages on FreeBSD:

Nov 23 17:22:10  kernel: wakeup from sleeping state (slept 00:00:24)
ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
ATAPI_RESET time = 130us

Perhaps this has to do with the problem?

>> I already removed all USB/net/sound dirvers, but that didn't help. I also
>> tried to place sysbeep() calls in the ata-resume function, but it doesn't
>> get called. Any ideas?
> 
> Probably this is not it, because your laptop looks like completely
> locked up rather than just the screen, but have you tried
> `sysctl hw.acpi.reset_video=0' before suspend?

I had hw.acpi.reset_video=1 on both, FreeBSD and DragonFly. If I change it
to 1 on DragonFly, the machine locks up all the same, but the backlight
stays off.

  Johannes





More information about the Users mailing list