From owner-freebsd-multimedia@FreeBSD.ORG Thu Nov 3 11:50:05 2005 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 7F45416A420 for ; Thu, 3 Nov 2005 11:50:05 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E941243D46 for ; Thu, 3 Nov 2005 11:50:04 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id C8DC96CC2A; Thu, 3 Nov 2005 19:51:56 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25559-05; Thu, 3 Nov 2005 19:51:55 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 2AFE86CC25; Thu, 3 Nov 2005 19:51:54 +0800 (MYT) Date: Thu, 3 Nov 2005 19:50:08 +0800 From: Ariff Abdullah To: Brad Karp Message-Id: <20051103195008.5a7d06d8.skywizard@MyBSD.org.my> In-Reply-To: <20051103112704.GA669@smelt.bkarp.co.uk> References: <20051103101614.GE8008@smelt.bkarp.co.uk> <20051103184157.1e434bd9.skywizard@MyBSD.org.my> <20051103112704.GA669@smelt.bkarp.co.uk> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: ICH7 audio support? 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: Thu, 03 Nov 2005 11:50:05 -0000 On Thu, 3 Nov 2005 11:27:04 +0000 Brad Karp wrote: > > > 3) How back-compatible is the ICH7 audio hardware with previous > > > ICHes? > > > That is, is there any chance that merely by hacking the > > > device probe tables, I can "lie" to the current snd_ich > > > driver that the ICH7 is some earlier-model ICH, and get it to > > > work? > > > > > ICH7 supposed to have new Intel High Definition Audio (HDA), which > > unfortunately isn't supported (yet). I'm not quite sure whether it > > is backward compatible with AC97, but you can try your luck > > hacking the driver (/usr/src/sys/dev/sound/pci/ich.c) by adding > > the appropriate pci id into ich_pci_probe() function. pciconf -l > > (chip=xxxx) should give you the appropriate value for that. > > Thanks, Ariff. > > When I received your reply, I was already done hacking the device ID > for the ICH7 into /sys/dev/sound/pci/ich.c. :-) > > I'm happy to report that with this hack, snd_ich appears to support > the ICH7 just fine for both audio input and output! > Nice :) Can I have the diff -u ? There is a cumulative patch and fixes for various issues. You can get it from http://people.freebsd.org/~ariff/ . -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)