From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 20 16:04:04 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9965A106566C for ; Thu, 20 Oct 2011 16:04:04 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7078FC0A for ; Thu, 20 Oct 2011 16:04:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p9KG3xA0005316; Fri, 21 Oct 2011 03:04:00 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 21 Oct 2011 03:03:59 +1100 (EST) From: Ian Smith To: Dmitry Kolosov In-Reply-To: <201110201644.25653.onyx@z-up.ru> Message-ID: <20111021025829.I3397@sola.nimnet.asn.au> References: <201110182335.15862.onyx@z-up.ru> <201110201434.50399.onyx@z-up.ru> <20111020105558.GB3818@izebigyomicsoda.praudit.hu> <201110201644.25653.onyx@z-up.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: Battery charge limiting X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2011 16:04:04 -0000 On Thu, 20 Oct 2011, Dmitry Kolosov wrote: > > for thinkpads, there is no need to reverse any win32 stuff.. there is a > > linux driver that accesses the EC and is able to get/set battery > > parameters (among other stuff, like HDAPS) called tp_smapi > > (http://sourceforge.net/projects/tpctl/) > > Ok. It looks like not every EC capable to be controlled, there is some kind of > active and passive ECs. How we can guess the one IS capable? May be presence > of some ACPI methods is the symptom of such capabilities? Any suggestions? http://www.thinkwiki.org/wiki/Tp_smapi has a table of which Thinkpad models support what tp_smapi features. It's not clear to me whether any of this is exposed through ACPI tables, or whether it's all more direct hardware access .. sounds like a fun project if anyone has the time and energy to play with it though :) Thanls for the earlier references. Interesting. cheers, Ian