mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Schlichter <schlicht@uni-mannheim.de>
To: rzei@mbnet.fi
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG?] 2.6.0-test3 USB mouse problems
Date: Sat, 9 Aug 2003 18:02:58 +0200	[thread overview]
Message-ID: <200308091803.00289.schlicht@uni-mannheim.de> (raw)
In-Reply-To: <200308091808.34884.rzei@mbnet.fi>

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

On Saturday 09 August 2003 17:08, Joonas Koivunen wrote:
> Seems that all this was caused because of ACPI. With boot-time acpi=off,
> mouse works.

I've got the same mainboard and the same problems...

It's not a problem with ACPI, it's more a problem with the interrupt routing 
based on the ACPI tables. These tables seem to be not correctly implemented 
in the BIOS and, as the german EPOX support admits, are not really tested. To 
change this you may contact the EPOX support and describe your problems, 
too....

If you want to use ACPI while this BIOS bug is not fixed you may use the 
attached patch and boot with pci=noacpi. Without the patch this doesn't work 
for me here...

Best regards
  Thomas Schlichter

[-- Attachment #2: fix_noacpi.diff --]
[-- Type: text/x-diff, Size: 1431 bytes --]

--- linux-2.6.0-test2-mm4/arch/i386/kernel/acpi/boot.c.orig	Fri Aug  8 16:26:27 2003
+++ linux-2.6.0-test2-mm4/arch/i386/kernel/acpi/boot.c	Fri Aug  8 17:00:07 2003
@@ -39,6 +39,7 @@
 #define PREFIX			"ACPI: "
 
 extern int acpi_disabled;
+extern int acpi_irq_disabled;
 
 /* --------------------------------------------------------------------------
                               Boot-time Configuration
@@ -381,6 +382,8 @@
 #ifdef CONFIG_X86_IO_APIC
 #ifndef CONFIG_ACPI_HT_ONLY
 
+	if (!acpi_irq_disabled) {
+
 	/* 
 	 * I/O APIC 
 	 * --------
@@ -416,6 +419,8 @@
 	acpi_irq_model = ACPI_IRQ_MODEL_IOAPIC;
 
 	acpi_ioapic = 1;
+
+	}
 
 #endif /*!CONFIG_ACPI_HT_ONLY*/
 #endif /*CONFIG_X86_IO_APIC*/
--- linux-2.6.0-test2-mm4/arch/i386/kernel/setup.c.orig	Fri Aug  8 16:29:55 2003
+++ linux-2.6.0-test2-mm4/arch/i386/kernel/setup.c	Fri Aug  8 17:00:37 2003
@@ -69,6 +69,8 @@
 #endif
 EXPORT_SYMBOL(acpi_disabled);
 
+int acpi_irq_disabled = 0;
+
 int MCA_bus;
 /* for MCA, but anyone else can use it if they want */
 unsigned int machine_id;
@@ -524,6 +526,10 @@
 		if (c == ' ' && !memcmp(from, "acpismp=force", 13))
 			acpi_disabled = 0;
 
+		/* "pci=noacpi" disables ACPI table parsing for interrupt routing */
+		if (c == ' ' && !memcmp(from, "pci=noacpi", 10))
+			acpi_irq_disabled = 1;
+
 		/*
 		 * highmem=size forces highmem to be exactly 'size' bytes.
 		 * This works even on boxes that have no highmem otherwise.

  reply	other threads:[~2003-08-09 16:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09 12:06 Joonas Koivunen
2003-08-09 15:08 ` Joonas Koivunen
2003-08-09 16:02   ` Thomas Schlichter [this message]
2003-08-09 23:24     ` Joonas Koivunen
2003-08-10 16:42       ` [PATCH][2.6] fix problems with pci=noacpi Thomas Schlichter

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=200308091803.00289.schlicht@uni-mannheim.de \
    --to=schlicht@uni-mannheim.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rzei@mbnet.fi \
    /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

all inboxes | Powered by JetHome®