Re: About run time power management in linux

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

 



On Mon, 5 Jul 2010, Raj Kumar wrote:

> 
> Hi Alan,
> 
>  
> 
> I have few more questions about run time power management:
> 
>  
> 
> 1) Please correct me if i am wrong. If there is a bus driver that is managing various power domains,
> 
> and suppose this domain has some child devices. 
> 
>  
> 
> Then child has to inform run time Power management core i am idle and i want to go to get suspended,

Strictly speaking, the child device doesn't do this -- its driver does.

> then run time pm core will notify the bus driver of child and then bus driver calls the corresponding child's
> 
>  
> 
> suspend. right?

Right.  In fact, that's true even when the bus driver manages only a 
single power domain.

> 2) run time power management can be done at device "type" and "class". But what does mean of this device
> 
> type. what use cases are defined for run time power management for device "type"?

Here are a couple of examples.  In the USB subsystem there are two
"types": devices and interfaces.  In the SCSI subsystem there are three
"types": hosts, targets, and LUNs.  Each type generally needs to do 
runtime power management differently.

Alan Stern

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[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