From: Luca Capello <luca-wlebWZzHoyE@public.gmane.org>
To: ML ACPI-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Cc: Yannick Chabanois <ycarus-nMPBK4rpgxgiq3RsQ1AnAw@public.gmane.org>
Subject: Re: ASUS M6800N: battery0 not present
Date: Thu, 04 Mar 2004 15:12:45 +0100 [thread overview]
Message-ID: <4047395D.6000500@pca.it> (raw)
In-Reply-To: <40324F44.60006-wlebWZzHoyE@public.gmane.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I found on Jan Philipp Giel report
http://fsai.fh-trier.de/~gielj/M6800N/
a new DSDT which solve the battery problem with the new BIOS 0205A. This new
DSDT was hacked by Ycarus, here the first lines from the .dsl version:
=====
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20030918
*
* Disassembly of dsdt.dat, Tue Mar 2 23:05:23 2004
*
* Modified version of DSDT from Asus M6800N bios version 0205A
* This version now report battery state under Linux.
* Bug : Ac_adapter state is always off-line
* Modified version by Ycarus (Yannick Chabanois)
* chabanois(at)ifrance.com
*
*/
=====
I just tried it on 2.6.3 + ACPI 20040220 + ACPI DSDT in initrd 2.6.1 and now the
battery0 is read correctly:
=====
luca-HSB4nKSusd8@public.gmane.org:~$ dmesg | grep battery
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Battery Slot [BAT1] (battery absent)
luca-HSB4nKSusd8@public.gmane.org:~$ cat /proc/acpi/battery/BAT0/alarm
alarm: unsupported
luca-HSB4nKSusd8@public.gmane.org:~$ cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 4300 mAh
last full capacity: 4300 mAh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 130 mAh
design capacity low: 21 mAh
capacity granularity 1: 52 mAh
capacity granularity 2: 2418 mAh
model number: M6N
serial number: 00001
battery type: LIon
OEM info: ASUSTek
luca-HSB4nKSusd8@public.gmane.org:~$ cat /proc/acpi/battery/BAT0/state [if on AC mode]
present: yes
capacity state: ok
charging state: discharging
present rate: unknown
remaining capacity: 4456 mAh
present voltage: 16649 mV
luca-HSB4nKSusd8@public.gmane.org:~$ cat /proc/acpi/battery/BAT0/state [if on battery mode]
present: yes
capacity state: ok
charging state: discharging
present rate: 1320 mA
remaining capacity: 4455 mAh
present voltage: 16406 mV
luca-HSB4nKSusd8@public.gmane.org:~$
=====
IMHO someone should send this hacked DSDT to ASUS in order to have a new BIOS
version which doesn't need an hacked DSDT, am I right? Could this be useful?
Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFARzlZVAp7Xm10JmkRAqyEAJ9G4G3Yv83nHaGoqmTSa9RQW0t+uACgjexW
oIriGQXghKzcdpHEAfDgxGk=
=0n5Z
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
next prev parent reply other threads:[~2004-03-04 14:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-17 17:28 ASUS M6800N: battery0 not present Luca Capello
[not found] ` <40324F44.60006-wlebWZzHoyE@public.gmane.org>
2004-02-17 20:43 ` Jan Philipp Giel
[not found] ` <200402172143.27818.gielj-TFexGAE6Ty5xRhk+k0m/rQ@public.gmane.org>
2004-02-18 10:55 ` Luca Capello
2004-02-18 7:52 ` Andre Messerschmidt
[not found] ` <200402180852.16189.a.messerschmidt-hi6Y0CQ0nG0@public.gmane.org>
2004-02-18 11:11 ` Luca Capello
[not found] ` <40334874.6000109-wlebWZzHoyE@public.gmane.org>
2004-02-18 18:31 ` Andre Messerschmidt
2004-02-18 17:13 ` Luca Capello
2004-03-04 14:12 ` Luca Capello [this message]
2004-03-04 14:39 ` Jan Philipp Giel
[not found] ` <002401c401f6$8cfcd920$3a392886-NmZw/y+ms+s@public.gmane.org>
2004-03-20 11:05 ` Luca Capello
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=4047395D.6000500@pca.it \
--to=luca-wlebwzzhoye@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ycarus-nMPBK4rpgxgiq3RsQ1AnAw@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.