Skip to content

Instantly share code, notes, and snippets.

@lucidBrot
Created July 28, 2020 10:41
Show Gist options
  • Save lucidBrot/24fbcf714e199901b03ac3972af5d5a0 to your computer and use it in GitHub Desktop.
Save lucidBrot/24fbcf714e199901b03ac3972af5d5a0 to your computer and use it in GitHub Desktop.
Before and After adding the `snd_hda_intel.dmic_detect=0` kernel boot argument.
diff --git a/sound_normal_linux.txt b/sound_linux_nosndhdainteldmicdetect.txt
index f3d5e91..77e1574 100755
--- a/sound_normal_linux.txt
+++ b/sound_linux_nosndhdainteldmicdetect.txt
@@ -1,75 +1,112 @@
# (set -x && aplay -l && pacmd list-cards)
-# the system was booted without additional kernel arguments
+# the system was booted with kernel argument snd_hda_intel.dmic_detect=0
+ aplay -l
**** List of PLAYBACK Hardware Devices ****
-card 0: sofsklhdacard [sof-hda-dsp], device 0: HDA Analog (*) []
+card 0: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
-card 0: sofsklhdacard [sof-hda-dsp], device 1: HDA Digital (*) []
+card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
-card 0: sofsklhdacard [sof-hda-dsp], device 3: HDMI1 (*) []
+card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
-card 0: sofsklhdacard [sof-hda-dsp], device 4: HDMI2 (*) []
+card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
-card 0: sofsklhdacard [sof-hda-dsp], device 5: HDMI3 (*) []
+card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
+ Subdevices: 1/1
+ Subdevice #0: subdevice #0
+card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
+ pacmd list-cards
1 card(s) available.
index: 0
- name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
+ name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "0"
- alsa.card_name = "sof-hda-dsp"
- alsa.long_card_name = "LENOVO-20QFCTO1WW-ThinkPadX1Yoga4th"
- alsa.driver_name = "snd_soc_skl_hda_dsp"
- device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
- sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
+ alsa.card_name = "HDA Intel PCH"
+ alsa.long_card_name = "HDA Intel PCH at 0xea23c000 irq 169"
+ alsa.driver_name = "snd_hda_intel"
+ device.bus_path = "pci-0000:00:1f.3"
+ sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9dc8"
+ device.form_factor = "internal"
device.string = "0"
- device.description = "sof-hda-dsp"
+ device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
- Hdmi3: Play to Hdmi3 (priority 1000, available: unknown)
- Hdmi2: Play to Hdmi2 (priority 1000, available: unknown)
- Hdmi1: Play to Hdmi1 (priority 1000, available: unknown)
- HiFi: Play HiFi Music (priority 8000, available: unknown)
+ input:analog-stereo: Analog Stereo Input (priority 60, available: no)
+ output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
+ output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
+ output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
+ output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
+ output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
+ output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: no)
+ output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
+ output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: no)
+ output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
+ output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: no)
+ output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
+ output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: no)
+ output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
+ output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
+ output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
+ output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: no)
+ output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
+ output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
+ output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
+ output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: no)
+ output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
+ output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
+ output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
+ output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: no)
+ output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
+ output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no)
+ output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
+ output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no)
off: Off (priority 0, available: unknown)
- active profile: <HiFi>
+ active profile: <output:analog-stereo+input:analog-stereo>
sinks:
- alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofsklhdacard_0__sink/#0: sof-hda-dsp Headphone + Speaker
+ alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
- alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofsklhdacard_0__sink.monitor/#0: Monitor of sof-hda-dsp Headphone + Speaker
- alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofsklhdacard_6__source/#1: sof-hda-dsp Digital Microphone
- alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofsklhdacard_0__source/#2: sof-hda-dsp Headset Microphone
+ alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
+ alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
- [Out] HDMI3: HDMI3/DP3 Output (priority 500, latency offset 0 usec, available: no)
+ analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
+ properties:
+ device.icon_name = "audio-input-microphone"
+ analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
-
- [In] Dmic: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
+ device.icon_name = "audio-speakers"
+ analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
-
- [In] Headset Microphone: Headset Microphone (priority 100, latency offset 0 usec, available: no)
+ device.icon_name = "audio-headphones"
+ hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
-
- [Out] HDMI2: HDMI2/DP2 Output (priority 400, latency offset 0 usec, available: no)
+ device.icon_name = "video-display"
+ hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
-
- [Out] HDMI1: HDMI1/DP1 Output (priority 300, latency offset 0 usec, available: no)
+ device.icon_name = "video-display"
+ hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
-
- [Out] Headphone: Headphone (priority 200, latency offset 0 usec, available: no)
+ device.icon_name = "video-display"
+ hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
-
- [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
+ device.icon_name = "video-display"
+ hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
-
+ device.icon_name = "video-display"
@lucidBrot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment