Re: ACPI on hp tc1100

Stefan Dösinger
2004-12-05T21:14:24Z

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

> Ah. In fact, when this system resumes from suspend, the wireless card
> refuses to work. Errors in dmesg:
> <system power on>
> ipw2100: eth0: ipw2100_verify failed: -5
> ipw2100: eth0: Failed to power on the adapter.
> ipw2100: eth0: Failed to start the firmware.
> Restarting tasks... done
> <I try to reload the driver>
> ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.0.1
> ipw2100: Copyright(c) 2003-2004 Intel Corporation
> ACPI: PCI interrupt 0000:02:05.0[A] -> GSI 15 (level, low) -> IRQ 15
> ipw2100Device not found via register read.
>
> I will see if removing the driver before bringing the system down helps.
Try the attached patch(against the ipw2100 driver.

Stefan

[-- Attachment #2: ipw2100-2.6.10-rc2.patch --]
[-- Type: text/x-diff, Size: 373 bytes --]

--- ipw2100-1.0.0.orig/ipw2100.c 2004-11-11 22:48:55.000000000 +0800
+++ ipw2100-1.0.0/ipw2100.c 2004-11-21 11:07:56.000000000 +0800
@@ -6664,6 +6664,8 @@ static int ipw2100_suspend(struct pci_de

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
pci_save_state(pci_dev, priv->pm_state);
+#else
+ pci_save_state(pci_dev);
#endif
pci_set_power_state(pci_dev, state);