Re: swsusp doesn't suspend devices

2005-09-07 Thread Pavel Machek
Hi! > It would seem that swsusp doesn't properly suspend devices, or more > precisely it wakes them up again before suspending the machine. Yes, and that's okay. What happens to devices during swsusp? They seem to be resumed during system suspend? A: That's correct. We need to resume them if

Re: swsusp doesn't suspend devices

2005-09-07 Thread Rafael J. Wysocki
On Wednesday, 7 of September 2005 22:17, Pierre Ossman wrote: > Rafael J. Wysocki wrote: > > >On Wednesday, 7 of September 2005 13:20, Pierre Ossman wrote: > > > > > >>It would seem that swsusp doesn't properly suspend devices, or more > >>precisely it wakes them up again before suspending the

Re: swsusp doesn't suspend devices

2005-09-07 Thread Pierre Ossman
Rafael J. Wysocki wrote: >On Wednesday, 7 of September 2005 13:20, Pierre Ossman wrote: > > >>It would seem that swsusp doesn't properly suspend devices, or more >>precisely it wakes them up again before suspending the machine. >> >> > >Yes, it does. By design. > > > That seems

Re: swsusp doesn't suspend devices

2005-09-07 Thread Rafael J. Wysocki
On Wednesday, 7 of September 2005 13:20, Pierre Ossman wrote: > It would seem that swsusp doesn't properly suspend devices, or more > precisely it wakes them up again before suspending the machine. Yes, it does. By design. Greetings, Rafael -- - Would you tell me, please, which way I ought

swsusp doesn't suspend devices

2005-09-07 Thread Pierre Ossman
It would seem that swsusp doesn't properly suspend devices, or more precisely it wakes them up again before suspending the machine. The problem is in swsusp_suspend(). It is designed as if swsusp_arch_suspend() would suspend the hardware, when in fact all it does is prepare for a suspend. The

swsusp doesn't suspend devices

2005-09-07 Thread Pierre Ossman
It would seem that swsusp doesn't properly suspend devices, or more precisely it wakes them up again before suspending the machine. The problem is in swsusp_suspend(). It is designed as if swsusp_arch_suspend() would suspend the hardware, when in fact all it does is prepare for a suspend. The

Re: swsusp doesn't suspend devices

2005-09-07 Thread Rafael J. Wysocki
On Wednesday, 7 of September 2005 13:20, Pierre Ossman wrote: It would seem that swsusp doesn't properly suspend devices, or more precisely it wakes them up again before suspending the machine. Yes, it does. By design. Greetings, Rafael -- - Would you tell me, please, which way I ought to

Re: swsusp doesn't suspend devices

2005-09-07 Thread Pierre Ossman
Rafael J. Wysocki wrote: On Wednesday, 7 of September 2005 13:20, Pierre Ossman wrote: It would seem that swsusp doesn't properly suspend devices, or more precisely it wakes them up again before suspending the machine. Yes, it does. By design. That seems counter-productive, so

Re: swsusp doesn't suspend devices

2005-09-07 Thread Rafael J. Wysocki
On Wednesday, 7 of September 2005 22:17, Pierre Ossman wrote: Rafael J. Wysocki wrote: On Wednesday, 7 of September 2005 13:20, Pierre Ossman wrote: It would seem that swsusp doesn't properly suspend devices, or more precisely it wakes them up again before suspending the machine.

Re: swsusp doesn't suspend devices

2005-09-07 Thread Pavel Machek
Hi! It would seem that swsusp doesn't properly suspend devices, or more precisely it wakes them up again before suspending the machine. Yes, and that's okay. What happens to devices during swsusp? They seem to be resumed during system suspend? A: That's correct. We need to resume them if we