From owner-freebsd-current@FreeBSD.ORG Mon Oct 13 05:49:23 2003 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 1C7FF16A4BF; Mon, 13 Oct 2003 05:49:23 -0700 (PDT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 612A743FBD; Mon, 13 Oct 2003 05:49:19 -0700 (PDT) (envelope-from ms@localhost.6bone.nl) Received: by postman.ripe.net (Postfix, from userid 8) id 7F0AA4EE1B; Mon, 13 Oct 2003 14:49:18 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id 1CF0A4ECF9; Mon, 13 Oct 2003 14:49:18 +0200 (CEST) Received: from localhost.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id h9DCnIVZ010347; Mon, 13 Oct 2003 14:49:18 +0200 Received: (nullmailer pid 964 invoked by uid 1001); Mon, 13 Oct 2003 12:49:17 -0000 Date: Mon, 13 Oct 2003 14:49:17 +0200 From: Mark Santcroos To: Nate Lawson Message-ID: <20031013124917.GA889@laptop.6bone.nl> References: <200309152116.h8FLGld2085395@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309152116.h8FLGld2085395@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Level: X-RIPE-Spam-Status: N 0.274461 X-RIPE-Signature: c569489a49b3664bc8c141ad27f2ca3a cc: current@freebsd.org Subject: Re: cvs commit: src/sys/dev/sound/pci ich.c 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: Mon, 13 Oct 2003 12:49:23 -0000 On Mon, Sep 15, 2003 at 02:16:47PM -0700, Nate Lawson wrote: > njl 2003/09/15 14:16:47 PDT > > FreeBSD src repository > > Modified files: > sys/dev/sound/pci ich.c > Log: > Correctly reset ich[3-5] sound cards on resume. This fixes audio playback > after suspend/resume for me. > > Submitted by: iwasaki > Reviewed by: orion > Approved by: cg Hi Nate, Sorry for the late reply, this breaks resuming from S4BIOS on my Latitude C640. In message <20030609035127.GA36909@laptop.6bone.nl> to current@ in June I posted my fix. While it was not very clean, it worked: # set nambar pciconf -w -b pci0:31:5 0x11 0xd8 # set nabmbar: pciconf -w -b pci0:31:5 0x14 0x81 pciconf -w -b pci0:31:5 0x15 0xdc # set pcicmd: pciconf -w -b pci0:31:5 0x4 0x5 I also did the same thing at resume in ich.c, don't have the patch at hand right now, but you get the idea. It would be nice if we could get your changes also to work on my system. Mark