From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 19 16:01:17 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D301E16A4BF; Tue, 19 Aug 2003 16:01:17 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7760543FB1; Tue, 19 Aug 2003 16:01:16 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.9/8.12.9) with ESMTP id h7JN1CCV000274; Wed, 20 Aug 2003 01:01:12 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.9/8.12.9/Submit) id h7JN1CC8000273; Wed, 20 Aug 2003 01:01:12 +0200 (CEST) Date: Wed, 20 Aug 2003 01:01:12 +0200 From: Wilko Bulte To: Orion Hodson Message-ID: <20030819230111.GA239@freebie.xs4all.nl> References: <20030819075518.GA75416@fit.vutbr.cz> <200308191409.h7JE9eTU013118@puma.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308191409.h7JE9eTU013118@puma.icir.org> User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.8-STABLE X-PGP: finger wilko@freebsd.org cc: Rudolf Cejka cc: hackers@freebsd.org Subject: Re: ASUS P4P800-VM + AD1980 (Was Re: VIA8235 + AD1980) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 23:01:18 -0000 On Tue, Aug 19, 2003 at 07:09:40AM -0700, Orion Hodson wrote: > /-- Rudolf Cejka wrote: > | Rudolf Cejka wrote (2003/08/18): > | > my "another machine" is at home, so I will be sure about your patch > | > tomorrow and I will send you another mail, however it looks reasonably. > | > Maybe just for "defensive programming" wouldn't it be "safer" to switch > | > values instead of assignment? Maybe there are some boards, which can use > | > both outputs... > | > | So, I have tested your patch (machine with AD1885) and it works for me, > | however it would be really better to switch values instead of assignment > | even in my case just with HP_OUT connected. With an assignment, it is > | possible to control main volume by two independent controls, > | SOUND_MIXER_VOLUME and SOUND_MIXER_MONITOR, and if I change one of them, > | then there is an inconsistency between the real volume state and the other > | control. > > Thank you for the info regarding the patch. > > Rather than "defensively" assign the input monitor control > (SOUND_MIXER_MONITOR) to an output, it'd be better to use a separate output > control, eg add a control for SOUND_MIXER_OGAIN, should it actually be > necessary. hi, sorry for jumping in late: what is/is not now in 4.8-stable as far as the patches go to make the Asus P4P800 work? I get as far as: wkb@freebie ~: dmesg| grep pcm pcm0: port 0xee80-0xeebf,0xe800-0xe8ff mem 0xfebff400-0xfebff4ff,0xfebff800-0xfebff9ff irq 10 at device 31.5 on pci0 pcm0: wkb@freebie ~: cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xfebff800, 0xfebff400 irq 10 bufsz 16384 (1p/1r/0v channels duplex) wkb@freebie ~: But no sound, as reported earlier. tnx, Wilko (who could use the PCI slot currently occupied by the sound card for something else ;) -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte