All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Troin <phil@fifi.org>
To: "Brown, Len" <len.brown@intel.com>
Cc: "Marcelo Tosatti" <marcelo.tosatti@cyclades.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"linux-acpi" <linux-acpi@intel.com>
Subject: Re: APM suspend/resume ceased to work with 2.4.28
Date: 02 Dec 2004 17:50:48 -0800	[thread overview]
Message-ID: <87wtw0i1zb.fsf@ceramic.fifi.org> (raw)
In-Reply-To: 20041123070252.GA2712@logos.cnet

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Philippe Troin <phil@fifi.org> writes:

> Where do we go from here?

I just diffed out the boot log between 2.4.27 and 2.4.28.  And I found
this new message appearing in 2.4.28:

        ACPI: IRQ9 SCI: Edge set to Level Trigger.

Weird since IRQ 9 is not in use in this system.  IRQ9 is typically
used by ACPI.

After some digging in the sources, I found that the newly introduced
(2.4.28-rc2) function acpi_early_init() runs wether or not acpi=off
was specified on the command line.

This trivial patch makes my laptop suspend-happy.  Len, please confirm
that this is ok.  Marcelo, please include in 29-pre.

Phil.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: linux-2.4.28-8-acpi.patch --]
[-- Type: text/x-patch, Size: 440 bytes --]

diff -ruN linux-2.4.28.orig/drivers/acpi/bus.c linux-2.4.28/drivers/acpi/bus.c
--- linux-2.4.28.orig/drivers/acpi/bus.c	Wed Nov 17 03:54:21 2004
+++ linux-2.4.28/drivers/acpi/bus.c	Thu Dec  2 16:49:54 2004
@@ -1850,6 +1850,9 @@
 	acpi_status		status = AE_OK;
 	struct acpi_buffer	buffer = {sizeof(acpi_fadt), &acpi_fadt};
 
+	if (acpi_disabled)
+		return;
+
 	ACPI_FUNCTION_TRACE("acpi_bus_init");
 
 	status = acpi_initialize_subsystem();

  parent reply	other threads:[~2004-12-03  1:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22  3:25 APM suspend/resume ceased to work with 2.4.28 Philippe Troin
2004-11-22 17:36 ` Marcelo Tosatti
2004-11-23  0:03   ` Philippe Troin
2004-11-23  7:02     ` Marcelo Tosatti
2004-11-25  6:10       ` Philippe Troin
2004-12-03  1:50       ` Philippe Troin [this message]
2004-12-03  3:13         ` Len Brown
     [not found] <F7DC2337C7631D4386A2DF6E8FB22B300225E3FC@hdsmsx401.amr.corp.intel.com>

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=87wtw0i1zb.fsf@ceramic.fifi.org \
    --to=phil@fifi.org \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.