[linux-pm] suspend/resume of pcmcia

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 28 Feb 2006 rasmit.ranjan@xxxxxxxxx wrote:

> Hi,
>     For pci based host controller when we do global suspend it is the PM
> sub-system which takes care of the sequence of suspend i.e. PM traverses
> the device tree and suspends the child devices first and subsequently
> suspends the controller.
> I have a pcmcia based host controller what i mean is i have a pcmcia
> card which has a usb host controller. Now two things come to picture.
> One is the client driver and other is the HCD. The client driver
> receives a suspend event when i suspend the card by pccardctl suspend.
> In this case ther is no mechanism provided to communicate to the HCD
> about the suspned which has to handled by the user i.e. the client
> driver and hcd. Now if i do global suspend, is it the PM sub-system
> which takes care of the suspend sequence ?

Yes.

> Here what i mean is PM will
> traverse the device tree, it suspends the child devices, then it
> suspends the controller and finally sends the suspend event to the
> client driver or only the suspend event is sent to the client driver
> with out suspendung the controller. 

The PM subsystem sends suspend messages to every driver in the device 
tree.

>         In case of resume, when i resume the card by pccardctl resume (
> not global ), only the resume event of the client driver is getting
> called thats all. So here again the user has to take care of resuming
> the hcd. So for the global resume does PM sub-system take care of
> sending the resume event to the client driver and as well as resuming
> the controller ?

Yes.

Alan Stern


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux