[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111125204626.GA25003@oksana.dev.rtsoft.ru>
Date: Sat, 26 Nov 2011 00:46:26 +0400
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Pali Rohár <pali.rohar@...il.com>
Cc: linux-kernel@...r.kernel.org, Lars-Peter Clausen <lars@...afoo.de>,
syed rafiuddin <rafiuddin.sayed@...il.com>,
Rodolfo Giometti <giometti@...ux.it>,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH 8/9] bq27x00: Add miscdevice for each battery with ioctl
for reading registers
On Fri, Nov 25, 2011 at 09:30:28PM +0100, Pali Rohár wrote:
[...]
> This interface is not only for BME. Also some popular bq27200.sh script which
> print bq registers in human readable form needs this interface (with
> LD_PRELOAD library).
>
> Link for that shell script http://enivax.net/jk/n900/bq.tar
That might be a good excuse to have the raw interface. Although,
as this is for debugging purposes only, the same effect can be
accomplished by unloading bq module and using i2c userspace
interface directly... I guess.
[...]
> > Is it possible to convert it to some "n900 charger driver"?
>
> And two hours ago I started writing kernel driver for chip bq2415x which will
> support charging battery. So I think yes!
>
> So I think, one day I will delete BME from my Nokia N900.
That's a wonderful news! I really look forward to seeing it and
as n900 owner I very much appreciate your work.
Thanks!
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists