Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 20:31:37 +0200
From:      Marcin Jessa <lists@yazzy.org>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Suspend/Resume not working on thinkpad T42
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jun 2005 13:26:40 -0400
David Scheidt <dscheidt@panix.com> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050617203137.4b4eb5f6.lists>