lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 2 May 2012 09:15:16 +1000
From:	NeilBrown <neilb@...e.de>
To:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc:	linux-serial@...r.kernel.org, linux-pm@...r.kernel.org,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: Question:  How to power-manage UART-attached devices.

On Tue, 1 May 2012 17:33:03 +0100 Mark Brown
<broonie@...nsource.wolfsonmicro.com> wrote:

> On Tue, May 01, 2012 at 09:35:59AM +1000, NeilBrown wrote:
> > On Mon, 30 Apr 2012 23:33:22 +0100 Mark Brown
> > > On Tue, May 01, 2012 at 08:22:09AM +1000, NeilBrown wrote:
> 
> > > The userspace consumer was added for users like this that live entirely
> > > in userspace.
> 
> >  I assume you mean REGULATOR_VIRTUAL_CONSUMER (drivers/regulator/virtual.c)?
> 
> No, that's just for testing drivers in development.  I mean the
> userspace consumer which is hidden away in userspace-consumer.c.

Ahhh, of course.  What a cunning hiding place! :-)

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}


Thanks,
NeilBrown

Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ