From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 10 02:49:06 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FE5D16A4CE for ; Sat, 10 Apr 2004 02:49:06 -0700 (PDT) Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00CBA43D2D for ; Sat, 10 Apr 2004 02:49:06 -0700 (PDT) (envelope-from llwang@infor.ck.tp.edu.tw) Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001) id 26D2D928B; Sat, 10 Apr 2004 17:49:04 +0800 (CST) Date: Sat, 10 Apr 2004 17:49:04 +0800 From: "Li-Lun Wang (Leland Wang)" To: freebsd-mobile@freebsd.org Message-ID: <20040410094904.GA85443@Athena.infor.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: ThinkPad X31 Hibernation X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 09:49:06 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I recently got my new ThinkPad X31, which is the first laptop of my own. Having hw.pci.allow_unsupported_io_range=3D"1" being set and ACPI loaded, FreeBSD 5.2-CURRENT runs mostly happily. However, I am having problems about suspension (S3) and hibernation (S4). After setting hw.acpi.sleep_button_state=3DS3 hw.acpi.lid_switch_state=3DS3 hw.acpi.standby_state=3DS3 hw.acpi.suspend_state=3DS4 Fn-F4 seems to be working, but the LCD backlight does not turn off (it just blanks out). After resuming from S3, USB and firewire do not work. I tried to kill usbd and unload usb.ko before going to S3, but kldunload keeps telling me kldunload: can't unload file: Device not configured and refuses to unload it. If I have X running when entering S3, X hangs even I switched to console before sleeping. I tried options SC_NO_SUSPEND_VTYSWITCH but in vain. What is of more concern is that I can't have my hibernation work. I have created a hibernation partition using phdisk, but nothing happens when I press Fn-F12 under FreeBSD. If I use=20 acpiconf -s 4 to force it hibernate, it does look as if it is entering hibernation. The Moon LED flashes and then the power turns off in a few seconds. But when I press the power button and choose to boot FreeBSD in BootEasy (Is it normal that the boot manager still runs when waking up from hibernation? Windows seems to work this way...), it looks perfectly as if it is a normal boot-up, which means that it complains about not- properly-unmounted / and begins to do background fsck, and not like a wake-up at all. Am I missing some important points to do? Sincerely, Leland Wang --=20 /-------\ /-\ /--------\ \--\ /--/ | | \--\ /---/ | | /----/ \----\/--/ \---\ /-/ \-\ \----/ /----/\--\ /---/ \-\ /-/ / \ /--/ \---\ | | / /\ \ \--\ /---/ /\ /---/ \---\/-/ / \ \---\ | \----/ | \---------/\--/ \----/ \--------/ e-mail address: llwang@infor.org --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFAd8MQCQM7t5B2mhARAkNmAJ9oHimnlF4RoEjm0q5946n0ciyPcgCcCpyS I0uT3RWdIBlgvw4j8sAZ138= =pYyL -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--