From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 16 14:28: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 0F3EB16A4E0 for ; Sun, 16 Jul 2006 14:28:42 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED00543D8A for ; Sun, 16 Jul 2006 14:28:23 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 9539 invoked from network); 17 Jul 2006 00:28:22 +1000 Received: from 203-158-32-199.dyn.iinet.net.au (HELO localhost) (203.158.32.199) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 Jul 2006 00:28:22 +1000 Date: Mon, 17 Jul 2006 00:28:17 +1000 From: Norberto Meijome To: Daniel Eischen Message-ID: <20060717002817.1a4d1f0e@localhost> In-Reply-To: References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org, Eric Anderson , Andrea Bittau Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Sun, 16 Jul 2006 14:28:42 -0000 On Thu, 13 Jul 2006 12:47:00 -0400 (EDT) Daniel Eischen wrote: > On Wed, 12 Jul 2006, Wesley Morgan wrote: > > > > The original hdac.tgz posted by Andrea, I believe can be found at: > > > > http://darkircop.org/hdac.tgz > > This plus the patch from the previous thread seemed to work > for me on my Dell Inspiron 1405. I only had time to cat > a small audio file. But I do get mtx lock warnings when > booting and rc tries to set the mixer. It seems that pcm/mixer.c > holds one of its locks (see mixer_set(), around line 148), > then somehow calls into the driver in hdac_command_send_internal() > around line 1401 where it does an msleep(). You're not suppose > to sleep while holding mutex (pcm/mixer's mtx is held at > this point). > > I've placed the original driver with the patches applied at: > > http://people.freebsd.org/~deischen/hdac.tgz > Thanks Daniel for this :) this works fine on my Thinkpad z60m (hdac = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' ), but : - volume is *very* low - it is barely discernible from background noise. mixer reported initially a value of 77%, which i pushed to 100 with no change. dev.acpi_ibm.0.volume was 14 (max) , so the speaker beeping was very loud, but pcm wasn't at all. - lack of recording (mic) / input - not sure if this patch was added to your tar ball Andrea's original package from darkircop.org doens't show the mic either, but the sound volume works fine. I'll test Andrea's -rec.tgz now. Please let me know if you want any debug information :) Cheers, Beto