[ACPI-sppt] Re: No /proc/acpi with 2.6.0-test1 on IBM Thinkpad R32?!

Philipp Frauenfelder <[email protected]>
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Hi

On Wed, Jul 23, 2003 at 09:38:00AM +0200, pfrauenf wrote:
> I have a IBM Thinkpad R32 which shows no /proc/acpi:
> 
> pfrauenf@lappi:~> ls -lF /proc/acpi
> ls: /proc/acpi: No such file or directory
> 
> And I wonder if this is my fault, the fault of the kernel, the
> BIOS

I got a hint by PM stating that I should upgrade my BIOS. I have
now release 2.11 (2.01a before) from
http://www-3.ibm.com/pc/support/site.wss/MIGR-43571.html
and the ACPI stuff works more or less:

lappi:~# acpi -V
     Battery 1: unknown, 99%
     Thermal 1: ok, 58.0 degrees C
     Thermal 2: ok, 50.0 degrees C
  AC Adapter 1: on-line

That's ok. The sleep states availble through /proc/acpi/sleep do
not work. S4 and S5 simply seem to crash the machine. S3: The
notebook comes back but is no longer usable: X crashes and
without X, the keyboard is not working anymore, network is OK
though. The error messages for S3 in syslog are

Jul 24 13:50:56 lappi kernel: atkbd.c: Unknown key (set 2, scancode 0x9c, on isa0060/serio0) pressed.
Jul 24 13:50:53 lappi kernel: drivers/usb/host/uhci-hcd.c: 1840: host controller halted. very bad

both several dozen times (with slight modifications in the
numbers).

The CPU throttling in /proc/acpi/processor/CPU/throttling seems
to work:

lappi:~# cat /proc/acpi/processor/CPU/throttling
state count:             8
active state:            T0
states:
   *T0:                  00%
    T1:                  12%
    T2:                  25%
    T3:                  37%
    T4:                  50%
    T5:                  62%
    T6:                  75%
    T7:                  87%

lappi:~# ./bogoport
Calibrating delay loop... 2097.15 BogoMIPS
lappi:~# echo 3 > /proc/acpi/processor/CPU/throttling
lappi:~# ./bogoport
Calibrating delay loop... 1232.07 BogoMIPS
lappi:~# echo 7 > /proc/acpi/processor/CPU/throttling
lappi:~# ./bogoport
Calibrating delay loop... 198.24 BogoMIPS

( bogoport is from
  http://thibs.menloschool.org/~djwong/programs/bogomips/ )

I am using /proc/acpi/processor/CPU/limit now to reduce power
consumption when off AC a little bit. Having a sleep state would
be even better (for lid switch action).

Thanks for the help.

Regards
-- 
Philipp      | work: [email protected]  +41 1 632 60 38
Frauenfelder | home: [email protected]    +41 1 862 73 14
[PGP]        | http://www.math.ethz.ch/~pfrauenf/
Proudly running Debian GNU/Linux. See http://www.debian.org/


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.