From owner-freebsd-current@FreeBSD.ORG Mon Jan 12 07:27:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83B4616A4CE for ; Mon, 12 Jan 2004 07:27:05 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B59B43D1F for ; Mon, 12 Jan 2004 07:27:02 -0800 (PST) (envelope-from freebsd-current@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ag3y1-0002ID-00 for ; Mon, 12 Jan 2004 16:27:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ag3xz-0002I5-00 for ; Mon, 12 Jan 2004 16:26:59 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ag3xz-0006BO-00 for ; Mon, 12 Jan 2004 16:26:59 +0100 From: Jesse Guardiani Date: Mon, 12 Jan 2004 10:26:58 -0500 Organization: WingNET Lines: 37 Message-ID: References: <20031230115806.M98869@root.org> <20031230211930.K64407@leelou.in.tern> <20040102134132.W9534@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: Re: rc.suspend/rc.resume acpi support added X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 15:27:05 -0000 Nate Lawson wrote: > On Tue, 30 Dec 2003, Lukas Ertl wrote: >> On Tue, 30 Dec 2003, Nate Lawson wrote: >> > This helps for uhci where we have to unload and reload usb.ko across >> > suspends since it doesn't re-initialize correctly. See the usb >> > comments in the files for an example. >> >> If I understand correctly, usb.ko can't be unloaded, because it has no >> detach method connected. (At least I wasn't able to unload it.) >> >> Anyway, this bandaid wouldn't work on this machine, since I tried to load >> the usb module after a suspend and UHCI still wouldn't work (see >> kern/59747) - it seems like all controller register bits are set, and I >> couldn't find a way to clear them. > > Oops, you're right. It may help for sound drivers though. > >> The UHCI controller works fine with APM suspend, though. It'll help me on my IBM Thinkpad A30p too. I actually got ACPI successfully working under FreeBSD 5.1-RELEASE, but I couldn't use it because I HAD to execute `atacontrol detach 1` to unload my CD-ROM/DVD-ROM drive before suspending and rc.suspend wasn't supported by ACPI under 5.1-RELEASE. Now, if I can manage to get ACPI working again under 5.2-RC2 or -RELEASE then I'll be able to actively make use of ACPI suspend/resume. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net