From owner-freebsd-multimedia@FreeBSD.ORG Wed May 17 08:45:29 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 3A11016A420 for ; Wed, 17 May 2006 08:45:29 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD0C943D53 for ; Wed, 17 May 2006 08:45:19 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so182852nzd for ; Wed, 17 May 2006 01:45:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HYBOyJCBHqZT/XNnMpIRcPM/2KHUvGeY0pUjeheNtDSuec5XZPLMtUmKvuvrJgXqWRBG/KSl8jjV9diHJ+TV9yzbkPAmgRaGalmbRMlHAXzGA/CVokkgmrlqvmPKOG/QtTA6MXCTYZQ5HmpHsB1s63GfuEJcVEvA6hNfJfioIV8= Received: by 10.65.74.20 with SMTP id b20mr846620qbl; Wed, 17 May 2006 01:45:15 -0700 (PDT) Received: by 10.64.201.12 with HTTP; Wed, 17 May 2006 01:45:15 -0700 (PDT) Message-ID: <4c40c4e70605170145v61d087c8pe69808ee5d2ce3e7@mail.gmail.com> Date: Wed, 17 May 2006 15:45:15 +0700 From: "Angka H. K." To: "Stephane E. Potvin" In-Reply-To: <446A9875.1050404@videotron.ca> MIME-Version: 1.0 References: <20060513010217.2f0cd472.feature.id@gmail.com> <446A9875.1050404@videotron.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: High Definition Audio driver 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: Wed, 17 May 2006 08:45:29 -0000 Please make it work I'll be very hapy to test it On 5/17/06, Stephane E. Potvin wrote: > > feature wrote: > > Hi, Steph. > > > > Having the same `audio problem'. Tried your driver . > > (got it to compile only after commenting everything related to > hdac_probe(), because of the following: > > hdac.c: In function `hdac_probe': > > hdac.c:866: error: `PCIS_MULTIMEDIA_HDA' undeclared (first use in this > function) > > hdac.c:866: error: (Each undeclared identifier is reported only once > > hdac.c:866: error: for each function it appears in.) > > *** Error code 1) > > kldload went ok, but without any noticable effect to the system (still > no sound, nothing in dmesg, etc). > > uname: 6.1-STABLE > > Hi, > > It seems that I have forgotten to include a small patch to make the > driver compile. Apply the following small patch and it should compile > after: > > Index: pcireg.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/FreeBSD/ncvs/src/sys/dev/pci/pcireg.h,v > retrieving revision 1.51 > diff -u -r1.51 pcireg.h > --- pcireg.h 30 Dec 2005 20:25:40 -0000 1.51 > +++ pcireg.h 25 Feb 2006 18:57:53 -0000 > @@ -233,6 +233,7 @@ > #define PCIS_MULTIMEDIA_VIDEO 0x00 > #define PCIS_MULTIMEDIA_AUDIO 0x01 > #define PCIS_MULTIMEDIA_TELE 0x02 > +#define PCIS_MULTIMEDIA_HDA 0x03 > #define PCIS_MULTIMEDIA_OTHER 0x80 > > #define PCIC_MEMORY 0x05 > > Unfortunately, even with that you'll find that the driver doesn't do > much so far. It's just probing for the HDA controller and then tries to > scan for some child devices. > > I haven't got the chance to put as much efforts into this lately as I > would have liked to do but it's progressing. The driver that I have in > my local tree now really probe for child devices using newbus and tries > to attach drivers to them. I'll try to make it available within a few > days in case anybody wants to look at it. > > Regards, > > Steph > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@freebsd.org" >