* How to differentiate between selective suspend and global suspend
@ 2006-06-26 5:03 rasmit.ranjan
2006-06-26 14:34 ` Alan Stern
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rasmit.ranjan @ 2006-06-26 5:03 UTC (permalink / raw)
To: linux-pm
[-- Attachment #1.1: Type: text/plain, Size: 477 bytes --]
Hi,
I have implemented bus_suspend entry point of hc_driver of my OHCI
complaint host controller. This entry point is called when i do
selective roothub interface suspend as well as when i do global suspend
( suspend to disk ). So is there any way to differentiate between
selective suspend of roothub interface and global suspend ( suspend to
disk ) for both of which my bus_suspend entry point is getting called ?
Please suggest.
Thanks and regards,
Rasmit.
[-- Attachment #1.2: Type: text/html, Size: 1226 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to differentiate between selective suspend and global suspend
2006-06-26 5:03 How to differentiate between selective suspend and global suspend rasmit.ranjan
@ 2006-06-26 14:34 ` Alan Stern
2006-06-26 16:58 ` David Brownell
2006-06-28 21:49 ` Pavel Machek
2 siblings, 0 replies; 4+ messages in thread
From: Alan Stern @ 2006-06-26 14:34 UTC (permalink / raw)
To: rasmit.ranjan; +Cc: linux-pm
On Mon, 26 Jun 2006 rasmit.ranjan@wipro.com wrote:
> Hi,
> I have implemented bus_suspend entry point of hc_driver of my OHCI
> complaint host controller. This entry point is called when i do
> selective roothub interface suspend as well as when i do global suspend
> ( suspend to disk ). So is there any way to differentiate between
> selective suspend of roothub interface and global suspend ( suspend to
> disk ) for both of which my bus_suspend entry point is getting called ?
No.
Alan Stern
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to differentiate between selective suspend and global suspend
2006-06-26 5:03 How to differentiate between selective suspend and global suspend rasmit.ranjan
2006-06-26 14:34 ` Alan Stern
@ 2006-06-26 16:58 ` David Brownell
2006-06-28 21:49 ` Pavel Machek
2 siblings, 0 replies; 4+ messages in thread
From: David Brownell @ 2006-06-26 16:58 UTC (permalink / raw)
To: linux-pm; +Cc: rasmit.ranjan
On Sunday 25 June 2006 10:03 pm, rasmit.ranjan@wipro.com wrote:
> So is there any way to differentiate between
> selective suspend of roothub interface and global suspend ( suspend to
> disk ) for both of which my bus_suspend entry point is getting called ?
Suspend-to-Disk is a system state, not a driver state;
you seem confused about things.
There is no distinction between suspending the root hub and
suspending all its downstream ports; how could you do one
without the other???
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to differentiate between selective suspend and global suspend
2006-06-26 5:03 How to differentiate between selective suspend and global suspend rasmit.ranjan
2006-06-26 14:34 ` Alan Stern
2006-06-26 16:58 ` David Brownell
@ 2006-06-28 21:49 ` Pavel Machek
2 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2006-06-28 21:49 UTC (permalink / raw)
To: rasmit.ranjan; +Cc: linux-pm
Hi!
> I have implemented bus_suspend entry point of hc_driver of my OHCI
> complaint host controller. This entry point is called when i do
> selective roothub interface suspend as well as when i do global
> suspend ( suspend to disk ). So is there any way to differentiate
> between selective suspend of roothub interface and global suspend (
> suspend to disk ) for both of which my bus_suspend entry point is
> getting called ?
Someone wants to rewrite/redesign selective suspend, I'm afraid.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-28 21:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 5:03 How to differentiate between selective suspend and global suspend rasmit.ranjan
2006-06-26 14:34 ` Alan Stern
2006-06-26 16:58 ` David Brownell
2006-06-28 21:49 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox