* Compaq 1700T dsdt
@ 2003-02-05 1:37 Constantinos Antoniou
[not found] ` <1044409039.1642.17.camel-coIz1MXBdV0@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Constantinos Antoniou @ 2003-02-05 1:37 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hello,
Please excuse the very long message... I wanted to ask about three
somewhat related issues, but did not know whether I should split them
into more messages.
I have a Compaq 1700T and I can say that overall it has proved extremely
linux friendly. ACPI of course is a different story. I am currently
running 2.4.20+acpi-20021212, and finally I see some things under
/proc/acpi. However, I have not been able to go far beyond that.
[Just as a statement I would like to ultimately have to capabilities:
1. see the battery status, so -while on battery- I can know when it is
about to drain and have the option to shutdown gracefully, (this should
be doable)
2. be able to somehow sleep/suspend/hibernate the machine (avoid having
to boot/shutdown every time I need to use it). This is probably
trickier, and I would appreciate suggestions on what could be done at
this point (under basic assumptions like: I would rather not run
unstable kernels, etc).
I disassembled my dsdt (you can have a look at it at:
http://mit.edu/costas/www/CAdsdt.dsl)
./iasl -d /proc/acpi/dsdt (had to do this as root, as dsdt was read
only for the root only)
then
./iasl -tc ./dsdt.dsl
The good news is that I only got warnings:
==================
[costas@localhost iasl-linux-20030123]$ ./iasl -tc ./dsdt.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030122 [Jan 23
2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b
./dsdt.dsl 845: Name (PSIZ, 0x00)
Warning 2079 - Statement is unreachable ^
./dsdt.dsl 2923: Method (_GLK, 1,
NotSerialized)
Warning 2024 - ^ Reserved method
has too many arguments ( _GLK requires 0)
./dsdt.dsl 4516: Method (_WAK, 1, NotSerialized)
Warning 2026 - ^ Reserved method must return a value
(_WAK)
ASL Input: ./dsdt.dsl - 4890 lines, 176234 bytes, 2364 keywords
AML Output: DSDT.aml - 21722 bytes 645 named objects 1719 executable
opcodes
Compilation complete. 0 Errors, 3 Warnings, 0 Remarks, 625 Optimizations
[costas@localhost iasl-linux-20030123]$
===========================
I have found hints on how to fix warning 2026
(http://www.cpqlinux.com/acpi-howto.html#fix_broken_dsdt), but nothing
on the other two. Is it critical that they are fixed?
Also, under /proc/acpi/battery, I have a directory CMB0. Shouldn't this
be BAT0 or sth?
[costas@localhost CMB0]$ more state
present: yes
capacity state: ok
charging state: unknown <=== shouldn't it know it
is charging?
present rate: 0 mW
remaining capacity: 3474 mWh
present voltage: 16742 mV
[costas@localhost CMB0]$ more info
present: yes
design capacity: unknown
last full capacity: unknown
battery technology: rechargeable
design voltage: unknown
design capacity warning: 800 mWh
design capacity low: 16 mWh
capacity granularity 1: 100 mWh
capacity granularity 2: 100 mWh
model number: BAT1
serial number: 0000
battery type: LION
OEM info: COMPAQ
[costas@localhost CMB0]$
If I understand correctly, to make the machine sleep, I need to send a
number to the /proc/acpi/sleep?
[Where could I find a description of what each step is supposed to do?
My machine for example claims it supports S0, S1, S4, and S5...]
Also, a possibly naive/stupid question: Assuming I suspend/put to sleep
the machine, how would I bring it back? Press the power button?
Thanks in advance for any help (and for reading thus far, anyway! ;)
Costas
--
Constantinos Antoniou
Ph.D. Candidate
Massachusetts Institute of Technology
Intelligent Transportation Systems Program
77 Massachusetts Ave., NE20-208, Cambridge, MA 02139
(T) 617-252-1113 * (F) 617-252-1130 * (email) costas-3s7WtUTddSA@public.gmane.org
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Compaq 1700T dsdt
[not found] ` <1044409039.1642.17.camel-coIz1MXBdV0@public.gmane.org>
@ 2003-02-05 2:17 ` Adachi, Kenichi
[not found] ` <002401c2ccbc$b6745370$0e4425db-F8JvWDuGsZU@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Adachi, Kenichi @ 2003-02-05 2:17 UTC (permalink / raw)
To: 'Constantinos Antoniou',
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
A quick answer for part of your questions:
> Also, under /proc/acpi/battery, I have a directory CMB0.
> Shouldn't this be BAT0 or sth?
(Even though there was a couple of argument), current code simply picks
up the characters your ACPI BIOS names the battery device in DSDT.
And it's "Device (CMB0)" in your DSDT.
Thanks,
- Adachi, Kenichi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compaq 1700T dsdt
[not found] ` <002401c2ccbc$b6745370$0e4425db-F8JvWDuGsZU@public.gmane.org>
@ 2003-02-13 8:11 ` Ducrot Bruno
[not found] ` <20030213081155.GU25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Ducrot Bruno @ 2003-02-13 8:11 UTC (permalink / raw)
To: Adachi, Kenichi
Cc: 'Constantinos Antoniou',
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, Feb 05, 2003 at 11:17:15AM +0900, Adachi, Kenichi wrote:
> A quick answer for part of your questions:
>
> > Also, under /proc/acpi/battery, I have a directory CMB0.
> > Shouldn't this be BAT0 or sth?
>
> (Even though there was a couple of argument), current code simply picks
> up the characters your ACPI BIOS names the battery device in DSDT.
> And it's "Device (CMB0)" in your DSDT.
>
CMB0 in fact is more appropriate than BAT0.
It stand for 'Control Method Battery'
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Compaq 1700T dsdt
[not found] ` <20030213081155.GU25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
@ 2003-02-13 9:59 ` Adachi, Kenichi
0 siblings, 0 replies; 4+ messages in thread
From: Adachi, Kenichi @ 2003-02-13 9:59 UTC (permalink / raw)
To: 'Ducrot Bruno'
Cc: 'Constantinos Antoniou',
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi Bruno,
JP PC vendors (AFA I can tell you, SONY/Fujitsu/Panasonic/NEC's certain
laptops) prefer BATx style, even though they expose battery as Control
Method Battery. Probably this is because of one particular BIOS vendor's
taste. Even Toshiba recently starts using P's BIOS,,,
Incidentally have you ever seen the laptop whose battery is fully
implemented as Smart Battery and BIOS does describe battery device as
such? The 1st 2 Questions of FAQ at ACPI official site (
http://www.acpi.info/acpi_faq.htm --- looks out of date, though )
address SBS, but I've never seen the real world implementation. I
remember some web site (URL forgotten --- probably at
developer.intel.com or www.sbs-forum.org ) indicates Intel actually has
the one. I believe several battery devices already have full capability
to satisfy all the SBS requirements and are ready to hit the road...
Thanks,
- Adachi, Kenichi
> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
> Ducrot Bruno
> Sent: Thursday, February 13, 2003 5:12 PM
> To: Adachi, Kenichi
> Cc: 'Constantinos Antoniou'; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] Compaq 1700T dsdt
>
>
> On Wed, Feb 05, 2003 at 11:17:15AM +0900, Adachi, Kenichi wrote:
> > A quick answer for part of your questions:
> >
> > > Also, under /proc/acpi/battery, I have a directory CMB0.
> > > Shouldn't this be BAT0 or sth?
> >
> > (Even though there was a couple of argument), current code
> simply picks
> > up the characters your ACPI BIOS names the battery device in DSDT.
> > And it's "Device (CMB0)" in your DSDT.
> >
>
> CMB0 in fact is more appropriate than BAT0.
>
> It stand for 'Control Method Battery'
>
> --
> Ducrot Bruno
>
> -- Which is worse: ignorance or apathy?
> -- Don't know. Don't care.
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-13 9:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 1:37 Compaq 1700T dsdt Constantinos Antoniou
[not found] ` <1044409039.1642.17.camel-coIz1MXBdV0@public.gmane.org>
2003-02-05 2:17 ` Adachi, Kenichi
[not found] ` <002401c2ccbc$b6745370$0e4425db-F8JvWDuGsZU@public.gmane.org>
2003-02-13 8:11 ` Ducrot Bruno
[not found] ` <20030213081155.GU25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-02-13 9:59 ` Adachi, Kenichi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox