From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: S3 freezes on wake on NC6000 laptop Date: Mon, 7 Feb 2005 23:36:44 +0100 Message-ID: <20050207223644.GA1394@elf.ucw.cz> References: <4207A416.8030400@colitti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4207A416.8030400-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lorenzo Colitti Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.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