Suspend/Resume on Thinkpad x40
smithi at nimnet.asn.au
Fri Aug 21 02:58:31 UTC 2009
On Thu, 20 Aug 2009 14:03:29 -0500 Joe Snikeris <joe at snikeris.com> wrote:
> First off, I apologize if this is not the right forum for this
> question. I was torn between posting this in mobile, ACPI, X11 and
> here. If I might get a better response in one of those forums, please
> let me know and I'll post there instead.
I suspect -mobile might be the best list for this one, perhaps -acpi
but that's usually more about development than usage. You might try
searching the archives of either for mention of the X40.
> I'm having some trouble getting the kinks worked out of the
> suspend/resume functionality on my laptop, an IBM Thinkpad X40. It is
> mostly working now, but I am still experiencing some strange behavior.
> I can suspend and resume from a console just fine (except for the
> fact that the console comes up blank and only displays new
> characters); however, suspending and resuming in X is problematic.
> The first suspend and resume in X works perfectly, but the next time I
> hit suspend, the machine locks up while still displaying whatever I
> was doing in X. Note that if I switch to a virtual terminal before
> hitting suspend, this problem does not occur. Does anyone have any
> suggestions on what I might do to get this resolved? The details of
> my machine follows; please let me know if any additional information
> would be helpful.
My T23 requires hw.syscons.sc_no_suspend_vtswitch=1 to suspend/resume
cleanly (7.0), so does my old Compaq Armada (but that's APM, not ACPI)
> > uname -a
> FreeBSD sussman.snikeris.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0:
> Wed Jun 24 00:57:44 UTC 2009
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
> > cat /boot/loader.conf
> # Disable boot menu
> # Needed for firefox to display certain HTML5 elements
> # Needed so we can resume from suspend w/ a working display.
> # Needed so mouse will work on resume
> # Possibly needed for successful resume
That might be one to try either way, with other combinations.
> # Needed for sound
> # Needed for wireless (iwi)
> # Needed for 3d graphics acceleration
> # Needed for cdrecord to work
> # See 'man acpi_ibm'
I've found that vesa_load="YES" helps on my T23 especially if suspending
from a VT rather than in X, referring to your 'console comes up blank.'
Something to try anyway, and I don't think it ever hurts.
> > cat /etc/rc.conf
> # -- sysinstall generated deltas -- # Sat Jul 4 11:10:49 2009
> # Created: Sat Jul 4 11:10:49 2009
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> # Set by sysinstall
> # Allow X to locate mouse and keyboard automatically using HAL
> > cat /etc/sysctl.conf
> # $FreeBSD: src/etc/sysctl.conf,v 188.8.131.52 2009/04/15 03:14:26 kensmith Exp $
> # This file is read when going to multi-user and its contents piped thru
> # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
> # Uncomment this to prevent users from seeing information about processes that
> # are being run under another UID.
If hw.syscons.sc_no_suspend_vtswitch=1 is no help, I'd try -mobile ..
More information about the freebsd-questions