Re: What PM should be and do (Was Re: Solving suspend-level confusion)

From: Nigel Cunningham (ncunningham_at_linuxmail.org)
Date: 08/06/04

  • Next message: szonyi calin: "Re: Linux 2.6.8-rc3"
    To: Greg KH <greg@kroah.com>
    Date:	Fri, 06 Aug 2004 08:14:34 +1000
    
    

    Hi.

    On Fri, 2004-08-06 at 04:19, Greg KH wrote:
    > On Wed, Aug 04, 2004 at 02:47:52PM +1000, Nigel Cunningham wrote:
    > > - support for telling what class of device a driver is handling (I'm
    > > particularly interested in keeping the keyboard, screen and storage
    > > devices alive while suspending).
    >
    > You can see that info today from userspace by looking in
    > /sys/class/input, /sys/class/graphics, and /sys/block

    Does this apply to all devices, and how do I tell it 'programmatically'?
    Ie, is the class an element in a struct somewhere?

    Regards,

    Nigel

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: szonyi calin: "Re: Linux 2.6.8-rc3"

    Relevant Pages

    • Re: What PM should be and do (Was Re: Solving suspend-level confusion)
      ... > particularly interested in keeping the keyboard, screen and storage ... > devices alive while suspending). ... You can see that info today from userspace by looking in ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [pm] fix time after suspend-to-*
      ... Many userspace applications are not prepared for suspension, ... When suspending the machine for a long time, ... Evolution is unable to handle this condition and simply ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [1/1][PATCH] nproc v2: netlink access to /proc information
      ... > The presumed wrong assumptions underlying broken tools of the future ... > making it easy to write correct applications (or in fixing broken apps ... knowledge of the CONFIG_MMU usage models and/or whatever userspace ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: User space out of memory approach
      ... > userspace provided candidate list. ... > instead of fixing the real problem is a real interesting engineering ... that after the source of trouble is fixed it is worth to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Filesystem linking protections
      ... > has broken atd and courier in the past. ... > or O_EXCL so there's work to be done in userspace. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)