From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 13 22:42:20 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 8C04216A41A for ; Tue, 13 Jun 2006 22:42:20 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id E81FC43D68 for ; Tue, 13 Jun 2006 22:42:10 +0000 (GMT) (envelope-from kosio.dimitrov@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so1148407wxd for ; Tue, 13 Jun 2006 15:42:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=YebUQFB5fDfdRIdkFp8aKJ2/TYyLSR7VM9mTM3urAvaIHxb80TbSbq3zd5VX/7YrreFU0+QalhfgDjU9kIAjUHlg7CyeXGNZJGicregxh90aX0RxcWt/WB371lpvOSj3PHKb4cbRJXavXjCWUSt5LFmtWzVYUEAbvUplTuk+q00= Received: by 10.70.132.14 with SMTP id f14mr2466wxd; Tue, 13 Jun 2006 15:42:09 -0700 (PDT) Received: by 10.70.54.9 with HTTP; Tue, 13 Jun 2006 15:42:09 -0700 (PDT) Message-ID: <8103ad500606131542t41d98a96necb4b508798847d1@mail.gmail.com> Date: Wed, 14 Jun 2006 01:42:09 +0300 From: "Konstantin Dimitrov" To: "Alexander Leidinger" In-Reply-To: <20060613221736.2ef26add@Magellan.Leidinger.net> MIME-Version: 1.0 References: <200606072039.13422.shoesoft@gmx.net> <8103ad500606130247w63cce8e7j9ab9cb4428228811@mail.gmail.com> <200606131317.46432.shoesoft@gmx.net> <8103ad500606130900p35630878t3d6afb0e8695b94b@mail.gmail.com> <20060613221736.2ef26add@Magellan.Leidinger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org 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 22:42:20 -0000 it is pretty easy to add support for more than one card at the same time based on the PCI subdevice and subvendor ID, i released so many patches before, because i want to show clearly the difference between the cards and to show that the code is actually working, so the following patch: http://xkodi.svobodno.com/envy24/new/full.diff supports all 3 cards at the same time (using PCI subdevice and subvendor ID) and combines the functionality of all previous 6 patches, so it is the only patch needed against original code. On 6/13/06, Alexander Leidinger wrote: > > Quoting "Konstantin Dimitrov" (Tue, 13 Jun 2006 > 19:00:45 +0300): > > [...] > > > after applying 1) and 2) we have support for "M-Audio Delta Dio 2496" > under > > newer versions of FreeBSD as Katsurajima Naoto implemented it 5 years > ago. > > [...] > > > after applying 1), 2), 3) and 4) we have basic support for "Terratec DMX > > 6fire" under FreeBSD > > [...] > > > after applying 1), 2), 5) and 6) we have basic support for "M-Audio > > Audiophile 2496" under FreeBSD > > Since you seem to be eager to make patches: the right way is to check > the PCI IDs of the card (that's the reason why I asked for "pciconf > -lv") an then use the right values to initialize it. > > As an example have a look at the es_pci_probe function > in /sys/dev/sound/pci/es137x.c. > > I start to commit some parts as soon as I get time for it. ATM there > are some other parts a little bit more important for me. > > Bye, > Alexander. > > -- > Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR > you have to pick it up between Germany/Saarland and Luxembourg/Capellen > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 >