Messages in this thread | | | Date | Wed, 2 May 2012 10:02:17 +0100 | From | Mark Brown <> | Subject | Re: Question: How to power-manage UART-attached devices. |
| |
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. [unhandled content-type:application/pgp-signature] | |