Skip to contentSkip to conversation

ACPI A/C adaptor status not updated upon resume

Swsusp-devel Nigel Cunningham 2 participants 2 messages Jul 17, 2003 3 messages not in the archive ACPI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

That's ACPI, not swsusp - it must be toggling the state based on events, not actually detecting it.

Regards,

Nigel

Quoted 21 lines · Eric Altendorf

I'm still running an old version swsusp so I apologize if this has already been addressed, but I figured I'd just make mention of it.

If the laptop is resumed with a different A/C adaptor state (online vs. offline) than when it was suspended, the /proc entry is incorrect upon resume. E.g., plug laptop in, suspend, unplug laptop, resume, /proc/acpi/ac_adapter/ADP1/state reports still online until a subsequent plug/unplug event.

Eric

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
swsusp-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/swsusp-devel

Signature · 14 lines
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand

You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
	-- Romans 5:6, NIV.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Fair enough -- I wasn't sure who was suppose to poll and who was supposed to notify......

Eric

Quoted 31 lines · Nigel Cunningham

That's ACPI, not swsusp - it must be toggling the state based on events, not actually detecting it.

Regards,

Nigel

Quoted 23 lines · Eric Altendorf

I'm still running an old version swsusp so I apologize if this has already been addressed, but I figured I'd just make mention of it.

If the laptop is resumed with a different A/C adaptor state (online vs. offline) than when it was suspended, the /proc entry is incorrect upon resume. E.g., plug laptop in, suspend, unplug laptop, resume, /proc/acpi/ac_adapter/ADP1/state reports still online until a subsequent plug/unplug event.

Eric

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:
http://www.vmware.com/wl/offer/345/0
_______________________________________________
swsusp-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/swsusp-devel

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0