Agree.
> The only thing is that you probably want all devices of a
> particular class
> to wake a system - like all keyboards or all net devices. I
> don't know
> what the config file format for ospmd looks like, but it
> might articulated
> like:
>
> /* devices to wake the system when we go to sleep */
> wake {
> keyboard
> network
> mouse
> }
> Right?
Sounds OK to me. Once the wake capability and class of a device are both
visible through driverfs, implementing functionality like this in userspace
is easy.
Regards -- Andy
-
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/