From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 15:47:21 2005 Return-Path: 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 6D01816A4CE for ; Tue, 22 Mar 2005 15:47:21 +0000 (GMT) Received: from drizzle.CC.McGill.CA (drizzle.CC.McGill.CA [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B64443D5A for ; Tue, 22 Mar 2005 15:47:20 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan1.cc.mcgill.ca (mailscan1.CC.McGill.CA [132.216.77.248])j2MFlE2I006474; Tue, 22 Mar 2005 10:47:16 -0500 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) j2MFkhwA017644; Tue, 22 Mar 2005 10:46:45 -0500 (EST) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j2MFkfCt021025; Tue, 22 Mar 2005 10:46:43 -0500 Received: from localhost.localdomain (acid [127.0.0.1]) j2MFkeWt004479; Tue, 22 Mar 2005 10:46:40 -0500 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j2MFkeKv004478; Tue, 22 Mar 2005 10:46:40 -0500 Date: Tue, 22 Mar 2005 10:46:39 -0500 From: Mathew Kanner To: David Cross Message-ID: <20050322154639.GB8808@cnd.mcgill.ca> References: <1111475165.1908.3.camel@kagome> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1111475165.1908.3.camel@kagome> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA cc: freebsd-multimedia@freebsd.org Subject: Re: AD1888 AC97 codec X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 15:47:21 -0000 On Mar 22, David Cross wrote: > I am having some trouble with a machine with an AD1888 AC97 codec. > Searching the list I see that all I need to do is to move the speaker > connection from speaker to microphone. It works.. but windows actually > has the sound come out the designated speaker. Now as much as I don't > use windows on this machine it seems to indicate that we are in fact > doing something wrong. Weird stuff. > > Does anyone have a suggestion on what should be done? I've been looking > at the AC97 drivers and it looks pretty simple, is all that is missing > are references for the AD1888? I don't know, and I'm not sure if there's anybody around right now who does, so experimentation is required. Look in /usr/src/sys/dev/sound/pcm/ac97.c, you'll notice there's a structure with codec_id and an optional 'patch' functions, maybe the ad19xx patch is what is required. You can consider the alsa code a cheat sheet. :) --Mat