lkml.org 
[lkml]   [2011]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 8/9] bq27x00: Add miscdevice for each battery with ioctl for reading registers
Date
On Saturday 26 November 2011 00:46:26 Anton Vorontsov wrote:
> 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.
>

Yes, unloading bq module and then starting script working. But I think that we
could have some interface how to access directly to i2c when some i2c module
for chip is loaded.

--
Pali Rohár
pali.rohar@gmail.com[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-11-25 21:57    [W:0.083 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site