From owner-freebsd-questions@FreeBSD.ORG Thu Aug 20 19:03:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62776106568D for ; Thu, 20 Aug 2009 19:03:31 +0000 (UTC) (envelope-from snikeris@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id E10968FC62 for ; Thu, 20 Aug 2009 19:03:30 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so60704eye.7 for ; Thu, 20 Aug 2009 12:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xFlFKr2bpw4ahOJjelxfm4Qk44nw5Iq9+VwsTKZkw8M=; b=wfZxATLWfX9u7I4HVLoc+wnmaaw0CTyQLVoGEvilMPpdPdH1juNoS5Z3QASEITf1vt 61R/ljtJxUs4obZfny8ogg9C8yYI6JP/+da/bnf8JNv8FLqIwwDIVtnC/Vx1eZULZqZ0 DOhHjc09KzWxHrQPxldXN/sEFofE5GcfBPQx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=A5QH4bfRq0knr/9FuJ5HEHwoLrCc55YAQwFdEkM4Rmf5iY5k1x1UG6mZT6zYT8vpUJ KPZbHF5gGyTX+C6tdax5ptRynka821EQ7rSEL7qpxV7W5VNmA6+a9k48110/QGnX7639 dxQK+A9jd3UmgB/XvyAwEP6rea//SW5bVsMow= MIME-Version: 1.0 Sender: snikeris@gmail.com Received: by 10.216.85.144 with SMTP id u16mr32110wee.3.1250795009295; Thu, 20 Aug 2009 12:03:29 -0700 (PDT) Date: Thu, 20 Aug 2009 14:03:29 -0500 X-Google-Sender-Auth: 7f8efffd11319743 Message-ID: <20b8a1c50908201203h7a9eb290l80d821fde5ee48eb@mail.gmail.com> From: Joe Snikeris To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Suspend/Resume on Thinkpad x40 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 19:03:31 -0000 Hi all, 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'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. > 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@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > cat /boot/loader.conf # Disable boot menu beastie_disable="YES" autoboot_delay=-1 # Needed for firefox to display certain HTML5 elements sem_load="YES" # Needed so we can resume from suspend w/ a working display. hw.acpi.reset_video=1 # Needed so mouse will work on resume hint.psm.0.flags="0x3000" # Possibly needed for successful resume hint.apic.0.disabled=1 # Needed for sound snd_ich_load="YES" # Needed for wireless (iwi) if_iwi_load="YES" wlan_load="YES" firmware_load="YES" iwi_bss_load="YES" iwi_ibss_load="YES" iwi_monitor_load="YES" legal.intel_iwi.license_ack=1 # Needed for 3d graphics acceleration agp_load="YES" # Needed for cdrecord to work atapicam_load="YES" # See 'man acpi_ibm' acpi_ibm_load="YES" > 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 hostname="sussman.snikeris.com" #ifconfig_em0="DHCP" linux_enable="YES" moused_enable="YES" # Allow X to locate mouse and keyboard automatically using HAL hald_enable="YES" dbus_enable="YES" keyrate="fast" keybell="off" > cat /etc/sysctl.conf # $FreeBSD: src/etc/sysctl.conf,v 1.8.32.1 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. #security.bsd.see_other_uids=0 hw.acpi.standby_state=S0 hw.acpi.suspend_state=S3 hw.acpi.sleep_button_state=S3 vfs.usermount=1 hw.acpi.sleep_delay=3