Date: Tue, 13 Jan 2009 13:35:43 -0500 From: Michael Copeland <michael.copeland@gmail.com> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@freebsd.org Subject: Re: laptop battery + i2c bus reprogramming Message-ID: <496CDEFF.1070905@gmail.com> In-Reply-To: <20090113170341.GE57874@dan.emsphone.com> References: <496839E2.1020808@gmail.com> <20090113170341.GE57874@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote: > In the last episode (Jan 10), michael said: > >> several of my laptop batteries(L-ION) have an i2c bus to the eeprom >> inside the case. is it possible to reprogram or reset a battery i >> have repacked from within freebsd or will i need to do this with the >> available windows programs? >> what i'm asking is if freebsd actually supports sending of data over >> the i2c bus from userland. >> > > The iic driver seems to provide ioctls for userland manipulation; as > long as you know what to send (and assuming the kernel driver finds the > i2c chip), it should work. > > I noticed the same things, but I wasn't sure if any of the real ground work had been done. I've been replacing the cells in my batteries for a while now because I get 40-60% more gain from home built compared to new batteries from the manufacturer. I'm just tired of the licensing from the software I was using because it limits how many eeproms you can re flash.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496CDEFF.1070905>