lkml.org 
[lkml]   [2009]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFD] Automatic suspend
    Hi!

    > >> > Phase 3: Probably explicit control left to open/close.
    > >>
    > >> While that's generally a good idea, it's important to recognize that
    > >> some devices should be runtime-suspended even while they are open.
    > >
    > > From the kernel side, yes (and that should be transparent to the user space
    > > having them open). By the user space, no.
    >
    > Allowing user space to suspend input devices while they are still open
    > is useful. The user-space code that reads from the input devices does
    > not need to know if the device is suspended or not, and the kernel
    > cannot auto suspend input devices based on inactivity.

    Actually, I'd like you to fix your userspace and close input devices
    when it does not need them. Given the way you control the platform it
    should not be that hard. I do not see why we'd want to invent new
    interface for "uhuh, I have opened the keyboard but I am not really
    interested in keys being pressed".
    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2009-03-01 23:57    [W:4.379 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site