Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 15:45:15 +0700
From:      "Angka H. K." <harikurniawan@gmail.com>
To:        "Stephane E. Potvin" <sepotvin@videotron.ca>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: High Definition Audio driver
Message-ID:  <4c40c4e70605170145v61d087c8pe69808ee5d2ce3e7@mail.gmail.com>
In-Reply-To: <446A9875.1050404@videotron.ca>
References:  <20060513010217.2f0cd472.feature.id@gmail.com> <446A9875.1050404@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Please make it work
I'll be very hapy to test it

On 5/17/06, Stephane E. Potvin <sepotvin@videotron.ca> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c40c4e70605170145v61d087c8pe69808ee5d2ce3e7>