From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 17 18:31:40 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 379FF16A41C for ; Fri, 17 Jun 2005 18:31:40 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA64143D4C for ; Fri, 17 Jun 2005 18:31:39 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from localhost (unknown [192.168.99.10]) by mail.yazzy.org (Postfix) with SMTP id E09D739812 for ; Fri, 17 Jun 2005 20:32:10 +0200 (CEST) Date: Fri, 17 Jun 2005 20:31:37 +0200 From: Marcin Jessa To: freebsd-mobile@freebsd.org Message-Id: <20050617203137.4b4eb5f6.lists@yazzy.org> In-Reply-To: <20050617172640.GA17819@panix.com> References: <20050616213320.GA12473@panix.com> <20050616215348.GA2611@holestein.holy.cow> <20050616224900.GA19527@panix.com> <20050617094453.38ca1b89.lists@yazzy.org> <20050617172640.GA17819@panix.com> Organization: YazzY.org X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Suspend/Resume not working on thinkpad T42 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 18:31:40 -0000 On Fri, 17 Jun 2005 13:26:40 -0400 David Scheidt wrote: > On Fri, Jun 17, 2005 at 09:44:53AM +0200, Marcin Jessa wrote: > > I had the same problem when my R50e was suspended with the iwi module loaded. > > The laptop did not respond even though it seemed to resume. > > When I suspended my laptop without the module I could resume it just fine from X and back to X. > > Try to disable some of your devices and suspend your laptop. > > Maybe my notes on R50e can help as well: > > http://www.yazzy.org/configs/freebsd/thinkpad/ > > Stoping dhclient on iwi0, downing the interface, and unloading if_iwi > in /etc/rc.suspend (and doing the reverse in rc.resume) seems to make > resume work. Is closing the lid (with hw.acpi.lid_switch_state=S3, of > course) supposed to call rc.suspend? It doesn't seem to be. It's not > a big deal, as I can get devd to do the right thing, I think. I really hate when people hardcode things like that. It closes the window for changes in the /etc when you want to e.g make your own custom embedded system and dont need 99.9% of the files in /etc. One can of course recompile the code with custom changes but...Anyway, how do you solve that hw.acpi.lid_switch_state=S3 issue? I disabled it myself since I dont want my laptop to get suspended every time i close the screen. But I am curious about your devd trick. Cheers, Marcin