snd_hda, sound in both speaker and headphones
Denis Eremenko
moonshade at pnhz.kz
Mon Jun 25 10:33:07 UTC 2007
В пн, 25/06/2007 в 17:04 +0800, Ariff Abdullah пишет:
> > > Did this speaker fix find its way to -stable? Do you have a patch
> > > that can be applied to -stable?
> > >
> > > I find myself having problems trying to turn off the speaker. I
> > > have to plug my headset in the front of the PC to make it go off
> > > -- but of course I prefer to plug it in the back. :-)
> >
> > Try this one. Works for me on xw4300.
> >
> > --- hdac.c.orig Wed Apr 4 09:55:46 2007
> > +++ hdac.c Wed Apr 4 09:59:01 2007
> > @@ -618,6 +618,8 @@
> > 0, 0, -1, 17, { 16, -1 }, 16 },
> > /*{ HP_3010_SUBVENDOR, HDA_CODEC_ALC260,
> > HDAC_HP_SWITCH_DEBUG,
> > 0, 1, 0, 16, { 15, 18, 19, 20, 21, -1 }, -1 },*/
> > + { HP_XW4300_SUBVENDOR, HDA_CODEC_ALC260, HDAC_HP_SWITCH_CTL,
> > + 0, 0, 0, 16, { 17, -1 }, -1 },
> > { HP_NX7400_SUBVENDOR, HDA_CODEC_AD1981HD, HDAC_HP_SWITCH_CTL,
> > 0, 0, -1, 6, { 5, -1 }, 5 },
> > { HP_NX6310_SUBVENDOR, HDA_CODEC_AD1981HD, HDAC_HP_SWITCH_CTL,
> >
>
> I thought it will cause confusion even more, since few of you
> (naturally) prefer the front jack instead of the rear one since the
> rear one usually reserved for speakers. Besides, the internal wiring
> of this hardware still a mistery for me. Is the rear jack labeled
> as headphone jack?
>
> I don't mind adding this back (I believe we have tried this several
> times, didn't we?)
This patch makes pin sense working with rear jack. I did not managed to
do the same with front one. Without this patch does not work on _both_.
HP xw4300.
More information about the freebsd-multimedia
mailing list