From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 01:34:20 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 C1BFE16A4E0; Thu, 13 Jul 2006 01:34:20 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16F2243D55; Thu, 13 Jul 2006 01:34:19 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6D1YDV7080600; Wed, 12 Jul 2006 20:34:13 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B5A31B.2000603@centtech.com> Date: Wed, 12 Jul 2006 20:34:19 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan 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> In-Reply-To: <20060712205940.J59349@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1594/Wed Jul 12 10:04:34 2006 on mh1.centtech.com X-Virus-Status: Clean 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 List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 01:34:20 -0000 On 07/12/06 20:04, Wesley Morgan wrote: > On Wed, 12 Jul 2006, Eric Anderson wrote: > >> On 07/09/06 09:11, Wesley Morgan wrote: >>> >>> With a little help from the netbsd azalia driver (a wonderful piece >>> of work, by the way) and the hda specs, I've been able to get >>> Andrea's hdac code to work with my laptop. I believe the problem was >>> that the codec and dac started out in some kind of low-power mode and >>> needed to be woken up before they would work. >>> >>> Hopefully someone is still working on a proper driver, but for now, I >>> can watch movies again! >>> >>> A diff against Andrea's work is attached. >> >> >> I couldn't get this patch to work - all hunks fail. What am I doing >> wrong? > > Make sure your mailer didn't wrap long lines? It applies cleanly for me. > I've attached a newer diff that makes the mixer work properly as well, > but it's hard-coded to the correct widget for me so it might not work > for everyone. > > > [morganw@catalyst:~$]: tar zxf hdac.tgz > [morganw@catalyst:~$]: cd hdac > [morganw@catalyst:~/hdac$]: patch < ../sigma.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff -urb hdac/hdac.c hdac-sigma/hdac.c > |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 > |+++ hdac-sigma/hdac.c Sun Jul 9 10:10:37 2006 > -------------------------- > Patching file hdac.c using Plan A... > Hunk #1 succeeded at 247. > Hunk #2 succeeded at 261. > Hunk #3 succeeded at 787. > Hunk #4 succeeded at 821. > Hunk #5 succeeded at 894. > Hunk #6 succeeded at 945. > Hunk #7 succeeded at 974. > Hunk #8 succeeded at 1270. > Hmm... Ignoring the trailing garbage. > done Well, it must be my hdac.tgz then, because the attached patch looks fine, but still fails poorly. Maybe a pointer to the hdac.tgz you used, and an md5 sum would do the trick.. Thanks for hassling with this. :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------