From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 26 07:19:49 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 10ED116A4CE for ; Mon, 26 Apr 2004 07:19:49 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id B655F43D2D for ; Mon, 26 Apr 2004 07:19:48 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id CDAF53D32; Mon, 26 Apr 2004 10:19:47 -0400 (EDT) From: "Dan Langille" To: James Snow Date: Mon, 26 Apr 2004 10:19:47 -0400 MIME-Version: 1.0 Message-ID: <408CE243.19034.2E0AC3D1@localhost> Priority: normal In-reply-to: <20040426132500.GA29068@teardrop.org> References: <408CCC5C.10100.2DB5329B@localhost> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-mobile@freebsd.org Subject: Re: suspend/resume on T22 running 5.2.1 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: Mon, 26 Apr 2004 14:19:49 -0000 On 26 Apr 2004 at 9:25, James Snow wrote: > On Mon, Apr 26, 2004 at 08:46:20AM -0400, Dan Langille wrote: > > > > I've recently starting using suspend/resume on my ThinkPad > > T22. I've found that running "acpiconf -s S3" works > > well. After finding that my mouse did not function > > after resume, I added 'hints.psm.0.flags="0x2000"' to > > /boot/device/hints. The mouse now functions after resume. > > Are you using moused or an external mouse? I have X > accessing the pointer at the center of the keyboard directly > via /dev/psm0 on my T22 and it's always come back fine after > a suspend/resume. I am using moused: /usr/sbin/moused -3 -p /dev/psm0 -t auto > > My next goal is to find a way to easily restore wi0 and > > the default route after resume. > > I'd be interested to see where you get with this. My ath0 > goes away on suspend and won't come back until the card is > removed and reinserted. I suspect that writing a little script will be what's needed. I think what I really want to get working is hibernate. My understanding is suspend just puts you to sleep: battery power is still used. Hibernation actually saves stuff to disk and restores from that later. The advantage to hibernation is that it does not use battery power. -- Dan Langille : http://www.langille.org/ BSDCan - http://www.bsdcan.org/