From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 10 04:38:14 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 6224616A4CE for ; Sat, 10 Apr 2004 04:38:14 -0700 (PDT) Received: from ns1.interbgc.com (mail.interbgc.com [217.9.224.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 0891D43D39 for ; Sat, 10 Apr 2004 04:38:13 -0700 (PDT) (envelope-from nike_d@cytexbg.com) Received: (qmail 96911 invoked from network); 10 Apr 2004 11:38:11 -0000 Received: from nike_d@cytexbg.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.1.60/v4335. spamassassin: 2.63. Clear:SA:0(-4.9/8.0):. Processed in 0.703933 secs); 10 Apr 2004 11:38:11 -0000 X-Spam-Status: No, hits=-4.9 required=8.0 Received: from 213-240-206-214.ddns.cablebg.net (HELO tormentor.totalterror.net) (213.240.206.214) by mail.interbgc.com with SMTP; 10 Apr 2004 11:38:10 -0000 Received: (qmail 69730 invoked by uid 1006); 10 Apr 2004 11:40:28 -0000 Received: from nike_d@cytexbg.com by tormentor.cytexbg.com by uid 1003 with qmail-scanner-1.15 (sweep: 2.14/3.62. Clear:. Processed in 2.834095 secs); 10 Apr 2004 11:40:28 -0000 Received: from unknown (HELO phobos.totalterror.net) (10.0.0.6) by tormentor.totalterror.net with SMTP; 10 Apr 2004 11:40:25 -0000 References: <20040410094904.GA85443@Athena.infor.org> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Niki Denev To: "Li-Lun Wang (Leland Wang)" Date: Sat, 10 Apr 2004 14:38:07 +0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: 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 11:38:14 -0000 Li-Lun Wang (Leland Wang) writes: > Hi, > > I recently got my new ThinkPad X31, which is the first laptop of my own. > Having > hw.pci.allow_unsupported_io_range="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=S3 > hw.acpi.lid_switch_state=S3 > hw.acpi.standby_state=S3 > hw.acpi.suspend_state=S4 > 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 > 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 > > -- > /-------\ /-\ /--------\ > \--\ /--/ | | \--\ /---/ > | | /----/ \----\/--/ \---\ > /-/ \-\ \----/ /----/\--\ /---/ > \-\ /-/ / \ /--/ \---\ > | | / /\ \ \--\ /---/ /\ > /---/ \---\/-/ / \ \---\ | \----/ | > \---------/\--/ \----/ \--------/ > e-mail address: llwang@infor.org I'm experiencing the same problems with my X31, after suspend the screen blanks, and actually turns off the backlight but only for a few seconds, then the backlight turns on again... even when the lid is closed.... And for the hibernation thing, i don't believe that you can make it work, it seems that the newer thinkpads, don't have bios assisted S4 state, (hw.acpi.s4bios). That in my understanding means that the machine relies on the host operating system to do the hibernation. And as far as i know, this works only under Windows XP. --niki