Suspend/Resume not working on thinkpad T42

Marcin Jessa lists at yazzy.org
Fri Jun 17 18:31:40 GMT 2005


On Fri, 17 Jun 2005 13:26:40 -0400
David Scheidt <dscheidt at 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




More information about the freebsd-mobile mailing list