From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: S3 wakeup code Date: Thu, 24 Jul 2003 22:04:11 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030724200411.GA444@elf.ucw.cz> References: <20030723152809.GA591@paradigm.rfc822.org> <20030723162423.GD9013@atrey.karlin.mff.cuni.cz> <1059041888.19684.8.camel@bacchus.gpphy.uni-duesseldorf.de> <20030724104518.GA12041@paradigm.rfc822.org> <1059045536.19684.21.camel@bacchus.gpphy.uni-duesseldorf.de> <20030724144535.GA629@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20030724144535.GA629-L3tpvOS5ZD2KugBFyThYrEB+6BGkLq7r@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Florian Lohoff Cc: Knut Neumann , Pavel Machek , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > > I received some tips from Ole Rohne some time ago, which were: > > > > * Insert lcall $0xffff,$0 or machin_restart in various places in > > wakeup.S and upwards and see if your machine reboots on S3 resume > > Ok - i tried this - Doesnt work - Machine seems not to execute the > wakeup code at all. > > And now ? > > I read a bit in the ACPI Specs - It seems there are a 32Bit and a 64Bit > pointer to the wakeup routine. The 32Bit pointer says "superseeded by > "X_Firmware_Waking_Vector" which seems not to be set in > drivers/acpi/hardware/hwsleep.c:acpi_set_firmware_waking_vector What specs is that? As wakeup code starts in *real* mode, I don't see how 64bit pointer is going to be usefull... > Might that be one of the causes ? I don't think so. lcall $0xffff, $0 is not guaranteed to reboot. Machine is in pretty weird state at that point. -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01