From owner-acpi-jp@jp.freebsd.org  Thu Nov 22 23:24:30 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id XAA01134;
	Thu, 22 Nov 2001 23:24:30 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id XAA01128
	for <acpi-jp@jp.freebsd.org>; Thu, 22 Nov 2001 23:24:29 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92])
	(authenticated as iwa with CRAM-MD5)
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id fAMEOEW66681;
	Thu, 22 Nov 2001 23:24:14 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Thu, 22 Nov 2001 23:24:10 +0900 (JST)
Message-Id: <20011122.232410.74757488.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.freebsd.org, mark@grondar.za
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
In-Reply-To: <200111221043.fAMAhBN35624@grimreaper.grondar.org>
References: <200111221043.fAMAhBN35624@grimreaper.grondar.org>
X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1480
Subject: [acpi-jp 1480] Re: Toshiba Libretto 110CT ACPI funnies
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: iwasaki@jp.freebsd.org

Hi,

Thanks for reporting.

> ACPI is working (sort of) on my Libretto 110CT. If I hit the
> power-off button on the cover, it shuts down nicely.
> 
> I can make the machine sleep or suspend with acpiconf, but the
> only way to wake it up is with the power button. If I do this,
> it wakes up normally, and then promptly powers off (nicely)!

Last time we had this problem with old acpi driver, and added
workaround for it ignoring power button event for 5 (or 10? not sure)
seconds after wakeup.
I think we probably need the same kind hack for some laptops.
I'll try to make it later.

> Also, there is no way to make it sleep by closing the cover.
> 
> Any ideas? What do I need to provide?

I have Libretto 110CT ACPI BIOS data and it seems there is a LID device.
I think you can configure sleep state for LID switch by something like
 # sysctl hw.acpi.lid_switch_state=S3

maybe your dmesg and sysctl hw.acpi output would be helpful.

Thanks
