From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 16:47:08 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B94216A4DA; Thu, 13 Jul 2006 16:47:08 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6272143D45; Thu, 13 Jul 2006 16:47:07 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DGl0ck023705; Thu, 13 Jul 2006 12:47:01 -0400 (EDT) Date: Thu, 13 Jul 2006 12:47:00 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Wesley Morgan In-Reply-To: <20060712214546.V79297@volatile.chemikals.org> Message-ID: 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 16:47:08 -0000 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 -- DE