hda_audio

Firmware Test Suite - hda_audio test

HDA audio pin configurations are set by firmware and normally this is sufficient for audio setup (automatic probing). However sometimes the default configuration is not correct and requires a HDA audio quirk to override the defaults. This test compares the default firmware HDA audio configuration against that currently set by the driver. Any differences will indicate that the driver had to work around a broken firmware HDA configuration.

Example output from the test:

Check HDA Audio Pin Configs.
--------------------------------------------------------------------------------
Test 1 of 1: Check HDA Audio Pin Configs.
Checking 'hwC0D0':
Vendor Name    : Realtek
Vendor ID      : 0x10ec0269
Subsystem ID   : 0x17aa21fa
Revision ID    : 0x100203
BIOS pin configurations:
  Pin  Setting
  0x0012 0x90a60140
  0x0014 0x90170110
  0x0015 0x03211020
  0x0017 0x411111f0
  0x0018 0x03a11830
  0x0019 0x411111f0
  0x001a 0x411111f0
  0x001b 0x411111f0
  0x001d 0x40138205
  0x001e 0x411111f0
Driver defined pin configurations:
  Pin  Setting
  0x0019 0x23a11040
  0x001b 0x2121103f
BIOS pin configurations required software override to make HDA audio work
correctly.
The driver or user provided overrides should be corrected in BIOS firmware.

Checking 'hwC0D3':
Vendor Name    : Intel
Vendor ID      : 0x80862806
Subsystem ID   : 0x80860101
Revision ID    : 0x100000
BIOS pin configurations:
  Pin  Setting
  0x0005 0x18560010
  0x0006 0x18560020
  0x0007 0x18560030
PASSED: Test 1, Default BIOS pin configurations did not have software override.


================================================================================
1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
================================================================================

Examples:

fwts hda_audio - 

..runs the test on your machine and dumps the output to stdout.

FirmwareTestSuite/Reference/hda_audio (last edited 2016-01-11 07:24:46 by anthonywong)