lkml.org 
[lkml]   [2012]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2012-05-02 11:41    [W:0.042 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site