aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sound/alsa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-17 11:30:54 -0400
committerTakashi Iwai <tiwai@suse.de>2009-06-24 05:53:43 -0400
commit1e7b8c87cb53d9a14f1a9ef35eed739f68851f5c (patch)
tree4f3f3c2b3db2b40e419f7d3f9fb72b785f0f2e3d /Documentation/sound/alsa
parent768248256339da88d65088c8beffe1a3dcd9f1ca (diff)
ALSA: hda - More description about patch module option
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/sound/alsa')
-rw-r--r--Documentation/sound/alsa/ALSA-Configuration.txt4
-rw-r--r--Documentation/sound/alsa/HD-Audio.txt16
2 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt
index 012858d2b11..414700b996a 100644
--- a/Documentation/sound/alsa/ALSA-Configuration.txt
+++ b/Documentation/sound/alsa/ALSA-Configuration.txt
@@ -749,6 +749,10 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
749 bdl_pos_adj - Specifies the DMA IRQ timing delay in samples. 749 bdl_pos_adj - Specifies the DMA IRQ timing delay in samples.
750 Passing -1 will make the driver to choose the appropriate 750 Passing -1 will make the driver to choose the appropriate
751 value based on the controller chip. 751 value based on the controller chip.
752 patch - Specifies the early "patch" files to modify the HD-audio
753 setup before initializing the codecs. This option is
754 available only when CONFIG_SND_HDA_PATCH_LOADER=y is set.
755 See HD-Audio.txt for details.
752 756
753 [Single (global) options] 757 [Single (global) options]
754 single_cmd - Use single immediate commands to communicate with 758 single_cmd - Use single immediate commands to communicate with
diff --git a/Documentation/sound/alsa/HD-Audio.txt b/Documentation/sound/alsa/HD-Audio.txt
index 8bc9867c0a3..55aab116823 100644
--- a/Documentation/sound/alsa/HD-Audio.txt
+++ b/Documentation/sound/alsa/HD-Audio.txt
@@ -410,7 +410,7 @@ firmware file for modifying the HD-audio setup before initializing the
410codec. This can work basically like the reconfiguration via sysfs in 410codec. This can work basically like the reconfiguration via sysfs in
411the above, but it does it before the first codec configuration. 411the above, but it does it before the first codec configuration.
412 412
413The patch file looks like below: 413A patch file is a plain text file which looks like below:
414 414
415------------------------------------------------------------------------ 415------------------------------------------------------------------------
416 [codec] 416 [codec]
@@ -448,6 +448,20 @@ Similarly, the lines after `[verb]` are parsed as `init_verbs`
448sysfs entries, and the lines after `[hint]` are parsed as `hints` 448sysfs entries, and the lines after `[hint]` are parsed as `hints`
449sysfs entries, respectively. 449sysfs entries, respectively.
450 450
451The hd-audio driver reads the file via request_firmware(). Thus,
452a patch file has to be located on the appropriate firmware path,
453typically, /lib/firmware. For example, when you pass the option
454`patch=hda-init.fw`, the file /lib/firmware/hda-init-fw must be
455present.
456
457The patch module option is specific to each card instance, and you
458need to give one file name for each instance, separated by commas.
459For example, if you have two cards, one for an on-board analog and one
460for an HDMI video board, you may pass patch option like below:
461------------------------------------------------------------------------
462 options snd-hda-intel patch=on-board-patch,hdmi-patch
463------------------------------------------------------------------------
464
451 465
452Power-Saving 466Power-Saving
453~~~~~~~~~~~~ 467~~~~~~~~~~~~