LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Anton Vorontsov <cbou@mail.ru>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: ian <spyro@f2s.com>, Shem Multinymous <multinymous@gmail.com>,
Greg KH <gregkh@suse.de>, David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org, kernel-discuss@handhelds.org
Subject: Re: [Kernel-discuss] Re: [PATCH 3/8] Universal power supply class (was: battery class)
Date: Mon, 7 May 2007 01:07:54 +0400 [thread overview]
Message-ID: <20070506210754.GB10236@zarina> (raw)
In-Reply-To: <20070506180937.GB31940@khazad-dum.debian.net>
On Sun, May 06, 2007 at 03:09:37PM -0300, Henrique de Moraes Holschuh wrote:
> On Sat, 05 May 2007, ian wrote:
> > On Sat, 2007-05-05 at 00:54 -0300, Henrique de Moraes Holschuh wrote:
> >
> > > Given that USB-power *is* usually also "dumb" (i.e. it doesn't do any
> > > control signaling over the USB bus for power-control purposes),
> >
> > it might be dumb, but it is useful to know wether the PDA is charging
> > from usb or mains power. and some devices allow one to switch on / off
> > the ability to charge via usb
>
> Which, at the proper abstraction level provided by this class, means that it
> allows one to switch on or off a power supply channel.
>
> Laptops let one do this with their batteries, too. It is the same thing. I
> didn't check if the class comes with an attribute for "enable/disable this
> power source", but if doesn't, we need to add one: it *is* a generic and
> widely used capability in laptops, and according to you, also on PDAs.
Yup, this is simple matter of adding such attribute (plus implemention
of set_property function, which is trivial).
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.org/bd2
prev parent reply other threads:[~2007-05-06 21:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-03 21:31 Anton Vorontsov
2007-05-03 22:14 ` [Kernel-discuss] " ian
2007-05-03 22:55 ` Anton Vorontsov
2007-05-03 22:53 ` Greg KH
2007-05-03 23:08 ` CaT
2007-05-03 23:54 ` Anton Vorontsov
2007-05-04 4:55 ` Shem Multinymous
2007-05-05 3:54 ` Henrique de Moraes Holschuh
2007-05-05 12:32 ` Anton Vorontsov
2007-05-05 13:39 ` [Kernel-discuss] " pHilipp Zabel
2007-05-05 18:50 ` Jan Engelhardt
2007-05-06 21:13 ` Anton Vorontsov
2007-05-05 14:29 ` Paul Sokolovsky
2007-05-05 14:39 ` Damien Tournoud
2007-05-06 21:50 ` Anton Vorontsov
2007-05-05 13:46 ` ian
2007-05-05 14:06 ` Paul Sokolovsky
2007-05-06 18:06 ` Henrique de Moraes Holschuh
2007-05-06 21:38 ` Anton Vorontsov
2007-05-06 18:09 ` Henrique de Moraes Holschuh
2007-05-06 21:07 ` Anton Vorontsov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070506210754.GB10236@zarina \
--to=cbou@mail.ru \
--cc=dwmw2@infradead.org \
--cc=gregkh@suse.de \
--cc=hmh@hmh.eng.br \
--cc=kernel-discuss@handhelds.org \
--cc=linux-kernel@vger.kernel.org \
--cc=multinymous@gmail.com \
--cc=spyro@f2s.com \
--subject='Re: [Kernel-discuss] Re: [PATCH 3/8] Universal power supply class (was: battery class)' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).