Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 16:33:02 +0600
From:      Denis Eremenko <moonshade@pnhz.kz>
To:        Ariff Abdullah <ariff@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org, anders@FreeBSD.org
Subject:   Re: snd_hda, sound in both speaker and headphones
Message-ID:  <1182767583.10024.9.camel@abyss.pnhz.kz>
In-Reply-To: <20070625170439.2227372f.ariff@FreeBSD.org>
References:  <20070118181407.72f29176.ariff@FreeBSD.org> <200701181144.l0IBirEB008321@barnetv.cc.uit.no> <20070118202241.26c35c7f.ariff@FreeBSD.org> <20070622125317.GA73565@fupp.net> <1182760538.10024.2.camel@abyss.pnhz.kz> <20070625170439.2227372f.ariff@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
В пн, 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.




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