From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Lorenzo Colitti <lorenzo-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: S3 freezes on wake on NC6000 laptop
Date: Mon, 7 Feb 2005 23:36:44 +0100 [thread overview]
Message-ID: <20050207223644.GA1394@elf.ucw.cz> (raw)
In-Reply-To: <4207A416.8030400-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
Hi!
> I am trying to get S3 (suspend to RAM) to work on an HP NC6000 laptop with
> no success. The system seems to enter the S3 state correctly, but when I
> turn back on it freezes completely.
>
> I tried booting with no modules and no processes loaded (init=/bin/sh) and
> with a serial console, but I can't see anything helpful. What I see
> is this:
Drop radeonfb, and drop swsusp2 patch. Apply this, and lets see if you
can hear beep during wakeup.
Pavel
--- clean/arch/i386/kernel/acpi/wakeup.S 2005-01-22 21:24:51.000000000 +0100
+++ linux/arch/i386/kernel/acpi/wakeup.S 2004-12-25 15:51:04.000000000 +0100
@@ -11,7 +11,22 @@
#
# If physical address of wakeup_code is 0x12345, BIOS should call us with
# cs = 0x1234, eip = 0x05
-#
+#
+
+#define BEEP \
+ inb $97, %al; \
+ outb %al, $0x80; \
+ movb $3, %al; \
+ outb %al, $97; \
+ outb %al, $0x80; \
+ movb $-74, %al; \
+ outb %al, $67; \
+ outb %al, $0x80; \
+ movb $-119, %al; \
+ outb %al, $66; \
+ outb %al, $0x80; \
+ movb $15, %al; \
+ outb %al, $66;
ALIGN
.align 4096
@@ -20,6 +35,7 @@
wakeup_code_start = .
.code16
+ BEEP
movw $0xb800, %ax
movw %ax,%fs
movw $0x0e00 + 'L', %fs:(0x10)
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-02-07 22:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-07 17:23 S3 freezes on wake on NC6000 laptop Lorenzo Colitti
[not found] ` <4207A416.8030400-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-07 17:42 ` Carl-Daniel Hailfinger
[not found] ` <4207A8A2.1040202-hi6Y0CQ0nG0@public.gmane.org>
2005-02-07 17:53 ` Karol Kozimor
[not found] ` <20050207175354.GA20662-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2005-02-07 20:38 ` Stefan Schweizer
[not found] ` <e796392205020712384885b728-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-02-08 9:02 ` Karol Kozimor
2005-02-07 22:36 ` Pavel Machek [this message]
[not found] ` <20050207223644.GA1394-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-08 0:11 ` Nigel Cunningham
2005-02-08 0:19 ` Lorenzo Colitti
[not found] ` <4208057C.6090707-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-08 0:42 ` Nigel Cunningham
[not found] ` <1107823331.2756.32.camel-r49W/1Cwd2ff0s6lnCXPXw0QcLn3kwYh@public.gmane.org>
2005-02-08 2:07 ` Lorenzo Colitti
[not found] ` <42081EE0.9050108-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-08 2:20 ` Nigel Cunningham
2005-02-08 9:04 ` Karol Kozimor
[not found] ` <20050208090411.GB9391-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2005-02-08 12:30 ` Lorenzo Colitti
2005-02-08 13:07 ` Pavel Machek
2005-02-08 0:21 ` Lorenzo Colitti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050207223644.GA1394@elf.ucw.cz \
--to=pavel-+zi9xunit7i@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=lorenzo-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox