From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 17 13:29:42 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 C842316A47A for ; Sat, 17 Jun 2006 13:29:42 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 165E343D49 for ; Sat, 17 Jun 2006 13:29:38 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so310013nzf for ; Sat, 17 Jun 2006 06:29:38 -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:content-transfer-encoding:content-disposition:references; b=XHhvzt7JvOQJT3WPJG8RxmplpconzDxx8GztlhSOwmmgcs055PSq7BI/N554sXjo8N/o20/TCKYOdiA3p0TcGlbWJ+SqmufKm4lYEaYekasBFH6+ftYKHduWopRoH5TIDR/h7eUtrElNlN18DBPnNeF7p2Mnpi9wMGSdahXR6FE= Received: by 10.36.222.26 with SMTP id u26mr5108948nzg; Sat, 17 Jun 2006 06:29:38 -0700 (PDT) Received: by 10.36.182.7 with HTTP; Sat, 17 Jun 2006 06:29:38 -0700 (PDT) Message-ID: Date: Sat, 17 Jun 2006 08:29:38 -0500 From: "Nikolas Britton" To: "Konstantin Dimitrov" In-Reply-To: <8103ad500606140202o5d66d68eg7616ff3fb19488bf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200606072039.13422.shoesoft@gmx.net> <8103ad500606130247w63cce8e7j9ab9cb4428228811@mail.gmail.com> <200606131317.46432.shoesoft@gmx.net> <8103ad500606130900p35630878t3d6afb0e8695b94b@mail.gmail.com> <20060614094229.GF5339@afflictions.org> <8103ad500606140202o5d66d68eg7616ff3fb19488bf@mail.gmail.com> Cc: freebsd-multimedia@freebsd.org, Damian Gerow 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: Sat, 17 Jun 2006 13:29:43 -0000 On 6/14/06, Konstantin Dimitrov wrote: > i think "Audiophile 192" is Envy24HT-based (chip is marked ICE1724 or > VT1724), for the moment only Envy24-based cards (chip is marked ICE1712 or > VT1712) can be supported. Envy24HT and Envy24 are very similar, but have > several different registers and Envy24HT hasn't hardware mixer, so the > driver should be completely rewritten to support Envy24HT. i am planning to > do that, because i have "Terratec Aureon 7.1 Space", which is also > Envy24HT-based and when find free time for that i will start working on > implementing Envy24HT support. > > for making EEPROM dump, you can use very small newbus module that i made > (before "make" ENVY24_PCI_ID in xkodi.h should be changed to correct value: > 0x1712 for Envy24, 0x1724 for Envy24HT, etc.): > > http://xkodi.svobodno.com/xkodi/xkodi.h > http://xkodi.svobodno.com/xkodi/xkodi.c > http://xkodi.svobodno.com/xkodi/Makefile > > copy xkodi.h and xkodi.c to /usr/src/sys/dev/sound/pci/ and Makefile for > example to /usr/src/sys/modules/sound/driver/xkodi/ (in case you are > wondering "xkodi" is my nickname) and after make and kldload ./snd_xkodi.ko > you should see output to the console similar to: > > xkodi0: port > 0xd500-0xd53f,0xd400-0xd40f,0xd300-0xd30f,0xd200-0xd21f irq 18 at device > 10.0 on pci1 > xkodi0: E2PROM DUMP: > | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C OD 0E 0F > ----+------------------------------------------------- > 00 | 11 38 15 3b 1c 01 2f 80 f0 03 c0 ff 7f 00 00 00 > 01 | 00 00 00 44 03 03 03 00 03 03 03 00 ff ff ff ff > > envy24_dump0: port 0x8800-0x881f,0x8400-0x847f irq 16 at device 9.0 on pci0 envy24_dump0: E2PROM DUMP: | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C OD 0E 0F ----+------------------------------------------------- 00 | 17 24 14 12 1c 01 02 02 10 c1 ff 00 00 ff 00 00 01 | ff 00 00 00 01 01 01 00 01 00 00 00 06 00 00 00 none0@pci0:9:0: class=0x040100 card=0x17241412 chip=0x17241412 rev=0x01 hdr=0x00 vendor = 'VIA Technologies Inc (Was: IC Ensemble Inc)' device = 'VT1720/24 Envy24PT/HT PCI Multi-Channel Audio Controller' class = multimedia subclass = audio Those are from a Chaintech AV-710: http://www.newegg.com/Product/Product.asp?Item=N82E16829120103 It has a VT1721 (Envy24HT-S) (Why does pciconf detect it has 0x1724???)... **IIRC** They've been known to swap out the VT1721 with the VT1720 (Envy24PT)... I think they source whatever is cheapest at the time of production. Other chips on this card: VT1616, WM8728, RT9131 Here's the datasheets: http://www.nbritton.org/uploads/envy24/1720-envy24pt_apr2004.pdf http://www.nbritton.org/uploads/envy24/1724-envy24ht_nov2001.pdf http://www.nbritton.org/uploads/envy24/1616-ac97_oct2002.pdf http://www.wolfson.co.uk/uploads/documents/en/WM8728.pdf http://www.richtech.co.kr/down/richtek/RT9131.pdf -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/