firmware: Add Sound Open Firmware

This commit is contained in:
Xi Ruoyao 2023-06-28 00:15:29 +08:00
parent a0da9419fd
commit cc550bc48d
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 40 additions and 1 deletions

View File

@ -141,7 +141,7 @@ make</userinput></screen>
</sect2>
<sect2 role="configuration">
<sect2 role="configuration" id="alsa-utils-config-sect">
<title>Configuring ALSA Utilities</title>
<sect3 id="alsa-utils-config">

View File

@ -692,6 +692,45 @@ cp -d nv* vuc-* /lib/firmware/nouveau/</userinput></screen>
</para>
</sect2>
<sect2 id="sound-open-firmware">
<title>Sound Open Firmware</title>
<para>
Some systems (especially budget laptops) utilizes a DSP shipped with
the CPU for connection with the audio codec. The Sound Open Firmware
must be loaded onto the DSP to make it functional. These firmware
files can be downloaded from
<ulink url='https://github.com/thesofproject/sof-bin/releases'/>.
Extract the tarball and changing into the extracted directory,
then as the &root; user install the firmware:
</para>
<screen role="nodump"><userinput>install -vdm755 /usr/lib/firmware/intel &amp;&amp;
cp -av -T --no-preserve=ownership sof-* \
/usr/lib/firmware/intel/sof &amp;&amp;
cp -av -T --no-preserve=ownership sof-tplg-* \
/usr/lib/firmware/intel/sof-tplg</userinput></screen>
<para>
<xref linkend="alsa-lib"/> needs Use Case Manager configuration files
for the systems using Sound Open Firmware as well. The ALSA UCM
configuration files can be downloaded from
<ulink url='https://github.com/alsa-project/alsa-ucm-conf/tags'/>.
Extract the tarball and changing into the extracted directory,
then as the &root; user install the configuration files:
</para>
<screen role="nodump"><userinput>install -vdm755 /usr/share/alsa &amp;&amp;
cp -av -T --no-preserve=ownership ucm2 /usr/share/alsa/ucm2</userinput></screen>
<para>
Once the firmware is loaded (you may need a reboot so the kernel will
load them) and the UCM configuration files are installed, following
<xref linkend="alsa-utils-config-sect"/> to set up your sound card for
ALSA properly.
</para>
</sect2>
<sect2 id="other-firmware">
<title>Firmware for Other Devices</title>