Skip to contentSkip to conversation

Status of ACPI on IBM T40p

DISCUSSION Alexander Gran 4 participants 4 messages Feb 4, 2004 – Feb 19, 2004 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just gave ACPI an other try this night. This are my results:
I used linux-2.6.2-rc3-mm1 on a T40p 2373-G1G.
Config: http://zodiac.dnsalias.org/misc/262-rc3-mm1.acpi.config
Errors: http://zodiac.dnsalias.org/misc/syslog.acpi
lspci -v (on APM kernel): http://zodiac.dnsalias.org/misc/lspci

Booting is ok. All ACPI modules load without warning, only the relaxed AML seems to be needed.
What's working:
Battery monitoring, thermal monitoring, ac-adapter, lid-button are all ok. The sound-system survives a suspend. Great.
laptop_mode is in this kernel, finally. Cool, Andrew!
Fan isn't recognized. Power-button is recognized, but gives no events. C-states are not working right:
The CPU has C0-C3. C0 is full speed, the rest is slower. According to the ACPI documentation the CPU should switch automagically to the slower modes after some time of inactivaty. However it cannot controll busmaster PCI transfers in C3. Now some driver doesn't gets busmaster right, and due to this, the cpu never go's to C3 [Hope I got this right, I am no acpi master..](my went to C3 after some fiddeling with suspend (see later) and the PCI-Bus crashed, hence I know. If my CPU uses C3, laptop_mode and backlight mostly dimmed, I reached 5h+ :)
Other things that don't work:
When suspending, the USB-drivers don't get it right, and do not work after resuming. Unloading them before suspending and loading them afterwards doesn't help either. Additionally there seems to be issues with the PCI bus. I got random errors (everything between kernel-oops, error-loops and warnings) when reinserting the uhci_hcd module.
After resuming my power LED is not switched on (not so problematic), and the notebook doesn't ask for a password (Really problematic).
The e1000 module still needs the unload/load procedure.

Hope I'm right on this list. Tell me If I'd cc to an other one, please. Include my in your cc's please, as I'm not reading this list.

regards
Alex

- --
Some operating systems are called `user friendly',
Linux however is `expert friendly'.
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIPyk/aHb+2190pERAjhgAKCkYnYnJcTJMFQc7YY4sGNWRVh4dwCgkdQX hAR99v74cSPS4JsYv+vuz54=
=I96u
-----END PGP SIGNATURE-----

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#2 lore raw
In reply to a message not in the archive

Interesting, I have the exact opposite problem. According to the power states:

active state:            C2
default state:           C1
bus master activity:     02000008

states:
C1: promotion[C2] demotion[--] latency[000]
usage[00000010]
*C2: promotion[C3] demotion[C1] latency[001] usage[01048795]
C3: promotion[--] demotion[C2] latency[085] usage[01977750]

As you can see, my Thinkpad T41 rarely goes higher than C2, even when a program is using 100% or compiling or something along those lines.

Quoted 1 line

The CPU has C0-C3. C0 is full speed, the rest is slower. According to the ACPI documentation the CPU should switch automagically to the slower modes after some time of inactivaty. However it cannot controll busmaster PCI transfers in C3. Now some driver doesn't gets busmaster right, and due to this, the cpu never go's to C3 [Hope I got this right, I am no acpi master..](my went to C3 after some fiddeling with suspend (see later) and the PCI-Bus crashed, hence I know. If my CPU uses C3, laptop_mode and backlight mostly dimmed, I reached 5h+ :)

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#3 lore raw
Quoted 13 lines · Ari Pollak

Interesting, I have the exact opposite problem. According to the power states:

active state:            C2
default state:           C1
bus master activity:     02000008

states:
C1: promotion[C2] demotion[--] latency[000]
usage[00000010]
*C2: promotion[C3] demotion[C1] latency[001]
usage[01048795]
C3: promotion[--] demotion[C2] latency[085] usage[01977750]

Quoted 2 lines

As you can see, my Thinkpad T41 rarely goes higher than C2, even when a program is using 100% or compiling or something along those lines.

Could you send me the output of acpidmp, please ?

wget ftp://ftp.kernel.org//pub/linux/kernel/people/lenb/acpi/utils/pmtools-20031210.tar.bz2 tar xjvfp pmtools-20031210.tar.bz2
cd pmtools-20031210/acpidmp
make
sudo ./acpidmp > acpidmp.out
bzip2 acpidmp.out

Then mail me the acpidmp.out.bz2

Cheers,

Signature · 11 lines
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
#5 lore raw
In reply to a message not in the archive

Hi!

Quoted 11 lines
active state:            C2
default state:           C1
bus master activity:     02000008

states:
C1: promotion[C2] demotion[--] latency[000]
usage[00000010]
*C2: promotion[C3] demotion[C1] latency[001]
usage[01048795]
C3: promotion[--] demotion[C2] latency[085]
usage[01977750]

Quoted 2 lines

As you can see, my Thinkpad T41 rarely goes higher than C2, even when a program is using 100% or compiling or something along those lines.

That's okay: if your C2 takes 1usec to enter, there's little point in using C1. So during compilation you are using C0 and C2. Seems ok.
Pavel

Signature · 9 lines
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click