From owner-freebsd-current@FreeBSD.ORG Fri Jan 19 14:04:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EA4F16A400 for ; Fri, 19 Jan 2007 14:04:21 +0000 (UTC) (envelope-from n.marjoram@adastral.ucl.ac.uk) Received: from vscano-c.ucl.ac.uk (vscano-c.ucl.ac.uk [144.82.100.156]) by mx1.freebsd.org (Postfix) with ESMTP id 0076313C448 for ; Fri, 19 Jan 2007 14:04:20 +0000 (UTC) (envelope-from n.marjoram@adastral.ucl.ac.uk) Received: from lowestoft.adastral.ucl.ac.uk ([128.40.159.4]) by vscano-c.ucl.ac.uk with esmtp (Exim 4.60) (envelope-from ) id 1H7u20-0000In-0P for freebsd-current@freebsd.org; Fri, 19 Jan 2007 13:43:48 +0000 Received: from [128.40.159.50] (gromit.adastral.ucl.ac.uk [128.40.159.50]) (authenticated bits=0) by lowestoft.adastral.ucl.ac.uk (8.13.1/8.13.1) with ESMTP id l0JDhhRU004730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Jan 2007 13:43:44 GMT Message-ID: <45B0CB0F.8020201@adastral.ucl.ac.uk> Date: Fri, 19 Jan 2007 13:43:43 +0000 From: Neil Marjoram User-Agent: Thunderbird 1.5.0.9 (X11/20061219) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-UCL-Adastral-Park-MailScanner-Information: Please contact mailhelp@adastral.ucl.ac.uk for more information X-UCL-Adastral-Park-MailScanner: Found to be clean X-UCL-Adastral-Park-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UCL-Adastral-Park-MailScanner-From: n.marjoram@adastral.ucl.ac.uk X-UCL-MailScanner-Information: Please contact the UCL Helpdesk, helpdesk@ucl.ac.uk for more information X-UCL-MailScanner: Found to be clean X-UCL-MailScanner-From: n.marjoram@adastral.ucl.ac.uk X-Spam-Status: No Subject: New to FreeBSD - Suspend / Resume problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 14:04:21 -0000 This is the first serious FreeBSD install I have done on a laptop, and I have run into an issue with suspend resume. I have an IBM Thinkpad X31 on which I have loaded 6.1. Most things work very well except suspend and resume. I have played with several options and have working acpiconf -s S3, which starts up again on lid open or button press. I have had to add in a few thing to /etc/rc.resume and /etc/rc.suspend for mouse and wireless. I have read several accounts of 6.1 running out of the box, but this does not seem to be the case. What I don't seem to be able to get running is the [FN][F4] sleep button, it sleeps fine, but does not execute the /etc/rc.suspend and resume scripts. Lastly I would like to activate suspend to disk [FN][F12] but this does not seem to function at all and I cannot find any notes on how to get this working. Is it possible to define the action of these buttons? I tried sysctl dev.acpi_ibm.0.events=1, and it seems all the fuctions return codes. Can anyone help? Do I need the acpi_tpkey? If so how do I load it. Customisations : /boot/loader.conf snd_ich_load=yes acpi_ibm_load=yes if_ipw_load=yes /etc/sysctl.conf debuf.acpi.do_powerstate=1 hw.acpi.lid_switch_state=S0 hw.acpi.standby_state=S0 hw.acpi.suspend_state=S3 hw.acpi-sleep_button_state=S3 vfs.usermount=1 hw.acpi.sleep_delay=3 |$ sysctl -a | grep sleep hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.sleep_button_state: S1 hw.acpi.sleep_delay: 3 Many thanks, Neil. | -- Neil Marjoram Systems Manager Adastral Park Campus University College London Ross Building Adastral Park Martlesham Heath Ipswich - Suffolk IP5 3RE Tel: 01473 663711 Fax: 01473 635199 Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird