From owner-freebsd-current Mon Sep 2 2:52:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54BA037B401 for ; Mon, 2 Sep 2002 02:52:23 -0700 (PDT) Received: from sanne.nlnetlabs.nl (sanne.nlnetlabs.nl [213.53.69.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A70643E65 for ; Mon, 2 Sep 2002 02:52:22 -0700 (PDT) (envelope-from ted@sanne.nlnetlabs.nl) Received: from sanne.nlnetlabs.nl (localhost.nlnetlabs.nl [127.0.0.1]) by sanne.nlnetlabs.nl (8.12.5/8.12.5) with ESMTP id g829qKLm050750 for ; Mon, 2 Sep 2002 11:52:20 +0200 (CEST) (envelope-from ted@sanne.nlnetlabs.nl) Received: (from ted@localhost) by sanne.nlnetlabs.nl (8.12.5/8.12.5/Submit) id g829qK1Q050749 for freebsd-current@freebsd.org; Mon, 2 Sep 2002 11:52:20 +0200 (CEST) Date: Mon, 2 Sep 2002 11:52:20 +0200 (CEST) From: Ted Lindgreen Message-Id: <200209020952.g829qK1Q050749@sanne.nlnetlabs.nl> To: freebsd-current@freebsd.org Subject: CPU slowdown using ACPI on a Toshiba Portege 7220cte Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Some experiences with ACPI and APM on a Toshiba Portege 7220cte. Interesting is the extreme CPU slow-down after suspend/resume using ACPI. Running current, (cvsup-ed Aug. 30). A fixed-up ASL (similar to the Tecra8200.asl diff from Mitsuru IWASAKI) is used with acpi_dsdt_load="YES" in /boot/loader.conf. I have "device apm" in the kernelconfig, so that I can easily switch between APM and ACPI with "hint.acpi.0.disable=1/0" in /boot/loader.conf. With ACPI: - At first everything seems to work allright, screen darkening, suspend/resume, batterie state, etc. - However, it turns out that after a suspend/resume the system runs extremely slow: xengine, normally at 1800-1900 RPM, drops to 100-150 RPM. Sofar, I've only been able to restore the normal performance by rebooting. - Connecting/removing power produces a kernel-logmessage: system power profile changed to "performance/economy" but does not seem to have any other effect. - Using "Fn-F2", which normally switches between 3 power-states (low, user-setting, and high) does not work. The other "Fn-Fx" functions do work. - A minor problem is that X-screen darkening does not switch off the backlight, whether or not DPMS is specified in the XF86Config. (Using "Fn-F1" does turn off the backlight, so that's a fine workaround). - I have used the standard and the fixed-up ASL, but I have seen no difference besides kernel logmessages like: ACPI: DSDT was overridden. Using APM: - Suspending in X freezes the system. I've not found any way out of that, other than hard resetting the system. - Suspending in a vty-screen does works. So, having "vidcontrol" in rc.suspend/rc.resume makes suspend/resume work fine. - There is no slowdown after suspend/resume. - In contrast to ACPI above, the "Fn-F2" works fine. In high-power mode xengine runs at 1800-1900 RPM, in low-power mode it slows down to 800-900 RPM. In user-setting it depend on what is set, but I have not been able to reproduce the extreme slow-down as when running ACPI. - Like ACPI above, connecting/removing power produces a logmessage, but nothing else. - Like ACPI above, X-screen darkening does not switch off the backlight, whether or not DPMS is specified. - The "apm" command produces somewhat different output running APM, than running ACPI: with APM it shows the APM capabilities, with ACPI it says "unknown". And when running on external power, onder APM it shows battery status and remaining time, while under ACPI this is "unknown". However, when running on battery-power, status and life work both under APM and ACPI. If I can do any other tests or try out anything, please ask. Regards, -- ted To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message