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

From: Nigel Cunningham
Date: Thu Aug 05 2004 - 17:26:37 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/