Skip to contentSkip to conversation

Call to rewrite swsusp

DISCUSSION Shawn Starr 2 participants 2 messages Nov 4, 2002 – Nov 10, 2002

lore
Share & tools
lore
#0 lore raw

Talking with some people last night it seems we need to redo the swsusp (driver). From what I've been told and have seen (from the code) it doesn't talk to the generic subsystems (like block layer, network layer etc). From talks with some kernel developers, they tell me we would have to modify all the drivers to properly handle system suspends. Is it not APM/ACPI's job to bring down the system to a stable state when suspending the machine?

The swsusp should be asking all the generic subsystems. When the machine is about to be suspended it should flush any read/write buffers, stop processing packets and other things.

Am I totally wrong on this? :-)

Shawn.
Shawn Starr
Development Systems Support Analyst, Operations
T: 416-213-2001 ext 179 F: 416-213-2008
[email protected]
www.datawire.net
"Sent from my Blackberry handheld"

#1 lore raw
Quoted 9 lines

Talking with some people last night it seems we need to redo the swsusp (driver). From what I've been told and have seen (from the code) it doesn't talk to the generic subsystems (like block layer, network layer etc). From talks with some kernel developers, they tell me we would have to modify all the drivers to properly handle system suspends. Is it not APM/ACPI's job to bring down the system to a stable state when suspending the machine?

Quoted 5 lines

The swsusp should be asking all the generic subsystems. When the machine is about to be suspended it should flush any read/write buffers, stop processing packets and other things.

Am I totally wrong on this? :-)

Yes.
Pavel

Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?