From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 20 11:21:47 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 01B46106564A for ; Thu, 20 Oct 2011 11:21:47 +0000 (UTC) (envelope-from sghctoma@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8227F8FC14 for ; Thu, 20 Oct 2011 11:21:46 +0000 (UTC) Received: by bkbzu17 with SMTP id zu17so4317500bkb.13 for ; Thu, 20 Oct 2011 04:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=MrD5/GL+yeGw3H6iMzm6eQWhnm8cIjy+u+Aa+p8bBHk=; b=A0y7nI5WXtwFP/FvQ/jWb/+0OVWlrrzKpVYPz4Yn3bpBJnu3meU/hRSwrFo4QcSAE0 LPIZY4UcBewZx8fwYZnjXnd1SrxhDDsEvQkItUyc6yuXCx1L1B+DP1gpDSmPtMk3LoWP HHhjuktDnOsHczoiTun/E1LU8joacN1CkfSPM= Received: by 10.204.140.73 with SMTP id h9mr7587239bku.30.1319108099265; Thu, 20 Oct 2011 03:54:59 -0700 (PDT) Received: from localhost (mail.praudit.hu. [89.135.48.141]) by mx.google.com with ESMTPS id e14sm9329599bka.0.2011.10.20.03.54.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 03:54:58 -0700 (PDT) Date: Thu, 20 Oct 2011 12:55:58 +0200 From: Tamas Szakaly To: freebsd-mobile@freebsd.org Message-ID: <20111020105558.GB3818@izebigyomicsoda.praudit.hu> References: <201110182335.15862.onyx@z-up.ru> <201110191713.02435.onyx@z-up.ru> <201110201434.50399.onyx@z-up.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201110201434.50399.onyx@z-up.ru> User-Agent: Mutt/1.5.21 (2010-09-15) 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 11:21:47 -0000 On Thu, Oct 20, 2011 at 02:34:50PM +0400, Dmitry Kolosov wrote: > ? ????????? ?? 19 ??????? 2011 17:13:02 ????? Dmitry Kolosov ???????: > > Now the question is: how to discover EC/battery controller capabilities of > > such functions as holding battery about X% of full charge. > > _______________________________________________ > > freebsd-mobile@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > so what's next? we need to sniff/trace/debug a win32 application/driver. > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" 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/) i did only take a glimpse on the code, but it seems well commented and understandable.. plus there are some links to documentations too.. --