Re: h2200_battery.c.diff

From: Philip Blundell <pb.a.t.nexus.co.uk>
Date: Mon Sep 06 2004 - 08:52:56 EDT

On Mon, 2004-09-06 at 14:45 +0200, Szabolcs Gyurko wrote:
> These are my changes to the h2200_battery.c.
> A made it in the kernel-2.6.6-hh0 tree but should work in the 2.8.1.1-hh0
> tree also.
> It fits into the 2.6 notion of batteries. Uses the drivers/misc/battery.c.
> So far the
> registering & the battery status works but I need some help to complete it.
> I couldn't find the docs for accessing the battery in the hh doc section.
> I found the ow busmaster doc which is good to have but i'd need the
> doc of the ow client (battery) itself.

The battery is (probably) a DS2760 or compatible. You should be able to
get the datasheet for this part from the Maxim website. In 2.4, the
code to drive it is in mach-ipaq/h3600_asic_battery.c; you might find
that useful as well.

By the way, your patch didn't make it to the list. You might want to
re-send using a different MIME type.

p.
Received on Mon Sep 6 08:52:59 2004

This archive was generated by hypermail 2.1.8 : Mon Sep 06 2004 - 08:53:17 EDT