Fix headphone jack sensing support for Olivetti Olibook 610-430 XPSE.

Tested by:	Gonzalo Lionel Rodriguez
This commit is contained in:
Ariff Abdullah 2007-06-18 22:39:27 +00:00
parent ea1fbec59a
commit 715ed548ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170944

View File

@ -80,7 +80,7 @@
#include "mixer_if.h" #include "mixer_if.h"
#define HDA_DRV_TEST_REV "20070611_0045" #define HDA_DRV_TEST_REV "20070619_0045"
#define HDA_WIDGET_PARSER_REV 1 #define HDA_WIDGET_PARSER_REV 1
SND_DECLARE_FILE("$FreeBSD$"); SND_DECLARE_FILE("$FreeBSD$");
@ -257,6 +257,7 @@ SND_DECLARE_FILE("$FreeBSD$");
/* Uniwill ? */ /* Uniwill ? */
#define UNIWILL_VENDORID 0x1584 #define UNIWILL_VENDORID 0x1584
#define UNIWILL_9075_SUBVENDOR HDA_MODEL_CONSTRUCT(UNIWILL, 0x9075) #define UNIWILL_9075_SUBVENDOR HDA_MODEL_CONSTRUCT(UNIWILL, 0x9075)
#define UNIWILL_9080_SUBVENDOR HDA_MODEL_CONSTRUCT(UNIWILL, 0x9080)
/* Misc constants.. */ /* Misc constants.. */
@ -635,6 +636,8 @@ static const struct {
0, 0, -1, 20, { 21, -1 }, -1 }, 0, 0, -1, 20, { 21, -1 }, -1 },
{ ACER_3681WXM_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL, { ACER_3681WXM_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL,
0, 0, -1, 20, { 21, -1 }, -1 }, 0, 0, -1, 20, { 21, -1 }, -1 },
{ UNIWILL_9080_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL,
0, 0, -1, 20, { 21, -1 }, -1 },
{ MSI_MS1034_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL, { MSI_MS1034_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL,
0, 0, -1, 20, { 27, -1 }, -1 }, 0, 0, -1, 20, { 27, -1 }, -1 },
/* /*