From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 25 10:33:07 2007 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8960916A468; Mon, 25 Jun 2007 10:33:07 +0000 (UTC) (envelope-from moonshade@pnhz.kz) Received: from relay.pnhz.kz (relay.pnhz.kz [212.154.198.217]) by mx1.freebsd.org (Postfix) with ESMTP id CD13013C45E; Mon, 25 Jun 2007 10:33:06 +0000 (UTC) (envelope-from moonshade@pnhz.kz) Received: from [192.168.121.40] (abyss.pnhz.kz [192.168.121.40]) by relay.pnhz.kz with ESMTP id l5PAX4nT036489; Mon, 25 Jun 2007 16:33:04 +0600 (ALMT) (envelope-from moonshade@pnhz.kz) From: Denis Eremenko To: Ariff Abdullah 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> Content-Type: text/plain; charset=KOI8-R Date: Mon, 25 Jun 2007 16:33:02 +0600 Message-Id: <1182767583.10024.9.camel@abyss.pnhz.kz> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@FreeBSD.org, anders@FreeBSD.org Subject: Re: snd_hda, sound in both speaker and headphones 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: Mon, 25 Jun 2007 10:33:07 -0000 В пн, 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.