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

From: Greg KH
Date: Wed Aug 11 2004 - 16:33:19 EST


On Fri, Aug 06, 2004 at 08:14:34AM +1000, Nigel Cunningham wrote:
> 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

No.

>, and how do I tell it 'programmatically'?

From within the kernel? I don't think you really can, sorry.

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