On Wed, May 02, 2012 at 09:15:16AM +1000, NeilBrown wrote: > However it doesn't suit my need - I want something more abstracted. > I can see there may well be a place for a simple on/off switch for some > components, but then I would prefer to see it as > /sys/class/power-switch/$devicename/state > rather than > /sys/devices/platform/reg-userspace-consumer.X/{name,state} That's a simple matter of programming if someone wants to do it, can't say it seems worth the effort personally though especially when classes are supposed to be going away.
Attachment:
signature.asc
Description: Digital signature