Sound problem - starts playing for 1 second then stops

Asked by David Preininger

When I restart my computer, when I first try to use my speakers, I get about 0.5 second of normal sound, followed by about 0.5 second of really wierd sound (half muted, like my speakers are covered in some noise dampening foam or something) and no sound after that. So, the first time I try to use the speakers, I get about 1 second of sound and then none after that.

I have tried restarting pulseaudio, deleting pulseaudio config files and restarting, reinstalling pulse audio and other stuff highlighted here: https://help.ubuntu.com/community/SoundTroubleshootingProcedure
None of these worked.

My machine is an Asus laptop (I think it is Zenbook Flip 14). The problem exists regardless if I use built-in speakers or if I plug in my headphones.
The speakers do work in other operating systems, so it isn't a hardware problem.

ALSA information:

!!################################
!!ALSA Information Script v 0.5.1
!!################################

!!Script ran on: Mon Jun 27 10:14:28 UTC 2022

!!Linux Distribution
!!------------------

Ubuntu 20.04.4 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.4 LTS" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=focal

!!DMI Information
!!---------------

Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ZenBook UX461FN_UX461FN
Product Version: 1.0
Firmware Version: UX461FN.307
System SKU:
Board Vendor: ASUSTeK COMPUTER INC.
Board Name: UX461FN

!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/ACPI000C:00/status 15
/sys/bus/acpi/devices/ACPI000E:00/status 15
/sys/bus/acpi/devices/ACPI0011:00/status 15
/sys/bus/acpi/devices/APMD0001:00/status 15
/sys/bus/acpi/devices/ASUS1000:00/status 15
/sys/bus/acpi/devices/ATK3001:00/status 15
/sys/bus/acpi/devices/ELAN1300:00/status 15
/sys/bus/acpi/devices/ELAN7001:00/status 15
/sys/bus/acpi/devices/ELAN9008:00/status 15
/sys/bus/acpi/devices/INT33A1:00/status 15
/sys/bus/acpi/devices/INT33D3:00/status 15
/sys/bus/acpi/devices/INT33D5:00/status 15
/sys/bus/acpi/devices/INT3400:00/status 15
/sys/bus/acpi/devices/INT3403:00/status 15
/sys/bus/acpi/devices/INT3403:01/status 15
/sys/bus/acpi/devices/INT3403:02/status 15
/sys/bus/acpi/devices/INT3403:03/status 15
/sys/bus/acpi/devices/INT34BB:00/status 15
/sys/bus/acpi/devices/INT3F0D:00/status 15
/sys/bus/acpi/devices/LNXPOWER:00/status 1
/sys/bus/acpi/devices/LNXPOWER:01/status 15
/sys/bus/acpi/devices/LNXPOWER:02/status 1
/sys/bus/acpi/devices/LNXPOWER:03/status 1
/sys/bus/acpi/devices/LNXPOWER:04/status 1
/sys/bus/acpi/devices/LNXPOWER:05/status 1
/sys/bus/acpi/devices/LNXVIDEO:01/status 15
/sys/bus/acpi/devices/MSFT0101:00/status 15
/sys/bus/acpi/devices/PNP0103:00/status 15
/sys/bus/acpi/devices/PNP0C02:00/status 3
/sys/bus/acpi/devices/PNP0C02:03/status 3
/sys/bus/acpi/devices/PNP0C02:05/status 3
/sys/bus/acpi/devices/PNP0C0A:03/status 31
/sys/bus/acpi/devices/PNP0C0C:00/status 15
/sys/bus/acpi/devices/PNP0C0E:00/status 11
/sys/bus/acpi/devices/PNP0C0F:00/status 9
/sys/bus/acpi/devices/PNP0C0F:01/status 9
/sys/bus/acpi/devices/PNP0C0F:02/status 9
/sys/bus/acpi/devices/PNP0C0F:03/status 9
/sys/bus/acpi/devices/PNP0C0F:04/status 9
/sys/bus/acpi/devices/PNP0C0F:05/status 9
/sys/bus/acpi/devices/PNP0C0F:06/status 9
/sys/bus/acpi/devices/PNP0C0F:07/status 9
/sys/bus/acpi/devices/PRP00001:00/status 11
/sys/bus/acpi/devices/device:11/status 15

!!Kernel Information
!!------------------

Kernel release: 5.13.0-48-generic
Operating System: GNU/Linux
Architecture: x86_64
Processor: x86_64
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version: k5.13.0-48-generic
Library version: 1.2.2
Utilities version: 1.2.2

!!Loaded ALSA modules
!!-------------------

snd_hda_intel (card 0)

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb4318000 irq 150

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Audio device [0403]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 30) (prog-if 80)
 Subsystem: ASUSTeK Computer Inc. Cannon Point-LP High Definition Audio Controller [1043:170e]

!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2

!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
 align_buffer_size : -1
 bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
 dmic_detect : Y
 enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
 enable_msi : -1
 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
 index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
 patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
 pm_blacklist : Y
 position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 power_save : 1
 power_save_controller : Y
 probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
 single_cmd : -1
 snoop : -1

!!Sysfs card info
!!---------------

!!Card: /sys/class/sound/card0
Driver: /sys/bus/pci/drivers/snd_hda_intel
Tree:
 /sys/class/sound/card0
 |-- controlC0
 | |-- dev
 | |-- device -> ../../card0
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- device -> ../../../0000:00:1f.3
 |-- hwC0D0
 | |-- afg
 | |-- chip_name
 | |-- clear
 | |-- dev
 | |-- device -> ../../card0
 | |-- driver_pin_configs
 | |-- hints
 | |-- init_pin_configs
 | |-- init_verbs
 | |-- mfg
 | |-- modelname
 | |-- power
 | |-- power_off_acct
 | |-- power_on_acct
 | |-- reconfig
 | |-- revision_id
 | |-- subsystem -> ../../../../../../class/sound
 | |-- subsystem_id
 | |-- uevent
 | |-- user_pin_configs
 | |-- vendor_id
 | `-- vendor_name
 |-- hwC0D2
 | |-- afg
 | |-- chip_name
 | |-- clear
 | |-- dev
 | |-- device -> ../../card0
 | |-- driver_pin_configs
 | |-- hints
 | |-- init_pin_configs
 | |-- init_verbs
 | |-- mfg
 | |-- modelname
 | |-- power
 | |-- power_off_acct
 | |-- power_on_acct
 | |-- reconfig
 | |-- revision_id
 | |-- subsystem -> ../../../../../../class/sound
 | |-- subsystem_id
 | |-- uevent
 | |-- user_pin_configs
 | |-- vendor_id
 | `-- vendor_name
 |-- id
 |-- input30
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event22
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- input31
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event23
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- input32
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event24
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- input33
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event25
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- input34
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event26
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- input35
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event27
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- input36
 | |-- capabilities
 | |-- device -> ../../card0
 | |-- event28
 | |-- id
 | |-- inhibited
 | |-- modalias
 | |-- name
 | |-- phys
 | |-- power
 | |-- properties
 | |-- subsystem -> ../../../../../../class/input
 | |-- uevent
 | `-- uniq
 |-- number
 |-- pcmC0D0c
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- pcmC0D0p
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- pcmC0D10p
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- pcmC0D3p
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- pcmC0D7p
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- pcmC0D8p
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- pcmC0D9p
 | |-- dev
 | |-- device -> ../../card0
 | |-- pcm_class
 | |-- power
 | |-- subsystem -> ../../../../../../class/sound
 | `-- uevent
 |-- power
 | |-- async
 | |-- autosuspend_delay_ms
 | |-- control
 | |-- runtime_active_kids
 | |-- runtime_active_time
 | |-- runtime_enabled
 | |-- runtime_status
 | |-- runtime_suspended_time
 | `-- runtime_usage
 |-- subsystem -> ../../../../../class/sound
 `-- uevent

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC294
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0294
Subsystem Id: 0x1043170e
Revision Id: 0x100004
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states: D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC294 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals: [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals: [0x3c 0x3c]
  Converter: stream=0, channel=0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals: [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals: [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC294 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals: [0x27 0x27]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60130: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40000000: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x80 0x80]
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x02* 0x03 0x06
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x80 0x80]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x02 0x03* 0x06
Node 0x18 [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Headset Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x80 0x80]
  Pincap 0x00013734: IN OUT EAPD Detect
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4069bb2d: [N/A] Modem Line at Ext N/A
    Conn = XLR, Color = UNKNOWN
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=130
Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x04211020: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 4
     0x19 0x1a 0x1b 0x12*
Node 0x23 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 4
     0x19* 0x1a 0x1b 0x13
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x12* 0x13 0x18
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: Intel Kabylake HDMI
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x8086280b
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states: D0 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root audio 116, 11 Jun 27 12:06 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 9 Jun 27 12:06 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 10 Jun 27 12:06 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 3 Jun 27 12:12 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 2 Jun 27 12:12 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 8 Jun 27 12:12 /dev/snd/pcmC0D10p
crw-rw---- 1 root audio 116, 4 Jun 27 12:12 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116, 5 Jun 27 12:12 /dev/snd/pcmC0D7p
crw-rw---- 1 root audio 116, 6 Jun 27 12:12 /dev/snd/pcmC0D8p
crw-rw---- 1 root audio 116, 7 Jun 27 12:12 /dev/snd/pcmC0D9p
crw-rw---- 1 root audio 116, 1 Jun 27 12:06 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Jun 27 12:06 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Jun 27 12:06 .
drwxr-xr-x 3 root root 300 Jun 27 12:06 ..
lrwxrwxrwx 1 root root 12 Jun 27 12:06 pci-0000:00:1f.3 -> ../controlC0

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
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

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card PCH

Card hw:0 'PCH'/'HDA Intel PCH at 0xb4318000 irq 150'
  Mixer name : 'Realtek ALC294'
  Components : 'HDA:10ec0294,1043170e,00100004 HDA:8086280b,80860101,00100000'
  Controls : 53
  Simple ctrls : 13
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 39 [62%] [12.00dB] [on]
  Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

!!Alsactl output
!!--------------

--startcollapse--
state.PCH {
 control.1 {
  iface MIXER
  name 'Headphone Playback Volume'
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 87'
   dbmin -6525
   dbmax 0
   dbvalue.0 -6525
   dbvalue.1 -6525
  }
 }
 control.2 {
  iface MIXER
  name 'Headphone Playback Switch'
  value.0 false
  value.1 false
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.3 {
  iface MIXER
  name 'Speaker Playback Volume'
  value.0 87
  value.1 87
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 87'
   dbmin -6525
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.4 {
  iface MIXER
  name 'Speaker Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.5 {
  iface MIXER
  name 'Auto-Mute Mode'
  value Enabled
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 Disabled
   item.1 Enabled
  }
 }
 control.6 {
  iface MIXER
  name 'Capture Volume'
  value.0 39
  value.1 39
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 63'
   dbmin -1725
   dbmax 3000
   dbvalue.0 1200
   dbvalue.1 1200
  }
 }
 control.7 {
  iface MIXER
  name 'Capture Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.8 {
  iface MIXER
  name 'Headset Mic Boost Volume'
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 3'
   dbmin 0
   dbmax 3000
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.9 {
  iface MIXER
  name 'Internal Mic Boost Volume'
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 3'
   dbmin 0
   dbmax 3000
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.10 {
  iface MIXER
  name 'Master Playback Volume'
  value 60
  comment {
   access 'read write'
   type INTEGER
   count 1
   range '0 - 87'
   dbmin -6525
   dbmax 0
   dbvalue.0 -2025
  }
 }
 control.11 {
  iface MIXER
  name 'Master Playback Switch'
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.12 {
  iface CARD
  name 'Headset Mic Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.13 {
  iface CARD
  name 'Internal Mic Phantom Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.14 {
  iface CARD
  name 'Headphone Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.15 {
  iface CARD
  name 'Speaker Phantom Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.16 {
  iface PCM
  name 'Playback Channel Map'
  value.0 0
  value.1 0
  comment {
   access read
   type INTEGER
   count 2
   range '0 - 36'
  }
 }
 control.17 {
  iface PCM
  name 'Capture Channel Map'
  value.0 0
  value.1 0
  comment {
   access read
   type INTEGER
   count 2
   range '0 - 36'
  }
 }
 control.18 {
  iface CARD
  name 'HDMI/DP,pcm=3 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.19 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.20 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.21 {
  iface MIXER
  name 'IEC958 Playback Default'
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.22 {
  iface MIXER
  name 'IEC958 Playback Switch'
  value false
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.23 {
  iface PCM
  device 3
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.24 {
  iface CARD
  name 'HDMI/DP,pcm=7 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.25 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 1
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.26 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 1
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.27 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 1
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.28 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 1
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.29 {
  iface PCM
  device 7
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.30 {
  iface CARD
  name 'HDMI/DP,pcm=8 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.31 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 2
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.32 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 2
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.33 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 2
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.34 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 2
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.35 {
  iface PCM
  device 8
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.36 {
  iface CARD
  name 'HDMI/DP,pcm=9 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.37 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 3
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.38 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 3
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.39 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 3
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.40 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 3
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.41 {
  iface PCM
  device 9
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.42 {
  iface CARD
  name 'HDMI/DP,pcm=10 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.43 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 4
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.44 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 4
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.45 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 4
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.46 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 4
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.47 {
  iface PCM
  device 10
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.48 {
  iface PCM
  device 3
  name 'Playback Channel Map'
  value.0 0
  value.1 0
  value.2 0
  value.3 0
  value.4 0
  value.5 0
  value.6 0
  value.7 0
  comment {
   access 'read write'
   type INTEGER
   count 8
   range '0 - 36'
  }
 }
 control.49 {
  iface PCM
  device 7
  name 'Playback Channel Map'
  value.0 0
  value.1 0
  value.2 0
  value.3 0
  value.4 0
  value.5 0
  value.6 0
  value.7 0
  comment {
   access 'read write'
   type INTEGER
   count 8
   range '0 - 36'
  }
 }
 control.50 {
  iface PCM
  device 8
  name 'Playback Channel Map'
  value.0 0
  value.1 0
  value.2 0
  value.3 0
  value.4 0
  value.5 0
  value.6 0
  value.7 0
  comment {
   access 'read write'
   type INTEGER
   count 8
   range '0 - 36'
  }
 }
 control.51 {
  iface PCM
  device 9
  name 'Playback Channel Map'
  value.0 0
  value.1 0
  value.2 0
  value.3 0
  value.4 0
  value.5 0
  value.6 0
  value.7 0
  comment {
   access 'read write'
   type INTEGER
   count 8
   range '0 - 36'
  }
 }
 control.52 {
  iface PCM
  device 10
  name 'Playback Channel Map'
  value.0 0
  value.1 0
  value.2 0
  value.3 0
  value.4 0
  value.5 0
  value.6 0
  value.7 0
  comment {
   access 'read write'
   type INTEGER
   count 8
   range '0 - 36'
  }
 }
 control.53 {
  iface MIXER
  name 'PCM Playback Volume'
  value.0 255
  value.1 255
  comment {
   access 'read write user'
   type INTEGER
   count 2
   range '0 - 255'
   tlv '0000000100000008ffffec1400000014'
   dbmin -5100
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
}
--endcollapse--

!!All Loaded Modules
!!------------------

8250_dw
ac97_bus
acpi_pad
acpi_tad
acpi_thermal_rel
aesni_intel
af_alg
algif_hash
algif_skcipher
asus_nb_wmi
asus_wmi
aufs
autofs4
binfmt_misc
bluetooth
bnep
bpfilter
br_netfilter
bridge
btbcm
btintel
btrtl
btusb
ccm
cec
cfg80211
cmac
coretemp
crc32_pclmul
crct10dif_pclmul
cros_ec
cros_ec_ishtp
cryptd
crypto_simd
drm
drm_kms_helper
dw_dmac
dw_dmac_core
ecc
ecdh_generic
efi_pstore
fb_sys_fops
ghash_clmulni_intel
gpio_keys
hid
hid_generic
hid_multitouch
hid_sensor_accel_3d
hid_sensor_custom
hid_sensor_custom_intel_hinge
hid_sensor_hub
hid_sensor_iio_common
hid_sensor_trigger
i2c_algo_bit
i2c_hid
i2c_hid_acpi
i2c_i801
i2c_smbus
i915
idma64
industrialio
industrialio_triggered_buffer
input_leds
int3400_thermal
int3403_thermal
int340x_thermal_zone
intel_cstate
intel_hid
intel_ish_ipc
intel_ishtp
intel_ishtp_hid
intel_ishtp_loader
intel_lpss
intel_lpss_pci
intel_pch_thermal
intel_powerclamp
intel_rapl_common
intel_rapl_msr
intel_soc_dts_iosf
intel_tcc_cooling
ip_tables
ipmi_devintf
ipmi_msghandler
iptable_filter
iptable_nat
iwlmvm
iwlwifi
joydev
kfifo_buf
kvm
kvm_intel
ledtrig_audio
libarc4
libcrc32c
llc
lp
mac80211
mac_hid
mc
mei
mei_hdcp
mei_me
mfd_aaeon
msr
mxm_wmi
nf_conntrack
nf_conntrack_netlink
nf_defrag_ipv4
nf_defrag_ipv6
nf_nat
nfnetlink
nls_iso8859_1
nvidia
nvidia_drm
nvidia_modeset
nvidia_uvm
nvme
nvme_core
overlay
parport
parport_pc
pinctrl_cannonlake
ppdev
processor_thermal_device
processor_thermal_mbox
processor_thermal_rapl
processor_thermal_rfim
rapl
rc_core
sch_fq_codel
serio_raw
snd
snd_compress
snd_hda_codec
snd_hda_codec_generic
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_core
snd_hda_ext_core
snd_hda_intel
snd_hwdep
snd_intel_dspcfg
snd_intel_sdw_acpi
snd_pcm
snd_pcm_dmaengine
snd_rawmidi
snd_seq
snd_seq_device
snd_seq_midi
snd_seq_midi_event
snd_soc_acpi
snd_soc_acpi_intel_match
snd_soc_core
snd_soc_hdac_hda
snd_sof
snd_sof_intel_hda
snd_sof_intel_hda_common
snd_sof_pci
snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp
snd_timer
soc_button_array
soundcore
soundwire_bus
soundwire_cadence
soundwire_generic_allocation
soundwire_intel
sparse_keymap
spi_pxa2xx_platform
stp
syscopyarea
sysfillrect
sysimgblt
usbhid
uvcvideo
video
videobuf2_common
videobuf2_memops
videobuf2_v4l2
videobuf2_vmalloc
videodev
wmi
wmi_bmof
x86_pkg_temp_thermal
x_tables
xfrm_algo
xfrm_user
xhci_pci
xhci_pci_renesas
xt_MASQUERADE
xt_addrtype
xt_conntrack

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x90a60130
0x13 0x40000000
0x14 0x411111f0
0x15 0x411111f0
0x16 0x411111f0
0x17 0x90170110
0x18 0x411111f0
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4069bb2d
0x1e 0x411111f0
0x1f 0x411111f0
0x21 0x04211020

/sys/class/sound/hwC0D0/driver_pin_configs:
0x19 0x01a1103c

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D2/init_pin_configs:
0x05 0x18560010
0x06 0x18560010
0x07 0x18560010

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

/sys/class/sound/hwC0D2/hints:

!!ALSA/HDA dmesg
!!--------------

[ 0.105318] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.105319] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.105319] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[ 0.250389] pci 0000:02:00.0: reg 0x30: [mem 0xb4000000-0xb407ffff pref]
[ 0.250408] pci 0000:02:00.0: Enabling HDA controller
[ 0.250799] pci 0000:00:1c.4: PCI bridge to [bus 02]
--
[ 3.639543] iwlwifi 0000:00:14.3: base HW address: 38:00:25:3c:1d:b0
[ 3.661539] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 3.661605] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.707040] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
--
[ 4.289569] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:22/LNXVIDEO:01/input/input22
[ 4.289717] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.298172] input: ELAN9008:00 04F3:2555 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN9008:00/0018:04F3:2555.0001/input/input23
--
[ 4.351200] intel_tcc_cooling: Programmable TCC Offset detected
[ 4.362859] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 4.362867] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.362872] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 4.362876] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 4.362878] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 4.362881] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 4.362884] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 4.363126] [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
--
[ 4.733580] loop22: detected capacity change from 0 to 213448
[ 4.779131] input: HDA Intel PCH Headset Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[ 4.779317] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[ 4.779521] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input32
[ 4.779708] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input33
[ 4.779895] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input34
[ 4.780104] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input35
[ 4.780289] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input36
[ 4.801691] loop23: detected capacity change from 0 to 264808

!!Packages installed
!!--------------------

ii alsa-topology-conf 1.2.2-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.2-1ubuntu0.13 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities for configuring and using ALSA

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

When the issue starts, open a terminal and run:

dmesg | tail

What is the output please?

It may give clues

Revision history for this message
David Preininger (d-preininger) said (last edit ):
#2

Last 40 lines of dmesg:

[ 5.590680] audit: type=1400 audit(1656406863.565:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=850 comm="apparmor_parser"
[ 5.590954] audit: type=1400 audit(1656406863.565:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=842 comm="apparmor_parser"
[ 5.825505] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.825509] Bluetooth: BNEP filters: protocol multicast
[ 5.825514] Bluetooth: BNEP socket layer initialized
[ 5.833552] NET: Registered protocol family 38
[ 5.884958] process '/usr/bin/anydesk' started with executable stack
[ 6.085331] aufs 5.x-rcN-20210809
[ 6.869534] Lockdown: Xorg: raw io port access is restricted; see man kernel_lockdown.7
[ 7.091751] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210331/nsarguments-61)
[ 7.668599] loop34: detected capacity change from 0 to 8
[ 9.590005] wlo1: authenticate with c8:d1:2a:d9:45:b4
[ 9.595781] wlo1: send auth to c8:d1:2a:d9:45:b4 (try 1/3)
[ 9.635085] wlo1: authenticated
[ 9.636431] wlo1: associate with c8:d1:2a:d9:45:b4 (try 1/3)
[ 9.640434] wlo1: RX AssocResp from c8:d1:2a:d9:45:b4 (capab=0x411 status=0 aid=1)
[ 9.643952] wlo1: associated
[ 9.728663] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 10.040540] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 10.042862] Bridge firewalling registered
[ 10.048815] bpfilter: Loaded bpfilter_umh pid 1802
[ 10.049105] Started bpfilter
[ 10.125213] Initializing XFRM netlink socket
[ 11.792896] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 12.000533] rfkill: input handler disabled
[ 24.956670] rfkill: input handler enabled
[ 25.107243] Lockdown: Xorg: raw io port access is restricted; see man kernel_lockdown.7
[ 29.129986] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 29.810074] rfkill: input handler disabled
[ 253.567029] kauditd_printk_skb: 52 callbacks suppressed
[ 253.567035] audit: type=1400 audit(1656399911.988:64): apparmor="DENIED" operation="capable" profile="/snap/snapd/16010/usr/lib/snapd/snap-confine" pid=4793 comm="snap-confine" capability=4 capname="fsetid"
[ 256.364938] audit: type=1326 audit(1656399914.787:65): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.spotify.spotify pid=4909 comm="spotify" exe="/snap/spotify/60/usr/share/spotify/spotify" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7eff4fa6bc7f code=0x50000
[ 256.364944] audit: type=1326 audit(1656399914.787:66): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.spotify.spotify pid=4909 comm="spotify" exe="/snap/spotify/60/usr/share/spotify/spotify" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7eff4fa6bc7f code=0x50000
[ 256.364966] audit: type=1326 audit(1656399914.787:67): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.spotify.spotify pid=4909 comm="spotify" exe="/snap/spotify/60/usr/share/spotify/spotify" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7eff4fa6bc7f code=0x50000
[ 256.365003] audit: type=1326 audit(1656399914.787:68): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.spotify.spotify pid=4909 comm="spotify" exe="/snap/spotify/60/usr/share/spotify/spotify" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7eff4fa6bc7f code=0x50000
[ 256.657343] audit: type=1400 audit(1656399915.079:69): apparmor="DENIED" operation="open" profile="snap.spotify.spotify" name="/sys/devices/virtual/dmi/id/sys_vendor" pid=4793 comm=436F726520546872656164 requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 256.657361] audit: type=1400 audit(1656399915.079:70): apparmor="DENIED" operation="open" profile="snap.spotify.spotify" name="/sys/devices/virtual/dmi/id/product_name" pid=4793 comm=436F726520546872656164 requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 256.950080] audit: type=1107 audit(1656399915.371:71): pid=911 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.NetworkManager" member="state" mask="send" name=":1.13" pid=4793 label="snap.spotify.spotify" peer_pid=912 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 257.601990] audit: type=1326 audit(1656399916.023:72): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.spotify.spotify pid=4961 comm="spotify" exe="/snap/spotify/60/usr/share/spotify/spotify" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7f9883f724e7 code=0x50000

I should also mention that sound sometimes works normally (about 1 in every 5 times i boot my computer)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Are you testing sound with Spotify?

Revision history for this message
David Preininger (d-preininger) said :
#4

Yes, but the problem exists no matter what application tries to play the sound.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.