From owner-freebsd-current@FreeBSD.ORG Thu Apr 15 13:36:49 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 05B5516A4D2 for ; Thu, 15 Apr 2004 13:36:49 -0700 (PDT) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 94E4943D60 for ; Thu, 15 Apr 2004 13:36:48 -0700 (PDT) (envelope-from nate@root.org) Received: (qmail 92290 invoked by uid 1000); 15 Apr 2004 20:36:49 -0000 Date: Thu, 15 Apr 2004 13:36:49 -0700 (PDT) From: Nate Lawson To: Mark Santcroos In-Reply-To: <20040415135755.GA925@laptop.6bone.nl> Message-ID: <20040415133527.G92275@root.org> References: <20040414051207.GK58667@pcwin002.win.tue.nl> <20040413222717.O80191@root.org><20040414092553.F83452@root.org> <20040415135755.GA925@laptop.6bone.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi@freebsd.org cc: current@freebsd.org Subject: Re: Experiences with new PCI code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 15 Apr 2004 20:36:49 -0000 On Thu, 15 Apr 2004, Mark Santcroos wrote: > On Wed, Apr 14, 2004 at 09:29:35AM -0700, Nate Lawson wrote: > > For instance, snd_ich works pretty well for me but will stop generating > > interrupts if shared with if_an on resume. But for others its sample rate > > is off after resume. Now this problem may have been fixed by Warner's > > power code so it would be a good time to test those drivers because if the > > problem is still there, it's a driver problem and there's not much more > > to be done outside the driver. > > My laptop was one of those with the snd_ich problems after S4_BIOS resume. > It was caused by bad BAR restores as the problem could be fixed by simply > setting the PCI registers as they were before suspend. > > I can acknowledge that it now works without any twiddling. > Listening to some music right now after I have just suspended :-) > > Like said before, the PCI changes didn't have any influence on my "S3 > immediate resume after suspend" issue. So you're saying your system doesn't stay in S3 but immediately wakes up even with the latest -current? Try commenting out all callers to acpi_enable_wake*(), including in acpi_lid, etc. Perhaps a premature wake event is being triggered. -Nate