From: Nigel Cunningham <ncunningham-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: Lorenzo Colitti <lorenzo-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>,
ACPI List
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: S3 freezes on wake on NC6000 laptop
Date: Tue, 08 Feb 2005 11:11:38 +1100 [thread overview]
Message-ID: <1107821497.2756.6.camel@desktop.cunninghams> (raw)
In-Reply-To: <20050207223644.GA1394-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
Hi.
Suspend2 doesn't touch wakeup.S; he should be able to test without
reversing it if he wants to.
Regards,
Nigel
On Tue, 2005-02-08 at 09:36, Pavel Machek wrote:
> 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)
--
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com
Ph: +61 (2) 6292 8028 Mob: +61 (417) 100 574
-------------------------------------------------------
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-08 0:11 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
[not found] ` <20050207223644.GA1394-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-08 0:11 ` Nigel Cunningham [this message]
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=1107821497.2756.6.camel@desktop.cunninghams \
--to=ncunningham-jjfnspsvq+ixdw4h08c5ka@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=lorenzo-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org \
--cc=pavel-+ZI9xUNit7I@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