```
> dpkg -l | grep libasound2
ii libasound2:amd64 1.1.3-5ubuntu0.3 amd64 shared library for ALSA applications
ii libasound2-data 1.1.3-5ubuntu0.3 all Configuration files and profiles for ALSA drivers
ii libasound2-plugins:amd64 1.1.1-1ubuntu1 amd64 ALSA library additional plugins
```
3) Upgraded linux-firmware to "1.173.15"
4) Installed "linux-oem-osp1" - "5.0.0-1038-oem-osp1"
5) Verified that all the UCM files are there:
6) Blacklisted "snd_soc_skl" and "snd_hda_intel" on "/etc/modprobe.d/blacklist.conf"
7) Verified that SOF firmware has been loaded correctly:
```
dmesg | grep sof | grep -iv microsoft
[ 3.558639] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 3.558647] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[ 3.558800] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 3.567161] sof-audio-pci 0000:00:1f.3: Linked as a consumer to 0000:00:02.0
[ 3.567247] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.607451] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 3.607454] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 3.641575] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 3.641577] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 3.723585] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-0f736
[ 3.723587] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:7:0 Kernel ABI 3:6:0
[ 3.723588] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[ 3.723793] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 3.969365] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:7:0 Kernel ABI 3:6:0
[ 3.969366] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[ 3.969369] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[ 3.970268] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[ 3.970269] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[ 3.970986] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[ 3.970989] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[ 3.971741] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[ 3.971743] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[ 3.972525] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[ 3.972527] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[ 3.972529] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[ 3.972531] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[ 3.972532] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[ 3.972534] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[ 3.973342] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[ 3.973343] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[ 3.974153] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[ 3.974155] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[ 3.974930] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[ 3.981916] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[ 4.058562] input: sof-skl_hda_card Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
[ 4.058597] input: sof-skl_hda_card Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
[ 4.058638] input: sof-skl_hda_card HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
[ 4.058665] input: sof-skl_hda_card HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
[ 4.058697] input: sof-skl_hda_card HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
[ 5.857580] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 5.953052] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 14.582472] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 14.678517] sof-audio-pci 0000:00:1f.3: firmware boot complete
```
I restarted everything and now i have several problems:
1) Just the front speakers get recognized (not 4+1)
2) The microphone gets routed to the soundcard instead of DMIC.
On a machine Lenovo Thinkpad X1 Carbon 7th, running Bionic, verification failed.
What i did:
1) Enabled Proposed repository
2) Installed libasound2:
``` plugins: amd64 1.1.1-1ubuntu1 amd64 ALSA library additional plugins
> dpkg -l | grep libasound2
ii libasound2:amd64 1.1.3-5ubuntu0.3 amd64 shared library for ALSA applications
ii libasound2-data 1.1.3-5ubuntu0.3 all Configuration files and profiles for ALSA drivers
ii libasound2-
```
3) Upgraded linux-firmware to "1.173.15" 1038-oem- osp1"
4) Installed "linux-oem-osp1" - "5.0.0-
5) Verified that all the UCM files are there:
``` tabla-snd- card Lenovo- DualCodecs 20QE000VMC- ThinkPadX1Carbo n7th-20QE000VMC 20QESITR05- ThinkPadX1Carbo n7th-20QESITR05 20UB0SIT17- ThinkPadX1YogaG en5-20UB0SIT17 MFG_IN_ GO-ThinkPad- MFG_IN_ GO taiko-mtp- snd-card
ucm
├── apq8064-
├── broadwell-rt286
├── chtrt5645
├── DAISY-I2S
├── DB410c
├── Dell-WD15-Dock
├── GoogleNyan
├── HDAudio-
├── LENOVO-
├── LENOVO-
├── LENOVO-
├── LENOVO-
├── Manta-I2S
├── Manta-SPDIF
├── msm8974-
├── PandaBoard
├── PandaBoardES
├── PAZ00
├── SDP4430
├── skylake-rt286
├── sof-skl_hda_card
├── tegraalc5632
├── tegra-rt5640
├── Tuna
└── VEYRON-I2S
```
6) Blacklisted "snd_soc_skl" and "snd_hda_intel" on "/etc/modprobe. d/blacklist. conf"
7) Verified that SOF firmware has been loaded correctly:
``` prog-if 0x040380 component_ bind_ops [i915]) pci0000: 00/0000: 00:1f.3/ skl_hda_ dsp_generic/ sound/card0/ input16 pci0000: 00/0000: 00:1f.3/ skl_hda_ dsp_generic/ sound/card0/ input17 pci0000: 00/0000: 00:1f.3/ skl_hda_ dsp_generic/ sound/card0/ input18 pci0000: 00/0000: 00:1f.3/ skl_hda_ dsp_generic/ sound/card0/ input19 pci0000: 00/0000: 00:1f.3/ skl_hda_ dsp_generic/ sound/card0/ input20
dmesg | grep sof | grep -iv microsoft
[ 3.558639] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 3.558647] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/
[ 3.558800] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 3.567161] sof-audio-pci 0000:00:1f.3: Linked as a consumer to 0000:00:02.0
[ 3.567247] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_
[ 3.607451] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 3.607454] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 3.641575] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 3.641577] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 3.723585] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-0f736
[ 3.723587] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:7:0 Kernel ABI 3:6:0
[ 3.723588] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[ 3.723793] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 3.969365] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:7:0 Kernel ABI 3:6:0
[ 3.969366] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[ 3.969369] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[ 3.970268] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[ 3.970269] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[ 3.970986] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[ 3.970989] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[ 3.971741] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[ 3.971743] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[ 3.972525] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[ 3.972527] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[ 3.972529] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[ 3.972531] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[ 3.972532] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[ 3.972534] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[ 3.973342] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[ 3.973343] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[ 3.974153] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[ 3.974155] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[ 3.974930] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[ 3.981916] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[ 4.058562] input: sof-skl_hda_card Mic as /devices/
[ 4.058597] input: sof-skl_hda_card Headphone as /devices/
[ 4.058638] input: sof-skl_hda_card HDMI/DP,pcm=3 as /devices/
[ 4.058665] input: sof-skl_hda_card HDMI/DP,pcm=4 as /devices/
[ 4.058697] input: sof-skl_hda_card HDMI/DP,pcm=5 as /devices/
[ 5.857580] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 5.953052] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 14.582472] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 14.678517] sof-audio-pci 0000:00:1f.3: firmware boot complete
```
I restarted everything and now i have several problems:
1) Just the front speakers get recognized (not 4+1)
2) The microphone gets routed to the soundcard instead of DMIC.