Skip to contentSkip to conversation

keyboard / synaptics not working

2.6.10-rc1-mm2 matthieu castet 3 participants 3 messages Nov 4, 2004 – Nov 5, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw
Quoted 12 lines

Hello Len,

Am Dienstag, den 02.11.2004, 01:46 -0500 schrieb Len Brown:

[...]

Quoted 2 lines

With the unmodified -mm2 tree, please build with CONFIG_PNPACPI=n and give that a go.

Setting CONFIG_PNPACPI=n ( which can be found in drivers/pnp btw, for all those reading this thread ) indeed fixes the problem.

Quoted 8 lines

As does applying your remove_driver.patch ( with CONFIG_PNPACPI=y) from the other other thread.

Both work-arounds also fix the asus_acpi kernel module which either wouldn't load at all (no such device) or would load but do nothing (empty /p/a/asus).

HTH

Could you try these 2 patchs with CONFIG_PNPACPI=y ?

Thanks

Matthieu

drivers/pnp/pnpacpi/core.c renamed from drivers/pnp/pnpacpi/core.c.old +5 -1
@@ -239,7 +239,11 @@
 static int acpi_pnp_match(struct acpi_device *device,
 	struct acpi_driver	*driver)
 {
-	return (!ispnpidacpi(acpi_device_hid(device)) ||
+	acpi_handle temp = NULL;
+	acpi_status status;
+	/* don't lock non standard pnp device */
+	status = acpi_get_handle(device->handle, "_CRS", &temp);
+	return (ACPI_FAILURE(status) || !ispnpidacpi(acpi_device_hid(device)) ||
 		is_exclusive_device(device));
 }
 
drivers/input/serio/i8042.c renamed from drivers/input/serio/i8042.c.old +4 -4
@@ -55,10 +55,10 @@
 module_param_named(noloop, i8042_noloop, bool, 0);
 MODULE_PARM_DESC(dumbkbd, "Disable the AUX Loopback command while probing for the AUX port");
 
-#ifdef CONFIG_ACPI
-static int i8042_noacpi;
-module_param_named(noacpi, i8042_noacpi, bool, 0);
-MODULE_PARM_DESC(noacpi, "Do not use ACPI to detect controller settings");
+#ifdef CONFIG_PNP
+static int i8042_nopnp;
+module_param_named(nopnp, i8042_nopnp, bool, 0);
+MODULE_PARM_DESC(nopnp, "Do not use PNP to detect controller settings");
 #endif
 
 #define DEBUG
drivers/input/serio/i8042-x86ia64io.h renamed from drivers/input/serio/i8042-x86ia64io.h.old +63 -133

262 lines not on this page · raw message

#1 lore raw

Hello matthieu,

Am Donnerstag, den 04.11.2004, 13:15 +0100 schrieb matthieu castet:

[...]

Quoted 1 line

Could you try these 2 patchs with CONFIG_PNPACPI=y ?

Yes, those two patches fix the keyboard for me with CONFIG_PNPACPI=y. Thanks!

Signature · 7 lines
Matthias Hentges 
Cologne / Germany

[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4   -> No files, no URL's

My OS: Debian SID. Geek by Nature, Linux by Choice
#2 lore raw
In reply to matthieu castet
Quoted 5 lines · matthieu castet

Could you try these 2 patchs with CONFIG_PNPACPI=y ?

filename="pnpacpi.patch"

filename="i8042_pnp.patch"

Just confirming that my Dell Latitude C840 had the same "no keyboard" issues with -rc1-mm2, and these 2 patches result in a working keyboard with CONFIG_PNPACPI.