Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 11:03:41 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        michael <michael.copeland@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: laptop battery + i2c bus reprogramming
Message-ID:  <20090113170341.GE57874@dan.emsphone.com>
In-Reply-To: <496839E2.1020808@gmail.com>
References:  <496839E2.1020808@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090113170341.GE57874>