Re: [RFC Add no_suspend attribute V2] Let the driver know if it's in use

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

 



Alan Stern wrote:
> On Thu, 23 Jul 2009, Rafael J. Wysocki wrote:
>
>   
>>> I follow the discussion around the new runtime support and I would like 
>>> to know if I can
>>> add to the new interface the no_suspend flag or maybe now there is a 
>>> better solution.
>>>       
>> Hmm.  Do I remember correctly that the no_suspend flag is for preventing the
>> system-wide suspend in case some devices are in use?
>>     
>
> As I recall, the no_suspend flag was used to mark a few devices which
> should not be powered down during an otherwise normal system sleep.
>
> For example, you might want to suspend the computer while leaving a
> built-in DVB tuner on because the tuner is attached to an external TV
> set.
>
> Alan Stern
>   
Is it ok for you if a prepare only the patch the add the flag and let 
the user space
and the driver to use it?

Michael
>
>   

_______________________________________________
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