ASUS EeePC 1001px has strange variant of ALC269 CODEC, that mutes speaker

if unused in that configuration mixer at NID 15 is muted.  Probably CODEC
incorrectly reports its internal connections.  Hide that muter from the
driver to avoid muting and make built-in speaker work.

There are several different CODECs sharing this ID and I have not enough
information about them and the bug to implement more universal solution.

Tested by:	Big Yuuta <init.py@gmail.com>
MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2012-10-31 22:11:51 +00:00
parent aff98f17c6
commit 3049555773

View File

@ -541,6 +541,21 @@ hdaa_patch(struct hdaa_devinfo *devinfo)
if (w != NULL)
w->connsenable[0] = 0;
break;
case HDA_CODEC_ALC269:
/*
* ASUS EeePC 1001px has strange variant of ALC269 CODEC,
* that mutes speaker if unused mixer at NID 15 is muted.
* Probably CODEC incorrectly reports internal connections.
* Hide that muter from the driver. There are several CODECs
* sharing this ID and I have not enough information about
* them to implement more universal solution.
*/
if (subid == 0x84371043) {
w = hdaa_widget_get(devinfo, 15);
if (w != NULL)
w->param.inamp_cap = 0;
}
break;
case HDA_CODEC_CX20582:
case HDA_CODEC_CX20583:
case HDA_CODEC_CX20584: