From: Stephan K. <Ste...@gm...> - 2003-05-08 07:02:23
|
Hi, > In any event, I think there is an issue that one or more folk here may be > able to help with. It appears to me that reads of at least the following > /proc entries do not actually test the hardware state, but rely on > detecting ACPI events to trigger changes in stored information: [ ... ] > Question 1: Is my conclusion above accurate, or have I run into an > idiosyncrasy of the laptop? No, I can confirm your observation. I'm also using both ACPI and the swsusp patches for 2.4. When the machine is suspended and the AC adapter changes state, this change will not be recognized upon resume. I'd guess that the ACPI code stores the state somewhere in memory and will only change it, when the ACPI BIOS generates events. I think the ACPI code should just reexamine some values after resume. This will require quite a lot of integration between swsusp and ACPI and I'm not sure, if this integration is already present. Regards, Stephan |