From owner-freebsd-multimedia Fri Sep 15 20:50:13 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 1961D37B422; Fri, 15 Sep 2000 20:50:11 -0700 (PDT) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id UAA50828; Fri, 15 Sep 2000 20:46:42 -0700 (PDT) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id UAA30857; Fri, 15 Sep 2000 20:46:08 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200009160346.UAA30857@whistle.com> Subject: Re: Anyone with i810 hardware? In-Reply-To: <000d01c01e9e$0638ddb0$0504020a@haveblue> from Cameron Grant at "Sep 14, 2000 11:49:22 pm" To: Cameron Grant Date: Fri, 15 Sep 2000 20:46:07 -0700 (PDT) Cc: Dan Moschuk , multimedia@FreeBSD.ORG, ru@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cameron Grant writes: | > | There is already a working version of the i810 sound driver: | > | | > | http://www.katsurajima.seya.yokohama.jp/ich/ | > | > Even easier. :) | | it would be nice if people informed me about newpcm drivers they have | written or are working on so that i can get them committed to the tree. BTW, I sent the author a patch to make it work on the IBM machines we have here based on the 810E & 840 chipsets. I also added the AD1881 AC'97 id's to ac97.c. BTW I have a question on in the ac97.c. In ac97.c their is the ac97mixtable_entry. This maps various things to the real parts. Now I have a reason to want to change SOUND_MIXER_VOLUME from using AC97_MIX_MASTER to AC97_MIX_MONO. I can do this and it basically works except in ac97.c it uses AC97_MIX_MASTER explicitly. Now I changed that to use the structure and that works fine so now changing the mixer SOUND_MIXER_VOLUME changes the Mono output. However, during intialization in ich.c it uses AC97_MIX_MASTER directly I would prefer it use ac97mixtable_entry structure. This currently isn't possible since the ac97mixtable_entry structure is static. I guess I could just change the #define of AC97_MIX_MASTER to AC97_MIX_MONO. I think if would be cleaner if it could be remapped via ac97mixtable_entry since it understand the offset, width and various capabilities of that register. Any ideas on this. Lastly, using the prior and current version of ich.c mpg123 works fine but RealPlayer plays 2X the speed it should. I did a quick hack that does a divide by 2 passed to the frequency register and that fixed the problem. I need to investigate it more. Any ideas on this as well. In any case I think this is usefull as is and should be commited. BTW I like AC'97 it finally looks like a sound standard that should just work with new devices without much work. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message