From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 13 11:17:50 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B1F016A478 for ; Tue, 13 Jun 2006 11:17:50 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F12D43D48 for ; Tue, 13 Jun 2006 11:17:49 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 13 Jun 2006 11:17:47 -0000 Received: from h081217095067.dyn.cm.kabsi.at (EHLO h081217095067.dyn.cm.kabsi.at) [81.217.95.67] by mail.gmx.net (mp031) with SMTP; 13 Jun 2006 13:17:47 +0200 X-Authenticated: #16703784 From: Stefan Ehmann To: "Nikolas Britton" Date: Tue, 13 Jun 2006 13:17:45 +0200 User-Agent: KMail/1.9.3 References: <200606072039.13422.shoesoft@gmx.net> <8103ad500606130247w63cce8e7j9ab9cb4428228811@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606131317.46432.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@freebsd.org, Alexander@leidinger.net Subject: Re: Status of VIA Envy24 audio controller X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 11:17:50 -0000 On Tuesday 13 June 2006 12:23, Nikolas Britton wrote: > On 6/13/06, Konstantin Dimitrov wrote: > > i found obvious bug, that affects all cards: "codec->type = dvc;" > > (ak452x.c) obviously should be "codec->dvc = dvc;", this cause the > > previously mentioned volume problem with "M-Audio Audiophile 2496", so > > original "ak452x_set" routine is ok, after fixing "codec->type = dvc;" > > to "codec->dvc = dvc;", we have working "mixer vol ..." with both > > "Terratec DMX 6fire" and "M-Audio Audiophile 2496", of cource correct > > codec type should be set in envy24.c : "ak452x_settype(ptr->info, > > AK452X_TYPE_4528);" for "M-Audio Audiophile 2496" > > "ak452x_settype(ptr->info, AK452X_TYPE_4524);" for "Terratec DMX 6fire" > > > > after fixing the bug described above, both cards working now only with > > touching hardware specific parts of the Katsurajima Naoto's code - to be > > more specific - 3 lines to set right wiring in envy24.h (codec CS, CDTI, > > CCLK) and 1 line to set right codec in envy24.c, so Katsurajima Naoto's > > code is pretty generic and so it can be used as a base for Envy24 driver > > supporting many Envy24-based audio cards under FreeBSD. > > > > On 6/13/06, Konstantin Dimitrov < kosio.dimitrov@gmail.com> wrote: > > > thanks to cooperation with Stefan Ehmann (shoesoft at gmx.net), there > > > is a > > > > patch adding basic "M-Audio Audiophile 2496" support, he sent the initial > > patch to freebsd-multimedia@ titled "basic support for M-Audio Audiophile > > 2496 available", now the "volume" problem with "M-Audio Audiophile 2496" ... > > Cool!, I just order a Audiophile 2496, it should be in my hands by > then end of the week for testing. Is it possible to get a diff of all > the new code?: > > Patch set of the changes you made to get Katsurajima old code running > again on 6.1-STABLE. Plus a patch set of the changes you and Stefan > made to get audiophile 2496 running? I just made a patch against http://people.freebsd.org/~lofi/envy24.tar.gz. This is the code as I'm currently using it. I added the name of the card to cfg_table based on the EEPROM dump. http://stud4.tuwien.ac.at/~e0125637/fbsd/ap2496.diff In order to get it to compile, don't forget to add WERROR= to /sys/modules/sound/driver/envy24/Makefile.