public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Florian Lohoff <flo-BCn6idZOOBwdnm+yROfE0A@public.gmane.org>
Cc: Knut Neumann
	<knut.neumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: S3 wakeup code
Date: Thu, 24 Jul 2003 13:00:48 +0200	[thread overview]
Message-ID: <20030724110048.GA312@elf.ucw.cz> (raw)
In-Reply-To: <20030724104518.GA12041-L3tpvOS5ZD2KugBFyThYrEB+6BGkLq7r@public.gmane.org>

Hi!

> > Hmmm...if I understand that right its (still) the very same behaviour
> > with my Z600TEK and I remember someone else having that type of problem.
> > Now I once did some debugging and...nothing. As far as I can tell it
> > does not jump into wakeup code. I never could get any further on that.
> > Though I might have done something wrong - is there any foolproof method
> > on checking wether the system jumps to the wakeup address?
> > 
> 
> Yea - Would be my request too - Currently S3 is top on my wishlist. I
> did a lot of m68k assembly but i tryed to stay as far away from x86
> assembly as i could. So it would be nice if the more experienced ones
> would provide some #define DEBUG where we would hear interesting sounds
> or blinking keyboard leds or parallel/serial output if certain steps are
> handled successfully.

Hey, i386 assembly is not that hard, and if you are serious about
debugging S3 wakeup, you'll need to know it, anyway.

I don't remember code for beeping... To send data to the paralel port,

	movb	$0x12, %al
	movw	$0x378, %dx
	outb	%al, %dx

should do the trick (of course, you need to preserve eax/edx if they
contain something important). Beeping used to be done in case of panic
in some versions of kernel.

*And* someone actually posted patch to do beeping in acpi wakeup,
search the archives. [It would be nice if you could transform that
patch to something that could be used by #ifdef DEBUG and submitted me
a patch).
								Pavel
-- 
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

  parent reply	other threads:[~2003-07-24 11:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 15:28 S3 wakeup code Florian Lohoff
     [not found] ` <20030723152809.GA591-L3tpvOS5ZD2KugBFyThYrEB+6BGkLq7r@public.gmane.org>
2003-07-23 16:24   ` Pavel Machek
     [not found]     ` <20030723162423.GD9013-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2003-07-24 10:18       ` Knut Neumann
     [not found]         ` <1059041888.19684.8.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
2003-07-24 10:45           ` Florian Lohoff
     [not found]             ` <20030724104518.GA12041-L3tpvOS5ZD2KugBFyThYrEB+6BGkLq7r@public.gmane.org>
2003-07-24 11:00               ` Pavel Machek [this message]
     [not found]                 ` <20030724110048.GA312-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-07-30 18:08                   ` Knut Neumann
     [not found]                     ` <1059588521.539.3.camel-bi+AKbBUZKZeoWH0uzbU5w@public.gmane.org>
2003-07-30 18:22                       ` Pavel Machek
     [not found]                         ` <20030730182250.GL10276-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2003-07-30 23:24                           ` Knut Neumann
     [not found]                             ` <1059607485.535.7.camel-bi+AKbBUZKZeoWH0uzbU5w@public.gmane.org>
2003-07-31  9:20                               ` Pavel Machek
2003-07-24 11:18               ` Knut Neumann
     [not found]                 ` <1059045536.19684.21.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
2003-07-24 14:45                   ` Florian Lohoff
     [not found]                     ` <20030724144535.GA629-L3tpvOS5ZD2KugBFyThYrEB+6BGkLq7r@public.gmane.org>
2003-07-24 20:04                       ` Pavel Machek
     [not found]                         ` <20030724200411.GA444-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-07-24 20:45                           ` S3 suspend code Mark Santcroos
     [not found]                             ` <20030724204530.GA5907-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-07-24 22:41                               ` Pavel Machek
     [not found]                                 ` <20030724224141.GA430-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-07-26 23:41                                   ` Mark Santcroos
     [not found]                                     ` <20030726234129.GA668-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-07-30  8:26                                       ` Mark Santcroos
     [not found]                                         ` <20030730082639.GD676-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-07-30 12:25                                           ` Pavel Machek
2003-07-25 10:36                           ` S3 wakeup code Florian Lohoff
2003-07-25 12:25                       ` Ole Myren Rohne
     [not found]                         ` <m3r84eaj3z.fsf-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-07-25 12:50                           ` Florian Lohoff
     [not found]                             ` <20030725125052.GC910-L3tpvOS5ZD2KugBFyThYrEB+6BGkLq7r@public.gmane.org>
2003-07-25 13:10                               ` Knut Neumann
     [not found]                                 ` <1059138637.20426.7.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
2003-07-25 13:23                                   ` Florian Lohoff
2003-07-25 13:17                           ` Florian Lohoff
2003-07-25 12:14       ` David G Hamblen
     [not found]         ` <Pine.LNX.4.44.0307250755460.2827-100000-zmH7q5lE+0tBz13eCZem0Q@public.gmane.org>
2003-07-25 13:25           ` M. Warner Losh
     [not found]             ` <20030725.072504.126452882.imp-uzTCJ5RojNnQT0dZR+AlfA@public.gmane.org>
2003-07-25 13:38               ` Mark Santcroos
     [not found]                 ` <20030725133800.GB668-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-07-25 13:39                   ` David G Hamblen
     [not found]                     ` <Pine.LNX.4.44.0307250936080.3334-100000-zmH7q5lE+0tBz13eCZem0Q@public.gmane.org>
2003-07-25 13:56                       ` Mark Santcroos
2003-07-25 15:31                       ` Pavel Machek
     [not found]                         ` <20030725153110.GD310-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-07-25 17:20                           ` Mark Santcroos
     [not found]                             ` <20030725172011.GD668-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-07-25 17:55                               ` David G Hamblen
2003-07-25 15:30           ` Pavel Machek
2003-07-25 17:56           ` Karol Kozimor
     [not found]             ` <20030725175625.GC1526-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-07-25 18:04               ` David G Hamblen
2003-07-25 22:14               ` Pavel Machek

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=20030724110048.GA312@elf.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=flo-BCn6idZOOBwdnm+yROfE0A@public.gmane.org \
    --cc=knut.neumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@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