From owner-freebsd-questions@FreeBSD.ORG Sat Nov 24 14:45:43 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AFE716A418 for ; Sat, 24 Nov 2007 14:45:43 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id DE2EE13C447 for ; Sat, 24 Nov 2007 14:45:42 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-127-199.hsd1.pa.comcast.net [71.60.127.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id A8AC3EBC3B; Sat, 24 Nov 2007 09:45:35 -0500 (EST) Date: Sat, 24 Nov 2007 09:45:22 -0500 From: Bill Moran To: bruce@cran.org.uk Message-Id: <20071124094522.2f06348c.wmoran@potentialtech.com> In-Reply-To: <20071123225123.GA21198@muon.bluestop.org> References: <20071123143245.87de8d2d.wmoran@potentialtech.com> <20071123225123.GA21198@muon.bluestop.org> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Problems with zzz failing on FreeBSD 7/amd64 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: Sat, 24 Nov 2007 14:45:43 -0000 bruce@cran.org.uk wrote: > > On Fri, Nov 23, 2007 at 02:32:45PM -0500, Bill Moran wrote: > > > > Been spending some time setting up my new Lenovo T61 laptop. > > > > 7.0 ... just cvsupped and build world/kernel yesterday. Ports have > > installed nicely, have xfce4, Firefox, Sylpheed, OpenOffice.org. > > > > So far, the only snag I'm getting is suspending the laptop. Entering > > zzz returns: > > acpiconf: request sleep type (3) failed: Operation no supported > > > > I've tried manually kldloading acpi_ibm.ko (which seems to recognize > > the Thinkpad) but it doesn't change the problem. > > > > I'm open to any suggestions. I don't need this laptop for a few weeks, > > so I'm open to just about any type of debugging folks could ask me to > > do. > > Are you running an amd64 build? I came across the same issue on my > Dell laptop and found the following code in acpi_ReqSleepState: > > #if !defined(__i386__) > /* This platform does not support acpi suspend/resume. */ > return (ENOTSUPP); > #endif > > I guess that's where the "Operation not supported" error is coming from, > at least on amd64. Thanks, Bruce. I tried removing that return from __amd64__, which dodges the ENOTSUPP, but the laptop then locks up instead of sleeping. I guess there's more work that needs done ... -- Bill Moran http://www.potentialtech.com