Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2007 09:45:22 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        bruce@cran.org.uk
Cc:        questions@freebsd.org
Subject:   Re: Problems with zzz failing on FreeBSD 7/amd64
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071124094522.2f06348c.wmoran>