public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Rich Townsend <rhdt-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: sbs-linux: smart batteries on SourceForge (was New SmartBattery DSDT-based controller)
Date: Sat, 05 Feb 2005 21:19:42 -0500	[thread overview]
Message-ID: <42057EBE.5090102@bartol.udel.edu> (raw)
In-Reply-To: <41FBDDE2.1050403-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>

Hi all --

I've finished the first cut of the DSDT hackery needed to get smart 
battery systems (SBS) working like 'traditional' control method (CM) 
batteries. This sounds like a kludge, but it's worth pointing out that 
many modern laptops already use SBS batteries internally, but expose 
them as CM batteries.

The new code can be downloaded from the new SourceForge project I've 
established:

https://sourceforge.net/projects/sbs-linux/

The package to download is SBS-CM-20050205. Basically, this package 
provides patches against the DSDT (in source form, as decompiled using 
the Intel compiler), that adds in the SBS-CM support. Full instructions 
are provided in the accompanying README file.

The following systems are "supported":

  *) Acer Extensa 3002WLMi
  *) Acer TravelMate 4000LMi
  *) Acer TravelMate 4001LMi
  *) Acer TravelMate 4001WLMi
  *) Acer TravelMate 4002LMi
  *) Acer TravelMate 4502LMi
  *) Acer TravelMate 4502WLMi
  *) Acer Extensa 3202XCi

I'm currently working on the Acer Aspire 1692WLMi, which already 
contains a broken SBS-CM implementation. The Acer TravelMate 382 and 
Ferrari 3400 also already contain SBS-CM implementations, but I'm not 
sure to what extent they work or not.

As well as the DSDT patches, I provide in the package my embedded 
controller patch, that improves the EC responsiveness by switching from 
spinlocks to semaphores. I've tried out the other patches mentioned 
recently on this list, but they either don't work, or reduce EC access 
rates to a crawl.

Note that battery events, including alarms, are properly handled; so you 
should get notifications in /proc/acpi/event when something interesting 
happens. In tandem with acpid, you can use these notifications to, e.g., 
shutdown your system when the battery gets low.

Bug reports, feature requests, etc, should be submitted using the 
SourceForge project page -- not to the acpi-devel list, since it would 
be a bit rude to flood the list with this stuff. But of course, general 
smart battery discussion should continue on acpi-devel.

Happy battery monitoring!

cheers,

Rich


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  parent reply	other threads:[~2005-02-06  2:19 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29 19:02 New SmartBattery DSDT-based controller Rich Townsend
     [not found] ` <41FBDDE2.1050403-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-01-29 22:41   ` Johan Vromans
     [not found]     ` <m27jlvx3i3.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-29 23:45       ` Rich Townsend
     [not found]         ` <41FC2022.2080804-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-01-30  9:17           ` Johan Vromans
     [not found]             ` <m2mzur6zt6.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-30 13:38               ` Rich Townsend
     [not found]                 ` <41FCE348.3010304-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-01-30 14:31                   ` Karol Kozimor
2005-01-30 15:00                   ` Matthew Garrett
2005-01-30 14:59   ` Matthew Garrett
2005-01-30 15:31     ` Rich Townsend
2005-01-30 19:40     ` Johan Vromans
2005-01-31 22:59     ` Pavel Machek
2005-01-30 15:15   ` Pedro Venda
2005-01-31  9:50   ` Johan Vromans
     [not found]     ` <m24qgyorl3.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-31 10:02       ` David Goodenough
     [not found]         ` <200501311002.36671.david.goodenough-6b45v/Ft3lbby3iVrkZq2A@public.gmane.org>
2005-01-31 12:16           ` Johan Vromans
     [not found]             ` <m2oef5oksl.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-02-06 21:40               ` Johan Vromans
2005-01-31 11:57       ` Rich Townsend
     [not found]         ` <41FE1D2D.8030006-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-01-31 12:16           ` Johan Vromans
2005-01-31 15:12   ` Bruno Ducrot
     [not found]     ` <20050131151235.GB1145-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-01-31 15:39       ` Johan Vromans
     [not found]         ` <m2k6ptobfm.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-31 15:44           ` Karol Kozimor
2005-01-31 15:52           ` Ville Syrjälä
2005-01-31 15:59           ` Bruno Ducrot
     [not found]             ` <20050131155935.GD1145-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-01-31 17:48               ` Johan Vromans
     [not found]                 ` <m2u0oxjxqe.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-31 18:30                   ` Bruno Ducrot
2005-01-31 16:34       ` Rich Townsend
     [not found]         ` <41FE5E29.9020308-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-01-31 16:54           ` Bruno Ducrot
2005-01-31 17:28           ` Karol Kozimor
2005-02-06  2:19   ` Rich Townsend [this message]
     [not found]     ` <42057EBE.5090102-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-06 13:33       ` sbs-linux: smart batteries on SourceForge (was New SmartBattery DSDT-based controller) François Valenduc
     [not found]         ` <42061CB8.5040205-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
2005-02-06 14:10           ` Olaf Jansen-Olliges
2005-02-06 17:28       ` sbs-linux: smart batteries on SourceForge Johan Vromans
     [not found]         ` <m28y61a98u.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-02-06 19:25           ` Johan Vromans
     [not found]             ` <m2oeex7ap2.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-02-06 19:29               ` Rich Townsend
     [not found]         ` <42066328.1080601@bartol.udel.edu>
2005-02-06 19:34           ` Johan Vromans
2005-02-07  9:32       ` Johan Vromans
     [not found]         ` <m23bw8zpdz.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-02-07 12:06           ` Rich Townsend
     [not found]             ` <420759DB.1000009-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-07 12:49               ` David Goodenough
     [not found]                 ` <200502071249.40300.david.goodenough-6b45v/Ft3lbby3iVrkZq2A@public.gmane.org>
2005-02-08 18:53                   ` Hendrik Jürgens
2005-02-06 21:42   ` New SmartBattery DSDT-based controller Johan Vromans
     [not found]     ` <m2mzuhz7pg.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-02-06 21:52       ` Rich Townsend
     [not found]         ` <42069196.707-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-07  9:27           ` Johan Vromans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42057EBE.5090102@bartol.udel.edu \
    --to=rhdt-obnux95toyn10jlvftc4ga@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox