>> ACPI dump is coming off-list - anyone who wants a copy for themselves,
>> just let me know.
>>
>> Thanks for all the help,
>>
>> Trevor
>
> Great, that shows the exact problem I was expecting.
>
> Here's a test patch for 2.6.30 (attached).

Ping!

Can anyone with a 900A please test this patch?  If I can't confirm
that this works, I'm not sure I can submit it for 2.6.32.  I apologise
if the other thread (patching out old workarounds in
eeepc-acpi-scripts) caused any confusion - this issue still needs
fixing on the 900A hardware.

I guess I am endorsing Andreas' solution for the time being.  The init
script should recognise the 900A as requiring pciehp_force=1, until
the kernel fix reaches Debian.  It will need another ugly kernel
version check to see whether pciehp_force=1 is necessary.

Thanks
Alan
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index 353a898..eb9ce03 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -680,6 +680,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
 	if (ACPI_FAILURE(status))
 		printk(EEEPC_ERR "Error installing notify handler\n");
 
+	eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P5");
 	eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P6");
 	eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P7");
 
@@ -748,6 +749,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
  wlan_fail:
 	if (ehotk->eeepc_wlan_rfkill)
 		rfkill_free(ehotk->eeepc_wlan_rfkill);
+	eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P5");
 	eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6");
 	eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7");
  ehotk_fail:
@@ -768,6 +770,7 @@ static int eeepc_hotk_remove(struct acpi_device *device, int type)
 	if (ACPI_FAILURE(status))
 		printk(EEEPC_ERR "Error removing notify handler\n");
 
+	eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P5");
 	eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6");
 	eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7");
 
_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to