suspend on 'idle'

pgf at laptop.org pgf at laptop.org
Thu Aug 7 11:15:12 EDT 2008


chris wrote:
 > 
 > I think what you actually want is one of two things:
 > 
 >    * Not to suspend in the presence of any large network transfer.
 >      I think this would only be necessary for your ethernet case, since
 >      on wireless we're just going to be woken up by the next incoming
 >      packet.  As a result, I'm not so interested in adding this given
 >      that you can inhibit suspend manually.
 > 
 >    * Not to suspend when a USB device capable of generating external
 >      interrupts (USB keyboard, USB ethernet) is plugged in.  I'd be
 >      willing to add that, but I haven't worked out what the best way
 >      to detect what classes of USB devices are being used is.  Maybe
 >      that's something you can help with?

this might be an approach for the first problem, too -- inhibit
suspend in the presence of a USB ethernet adapter (perhaps
conditioned on UP and RUNNING as well).

paul
=---------------------
 paul fox, pgf at laptop.org



More information about the Devel mailing list