From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 26 05:46:21 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 DBF4F16A4CE for ; Mon, 26 Apr 2004 05:46:21 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C4D543D39 for ; Mon, 26 Apr 2004 05:46:21 -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 830093D32 for ; Mon, 26 Apr 2004 08:46:20 -0400 (EDT) From: "Dan Langille" To: freebsd-mobile@freebsd.org Date: Mon, 26 Apr 2004 08:46:20 -0400 MIME-Version: 1.0 Message-ID: <408CCC5C.10100.2DB5329B@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: 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 12:46:22 -0000 Hi, 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. I also added this to /etc/sysctl.conf # do not sleep when the lid is closed hw.acpi.lid_switch_state=S0 # do not power up again when powered off hw.acpi.disable_on_poweroff=0 My next goal is to find a way to easily restore wi0 and the default route after resume. Issuing the following commands after resume fixes networking: sh /etc/start_if.wi0 # restores SSID etc kill -TERM `cat /var/run/dhclient.pid` # kill existing dhclient dhclient wi0 Any suggestion? cheers -- Dan Langille : http://www.langille.org/ BSDCan - http://www.bsdcan.org/