snd_hda, sound in both speaker and headphones

Denis Eremenko moonshade at pnhz.kz
Mon Jun 25 08:46:09 UTC 2007


В пт, 22/06/2007 в 14:53 +0200, Anders Nordby пишет:


> 
> 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,




More information about the freebsd-multimedia mailing list