Sound mostly not working

Asked by Jonatan Männchen

After most restarts, Ubuntu only recognizes "Dummy Output".

After cleaning the pulse config, deleting the file /var/lib/alsa/asound.state and restarting, sometimes only the DisplayPort Audio or sometimes also the internal sound card is recognized. After a restart, im back to step 0.

The computer is a Tuxedo Book and is setup according to this guide: https://www.tuxedocomputers.com/en/Adjustments-after-installation.tuxedo#

bash alsa-info.sh --stdout:

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################

!!Script ran on: Tue Aug 13 08:38:06 UTC 2019

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

Ubuntu 19.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 19.04" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 19.04" 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=disco

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

Manufacturer: TUXEDO
Product Name: TUXEDO
Product Version: Not Applicable
Firmware Version: 1.07.05
Board Vendor: TUXEDO
Board Name: N350TW

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

/sys/bus/acpi/devices/ACPI0003:00/status 15
/sys/bus/acpi/devices/INT0E0C:00/status 15
/sys/bus/acpi/devices/INT340E: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 1
/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/MSFT0101:00/status 15
/sys/bus/acpi/devices/PNP0103:00/status 15
/sys/bus/acpi/devices/PNP0501:00/status 15
/sys/bus/acpi/devices/PNP0A05:00/status 15
/sys/bus/acpi/devices/PNP0C02:00/status 3
/sys/bus/acpi/devices/PNP0C04:00/status 31
/sys/bus/acpi/devices/PNP0C0A:00/status 31
/sys/bus/acpi/devices/PNP0C0C:00/status 15
/sys/bus/acpi/devices/PNP0C0D:00/status 15
/sys/bus/acpi/devices/PNP0C0E:00/status 15

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

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

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

Driver version: k5.0.0-23-generic
Library version: 1.1.8
Utilities version: 1.1.8

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

snd_hda_intel

!!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 0x604b100000 irq 140

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

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)

!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:1f.3 0403: 8086:a348 (rev 10)
 Subsystem: 1558:0351

!!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
 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 : 0
 power_save_controller : N
 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

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

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 GenLevel KAE
  Digital category: 0x2
  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: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states: D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 3
     0x02* 0x03 0x04
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
  In-driver Connection: 3
     0x02 0x03 0x04
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
  In-driver Connection: 3
     0x02 0x03 0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--

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

crw-rw----+ 1 root audio 116, 8 Aug 13 10:30 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 7 Aug 13 10:30 /dev/snd/hwC0D2
crw-rw----+ 1 root audio 116, 6 Aug 13 10:35 /dev/snd/pcmC0D10p
crw-rw----+ 1 root audio 116, 2 Aug 13 10:35 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 3 Aug 13 10:35 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116, 4 Aug 13 10:35 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116, 5 Aug 13 10:35 /dev/snd/pcmC0D9p
crw-rw----+ 1 root audio 116, 1 Aug 13 10:35 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Aug 13 10:30 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Aug 13 10:30 .
drwxr-xr-x 3 root root 240 Aug 13 10:30 ..
lrwxrwxrwx 1 root root 12 Aug 13 10:30 pci-0000:00:1f.3 -> ../controlC0

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

APLAY

**** List of PLAYBACK Hardware Devices ****
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 ****

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

!!-------Mixer controls for card 0 [PCH]

Card hw:0 'PCH'/'HDA Intel PCH at 0x604b100000 irq 140'
  Mixer name : 'Intel Kabylake HDMI'
  Components : 'HDA:8086280b,80860101,00100000'
  Controls : 36
  Simple ctrls : 6
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 [on]
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]

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

--startcollapse--
state.PCH {
 control.1 {
  iface CARD
  name 'HDMI/DP,pcm=3 Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.2 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.3 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.4 {
  iface MIXER
  name 'IEC958 Playback Default'
  value '0482000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.5 {
  iface MIXER
  name 'IEC958 Playback Switch'
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.6 {
  iface PCM
  device 3
  name ELD
  value '100008006c14000100000000000000001e6de25a4c4720554c5452415749444509060700'
  comment {
   access 'read volatile'
   type BYTES
   count 36
  }
 }
 control.7 {
  iface CARD
  name 'HDMI/DP,pcm=7 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.8 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 1
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.9 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 1
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.10 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 1
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.11 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 1
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.12 {
  iface PCM
  device 7
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.13 {
  iface CARD
  name 'HDMI/DP,pcm=8 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.14 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 2
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.15 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 2
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.16 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 2
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.17 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 2
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.18 {
  iface PCM
  device 8
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.19 {
  iface CARD
  name 'HDMI/DP,pcm=9 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.20 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 3
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.21 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 3
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.22 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 3
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.23 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 3
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.24 {
  iface PCM
  device 9
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.25 {
  iface CARD
  name 'HDMI/DP,pcm=10 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.26 {
  iface MIXER
  name 'IEC958 Playback Con Mask'
  index 4
  value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.27 {
  iface MIXER
  name 'IEC958 Playback Pro Mask'
  index 4
  value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access read
   type IEC958
   count 1
  }
 }
 control.28 {
  iface MIXER
  name 'IEC958 Playback Default'
  index 4
  value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  comment {
   access 'read write'
   type IEC958
   count 1
  }
 }
 control.29 {
  iface MIXER
  name 'IEC958 Playback Switch'
  index 4
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.30 {
  iface PCM
  device 10
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.31 {
  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.32 {
  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.33 {
  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.34 {
  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.35 {
  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.36 {
  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
!!------------------

Module
snd_soc_skl
snd_soc_hdac_hda
snd_hda_ext_core
snd_soc_skl_ipc
snd_soc_sst_ipc
snd_soc_sst_dsp
snd_soc_acpi_intel_match
snd_soc_acpi
snd_soc_core
snd_compress
ac97_bus
snd_pcm_dmaengine
snd_seq_midi
snd_seq_midi_event
snd_seq
snd_rawmidi
snd_seq_device
thunderbolt
pci_stub
vboxpci
vboxnetadp
vboxnetflt
cmac
rfcomm
bnep
cdc_acm
btusb
uvcvideo
btrtl
videobuf2_vmalloc
videobuf2_memops
btbcm
cdc_mbim
videobuf2_v4l2
btintel
cdc_wdm
videobuf2_common
cdc_ncm
videodev
usbnet
mii
vboxdrv
media
option
aufs
overlay
bluetooth
ecdh_generic
nls_iso8859_1
arc4
snd_hda_codec_hdmi
snd_hda_intel
snd_hda_codec
snd_hda_core
snd_hwdep
snd_pcm
joydev
iwlmvm
mac80211
input_leds
snd_timer
intel_wmi_thunderbolt
wmi_bmof
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
snd
coretemp
iwlwifi
kvm_intel
intel_cstate
intel_rapl_perf
serio_raw
rtsx_pci_ms
soundcore
cfg80211
memstick
mei_me
intel_pch_thermal
mei
acpi_pad
mac_hid
sch_fq_codel
tuxedo_keyboard
qcserial
usb_wwan
usbserial
parport_pc
ppdev
lp
parport
ip_tables
x_tables
autofs4
algif_skcipher
af_alg
dm_crypt
hid_logitech_hidpp
hid_logitech_dj
hid_generic
usbhid
hid
crct10dif_pclmul
crc32_pclmul
ghash_clmulni_intel
i915
rtsx_pci_sdmmc
kvmgt
vfio_mdev
aesni_intel
mdev
vfio_iommu_type1
vfio
kvm
aes_x86_64
irqbypass
crypto_simd
i2c_algo_bit
cryptd
glue_helper
drm_kms_helper
syscopyarea
sysfillrect
sysimgblt
fb_sys_fops
e1000e
psmouse
drm
ahci
rtsx_pci
i2c_i801
libahci
wmi
video

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

/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.308924] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.308925] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.308926] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[ 13.594236] iwlwifi 0000:6c:00.0: base HW address: 98:3b:8f:b1:d2:4e
[ 13.614837] snd_hda_intel 0000:00:1f.3: Linked as a consumer to 0000:00:02.0
[ 13.614868] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 13.640263] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[ 13.640299] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[ 13.640329] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[ 13.640363] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[ 13.640400] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input32
[ 13.672250] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'

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

Do you have the latest BIOS for the system?

Revision history for this message
Jonatan Männchen (maennchen) said :
#2

I'm not sure. This is the dmidecode output:

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.1 present.
Table at 0x2E399000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
 Vendor: INSYDE Corp.
 Version: 1.07.05
 Release Date: 08/14/2018
 Address: 0xE0000
 Runtime Size: 128 kB
 ROM Size: 10240 kB
 Characteristics:
  PCI is supported
  BIOS is upgradeable
  BIOS shadowing is allowed
  Selectable boot is supported
  EDD is supported
  Print screen service is supported (int 5h)
  Printer services are supported (int 17h)
  ACPI is supported
  USB legacy is supported
  BIOS boot specification is supported
  Targeted content distribution is supported
  UEFI is supported
 BIOS Revision: 7.5
 Firmware Revision: 7.3

Handle 0x0001, DMI type 1, 27 bytes
System Information
 Manufacturer: TUXEDO
 Product Name: TUXEDO
 Version: Not Applicable
 Serial Number: Not Applicable
 UUID: 80768ae3-ad1b-4879-9997-b00aa1493f34
 Wake-up Type: Power Switch
 SKU Number: Not Applicable
 Family: Not Applicable

Handle 0x0002, DMI type 2, 17 bytes
Base Board Information
 Manufacturer: TUXEDO
 Product Name: N350TW
 Version: Not Applicable
 Serial Number: Not Applicable
 Asset Tag: Tag 12345
 Features:
  Board is a hosting board
  Board is replaceable
 Location In Chassis: To Be Filled By O.E.M.
 Chassis Handle: 0x0003
 Type: Motherboard
 Contained Object Handles: 0

Handle 0x0003, DMI type 3, 25 bytes
Chassis Information
 Manufacturer: Notebook
 Type: Notebook
 Lock: Not Present
 Version: N/A
 Serial Number: None
 Asset Tag: No Asset Tag
 Boot-up State: Safe
 Power Supply State: Safe
 Thermal State: Safe
 Security Status: None
 OEM Information: 0x00000000
 Height: Unspecified
 Number Of Power Cords: 1
 Contained Elements: 0
 SKU Number: To Be Filled By O.E.M.

Handle 0x0004, DMI type 4, 48 bytes
Processor Information
 Socket Designation: U3E1
 Type: Central Processor
 Family: Core i5
 Manufacturer: Intel(R) Corporation
 ID: EA 06 09 00 FF FB EB BF
 Signature: Type 0, Family 6, Model 158, Stepping 10
 Flags:
  FPU (Floating-point unit on-chip)
  VME (Virtual mode extension)
  DE (Debugging extension)
  PSE (Page size extension)
  TSC (Time stamp counter)
  MSR (Model specific registers)
  PAE (Physical address extension)
  MCE (Machine check exception)
  CX8 (CMPXCHG8 instruction supported)
  APIC (On-chip APIC hardware supported)
  SEP (Fast system call)
  MTRR (Memory type range registers)
  PGE (Page global enable)
  MCA (Machine check architecture)
  CMOV (Conditional move instruction supported)
  PAT (Page attribute table)
  PSE-36 (36-bit page size extension)
  CLFSH (CLFLUSH instruction supported)
  DS (Debug store)
  ACPI (ACPI supported)
  MMX (MMX technology supported)
  FXSR (FXSAVE and FXSTOR instructions supported)
  SSE (Streaming SIMD extensions)
  SSE2 (Streaming SIMD extensions 2)
  SS (Self-snoop)
  HTT (Multi-threading)
  TM (Thermal monitor supported)
  PBE (Pending break enabled)
 Version: Intel(R) Core(TM) i5-8400T CPU @ 1.70GHz
 Voltage: 0.9 V
 External Clock: 100 MHz
 Max Speed: 8300 MHz
 Current Speed: 2673 MHz
 Status: Populated, Enabled
 Upgrade: Socket LGA1151
 L1 Cache Handle: 0x0005
 L2 Cache Handle: 0x0006
 L3 Cache Handle: 0x0007
 Serial Number: To Be Filled By O.E.M.
 Asset Tag: To Be Filled By O.E.M.
 Part Number: To Be Filled By O.E.M.
 Core Count: 6
 Core Enabled: 6
 Thread Count: 6
 Characteristics:
  64-bit capable
  Multi-Core
  Execute Protection
  Enhanced Virtualization
  Power/Performance Control

Handle 0x0005, DMI type 7, 27 bytes
Cache Information
 Socket Designation: L1 Cache
 Configuration: Enabled, Not Socketed, Level 1
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 0 kB
 Maximum Size: 0 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Parity
 System Type: Unified
 Associativity: 8-way Set-associative

Handle 0x0006, DMI type 7, 27 bytes
Cache Information
 Socket Designation: L2 Cache
 Configuration: Enabled, Not Socketed, Level 2
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 0 kB
 Maximum Size: 0 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Single-bit ECC
 System Type: Unified
 Associativity: 4-way Set-associative

Handle 0x0007, DMI type 7, 27 bytes
Cache Information
 Socket Designation: L3 Cache
 Configuration: Enabled, Not Socketed, Level 3
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 0 kB
 Maximum Size: 0 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Multi-bit ECC
 System Type: Unified
 Associativity: 12-way Set-associative

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_HDMI1
 Internal Connector Type: None
 External Reference Designator: <BAD INDEX>
 External Connector Type: Other
 Port Type: Video Port

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_CRT1
 Internal Connector Type: None
 External Reference Designator: CRT
 External Connector Type: Other
 Port Type: Video Port

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_INTMIC1
 Internal Connector Type: None
 External Reference Designator: MIC In
 External Connector Type: Other
 Port Type: Audio Port

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_AUDIO2
 Internal Connector Type: None
 External Reference Designator: Headphone
 External Connector Type: Mini Jack (headphones)
 Port Type: Audio Port

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_SPK1
 Internal Connector Type: None
 External Reference Designator: Speaker Out
 External Connector Type: Other
 Port Type: Audio Port

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_USB2_1
 Internal Connector Type: None
 External Reference Designator: USB Port2
 External Connector Type: Access Bus (USB)
 Port Type: USB

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_USB2_2
 Internal Connector Type: None
 External Reference Designator: USB Port3
 External Connector Type: Access Bus (USB)
 Port Type: USB

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_RJ_1
 Internal Connector Type: None
 External Reference Designator: Giga Lan
 External Connector Type: RJ-45
 Port Type: Network Port

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_CARD-REV1
 Internal Connector Type: None
 External Reference Designator: Card Reader
 External Connector Type: Other
 Port Type: Other

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: J_USB3_1
 Internal Connector Type: None
 External Reference Designator: USB Port1
 External Connector Type: Access Bus (USB)
 Port Type: USB

Handle 0x0012, DMI type 10, 6 bytes
On Board Device Information
 Type: Sound
 Status: Disabled
 Description: HD-Audio

Handle 0x0013, DMI type 10, 6 bytes
On Board Device Information
 Type: Ethernet
 Status: Disabled
 Description: Giga Lan

Handle 0x0014, DMI type 11, 5 bytes
OEM Strings
 String 1: 1558
 String 2: OEM String
 String 3: To Be Filled By O.E.M.
 String 4: To Be Filled By O.E.M.
 String 5: BIOS:1.07.05

Handle 0x0015, DMI type 12, 5 bytes
System Configuration Options
 Option 1: <BAD INDEX>

Handle 0x0016, DMI type 13, 22 bytes
BIOS Language Information
 Language Description Format: Long
 Installable Languages: 8
  en|US|iso8859-1,0
  fr|FR|iso8859-1,0
  zh|TW|unicode,0
  ja|JP|unicode,0
  it|IT|iso8859-1,0
  es|ES|iso8859-1,0
  de|DE|iso8859-1,0
  pt|PT|iso8859-1,0
 Currently Installed Language: en|US|iso8859-1,0

Handle 0x0017, DMI type 14, 8 bytes
Group Associations
 Name: Intel(R) Silicon View Technology
 Items: 1
  0x0035 (OEM-specific)

Handle 0x0018, DMI type 14, 8 bytes
Group Associations
 Name: $MEI
 Items: 1
  0x002E (OEM-specific)

Handle 0x0019, DMI type 15, 29 bytes
System Event Log
 Area Length: 0 bytes
 Header Start Offset: 0x0000
 Header Length: 8192 bytes
 Data Start Offset: 0x2000
 Access Method: General-purpose non-volatile data functions
 Access Address: 0x0000
 Status: Valid, Not Full
 Change Token: 0x12345678
 Header Format: OEM-specific
 Supported Log Type Descriptors: 3
 Descriptor 1: POST memory resize
 Data Format 1: None
 Descriptor 2: POST error
 Data Format 2: POST results bitmap
 Descriptor 3: Log area reset/cleared
 Data Format 3: None

Handle 0x001A, DMI type 16, 23 bytes
Physical Memory Array
 Location: System Board Or Motherboard
 Use: System Memory
 Error Correction Type: None
 Maximum Capacity: 32 GB
 Error Information Handle: No Error
 Number Of Devices: 2

Handle 0x001B, DMI type 17, 40 bytes
Memory Device
 Array Handle: 0x001A
 Error Information Handle: No Error
 Total Width: Unknown
 Data Width: Unknown
 Size: No Module Installed
 Form Factor: Unknown
 Set: None
 Locator: ChannelA-DIMM0
 Bank Locator: BANK 0
 Type: Unknown
 Type Detail: None
 Speed: Unknown
 Manufacturer: Not Specified
 Serial Number: Not Specified
 Asset Tag: Not Specified
 Part Number: Not Specified
 Rank: Unknown
 Configured Memory Speed: Unknown
 Minimum Voltage: Unknown
 Maximum Voltage: Unknown
 Configured Voltage: Unknown

Handle 0x001C, DMI type 17, 40 bytes
Memory Device
 Array Handle: 0x001A
 Error Information Handle: No Error
 Total Width: 64 bits
 Data Width: 64 bits
 Size: 32 GB
 Form Factor: SODIMM
 Set: None
 Locator: ChannelB-DIMM0
 Bank Locator: BANK 2
 Type: DDR4
 Type Detail: Synchronous
 Speed: 2667 MT/s
 Manufacturer: Samsung
 Serial Number: 03784215
 Asset Tag: 9876543210
 Part Number: M471A4G43MB1-CTD
 Rank: 2
 Configured Memory Speed: 2667 MT/s
 Minimum Voltage: 1.5 V
 Maximum Voltage: 1.5 V
 Configured Voltage: 1.2 V

Handle 0x001D, DMI type 19, 31 bytes
Memory Array Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x007FFFFFFFF
 Range Size: 32 GB
 Physical Array Handle: 0x001A
 Partition Width: 1

Handle 0x001E, DMI type 20, 35 bytes
Memory Device Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x007FFFFFFFF
 Range Size: 32 GB
 Physical Device Handle: 0x001C
 Memory Array Mapped Address Handle: 0x001D
 Partition Row Position: Unknown
 Interleave Position: 2
 Interleaved Data Depth: 1

Handle 0x001F, DMI type 21, 7 bytes
Built-in Pointing Device
 Type: Touch Pad
 Interface: PS/2
 Buttons: 4

Handle 0x0020, DMI type 22, 26 bytes
Portable Battery
 Location: Fake
 Manufacturer: -Virtual Battery 0-
 Manufacture Date: 08/08/2010
 Serial Number: Battery 0
 Name: CRB Battery 0
 Chemistry: Zinc Air
 Design Capacity: Unknown
 Design Voltage: Unknown
 SBDS Version: Not Specified
 Maximum Error: Unknown
 OEM-specific Information: 0x00000000

Handle 0x0021, DMI type 24, 5 bytes
Hardware Security
 Power-On Password Status: Not Implemented
 Keyboard Password Status: Not Implemented
 Administrator Password Status: Disabled
 Front Panel Reset Status: Not Implemented

Handle 0x0022, DMI type 26, 24 bytes
Voltage Probe
 Description: Voltage Probe Description
 Location: Unknown
 Status: Unknown
 Maximum Value: Unknown
 Minimum Value: Unknown
 Resolution: Unknown
 Tolerance: Unknown
 Accuracy: Unknown
 OEM-specific Information: 0x00008000
 Nominal Value: 0.000 V

Handle 0x0023, DMI type 27, 15 bytes
Cooling Device
 Temperature Probe Handle: 0x0024
 Type: Fan
 Status: OK
 OEM-specific Information: 0x00000000
 Nominal Speed: 8192 rpm
 Description: Cooling Device Description

Handle 0x0024, DMI type 28, 24 bytes
Temperature Probe
 Description: Temperature Probe Description
 Location: Unknown
 Status: Unknown
 Maximum Value: Unknown
 Minimum Value: Unknown
 Resolution: Unknown
 Tolerance: Unknown
 Accuracy: Unknown
 OEM-specific Information: 0x00008000
 Nominal Value: 0.0 deg C

Handle 0x0025, DMI type 32, 11 bytes
System Boot Information
 Status: No errors detected

Handle 0x0026, DMI type 39, 22 bytes
System Power Supply
 Location: OEM Define 0
 Name: OEM Define 1
 Manufacturer: OEM Define 2
 Serial Number: OEM Define 3
 Asset Tag: OEM Define 4
 Model Part Number: OEM Define 5
 Revision: OEM Define 6
 Max Power Capacity: 75 W
 Status: Not Present
 Type: Regulator
 Input Voltage Range Switching: Auto-switch
 Plugged: No
 Hot Replaceable: No

Handle 0x0027, DMI type 40, 17 bytes
Additional Information 1
 Referenced Handle: 0x000d
 Referenced Offset: 0x05
 String: PCIExpressx16
 Value: 0xaa
Additional Information 2
 Referenced Handle: 0x0000
 Referenced Offset: 0x05
 String: Compiler Version: VC 9.0
 Value: 0x00

Handle 0x0028, DMI type 41, 11 bytes
Onboard Device
 Reference Designation: IGD
 Type: Video
 Status: Disabled
 Type Instance: 1
 Bus Address: 0000:00:02.0

Handle 0x0029, DMI type 128, 8 bytes
OEM-specific Type
 Header and Data:
  80 08 29 00 55 AA 55 AA
 Strings:
  Oem Type 128 Test 1
  Oem Type 128 Test 2

Handle 0x002A, DMI type 129, 8 bytes
OEM-specific Type
 Header and Data:
  81 08 2A 00 01 01 02 01
 Strings:
  Insyde_ASF_001
  Insyde_ASF_002

Handle 0x002B, DMI type 130, 20 bytes
OEM-specific Type
 Header and Data:
  82 14 2B 00 24 41 4D 54 01 01 01 01 01 A5 BF 02
  C0 00 01 00

Handle 0x002C, DMI type 131, 64 bytes
OEM-specific Type
 Header and Data:
  83 40 2C 00 31 00 00 00 00 00 00 00 00 00 00 00
  F8 00 04 A3 00 00 00 00 01 00 00 00 00 00 0C 00
  8D 05 20 00 00 00 00 00 FE 00 BC 15 00 00 00 00
  00 FF 00 00 26 00 00 00 76 50 72 6F 00 00 00 00

Handle 0x002D, DMI type 136, 6 bytes
OEM-specific Type
 Header and Data:
  88 06 2D 00 FF FF

Handle 0x002E, DMI type 219, 106 bytes
OEM-specific Type
 Header and Data:
  DB 6A 2E 00 01 04 01 55 02 00 90 06 01 85 30 20
  00 00 00 00 40 00 00 00 00 00 00 00 00 40 40 02
  FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
  FF FF FF FF FF FF FF FF 03 00 00 00 80 00 00 00
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00 00 00 00 00 00 00 00 00 00
 Strings:
  MEI1
  MEI2
  MEI3
  MEI4

Handle 0x002F, DMI type 221, 26 bytes
OEM-specific Type
 Header and Data:
  DD 1A 2F 00 03 01 00 07 00 3D 60 00 02 00 00 00
  00 AA 00 03 00 FF FF FF FF FF
 Strings:
  Reference Code - CPU
  uCode Version
  TXT ACM version

Handle 0x0030, DMI type 221, 26 bytes
OEM-specific Type
 Header and Data:
  DD 1A 30 00 03 01 00 07 00 3D 60 00 02 00 00 00
  00 00 00 03 04 0C 00 20 8D 05
 Strings:
  Reference Code - ME
  MEBx version
  ME Firmware Version
  Consumer SKU

Handle 0x0031, DMI type 221, 89 bytes
OEM-specific Type
 Header and Data:
  DD 59 31 00 0C 01 00 07 00 3D 60 00 02 03 FF FF
  FF FF FF 04 00 FF FF FF 10 00 05 00 FF FF FF 10
  00 06 00 FF FF FF FF FF 07 00 02 00 00 00 00 08
  00 09 00 00 00 00 09 00 09 00 00 00 00 0A 00 13
  00 00 00 00 0B 00 07 00 00 00 00 0C 00 06 00 00
  00 00 0D 00 07 00 00 00 00
 Strings:
  Reference Code - CNL PCH
  PCH-CRID Status
  Disabled
  PCH-CRID Original Value
  PCH-CRID New Value
  OPROM - RST - RAID
  CNL PCH H A0 Hsio Version
  CNL PCH H Ax Hsio Version
  CNL PCH H Bx Hsio Version
  CNL PCH LP Ax Hsio Version
  CNL PCH LP B0 Hsio Version
  CNL PCH LP Bx Hsio Version
  CNL PCH LP Dx Hsio Version

Handle 0x0032, DMI type 221, 54 bytes
OEM-specific Type
 Header and Data:
  DD 36 32 00 07 01 00 07 00 3D 60 00 02 00 00 07
  01 50 00 03 00 07 00 3D 60 00 04 05 FF FF FF FF
  FF 06 00 00 00 00 07 00 07 00 00 00 00 07 00 08
  00 FF FF FF FF FF
 Strings:
  Reference Code - SA - System Agent
  Reference Code - MRC
  SA - PCIe Version
  SA-CRID Status
  Disabled
  SA-CRID Original Value
  SA-CRID New Value
  OPROM - VBIOS

Handle 0x0033, DMI type 221, 12 bytes
OEM-specific Type
 Header and Data:
  DD 0C 33 00 01 01 00 04 00 00 00 00
 Strings:
  FSP Binary Version

Handle 0x0034, DMI type 221, 89 bytes
OEM-specific Type
 Header and Data:
  DD 59 34 00 0C 01 00 00 00 00 A6 00 02 00 FF FF
  FF FF FF 03 04 FF FF FF FF FF 05 06 FF FF FF FF
  FF 07 08 FF FF FF FF FF 09 00 00 00 00 00 00 0A
  00 FF FF FF FF FF 0B 00 07 03 00 00 00 0C 00 00
  09 00 80 10 0D 0E 01 04 01 00 00 0F 00 00 07 03
  00 00 10 00 00 02 00 0E 00
 Strings:
  Lan Phy Version
  Sensor Firmware Version
  Debug Mode Status
  Disabled
  Performance Mode Status
  Disabled
  Debug Use USB(Disabled:Serial)
  Disabled
  ICC Overclocking Version
  UNDI Version
  EC FW Version
  GOP Version
  Royal Park Version
  BP1.4.1.0_RP07
  Platform Version
  Client Silicon Version

Handle 0x0035, DMI type 222, 14 bytes
OEM-specific Type
 Header and Data:
  DE 0E 35 00 01 99 00 03 10 01 20 02 30 03
 Strings:
  Memory Init Complete
  End of DXE Phase
  BIOS Boot Complete

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table

Revision history for this message
Jonatan Männchen (maennchen) said :
#3

At least on the website of the manufacturer I can't find newer versions of the BIOS. Since the laptop is only a few weeks old, I guess that no newer versions are available.

Revision history for this message
Jonatan Männchen (maennchen) said :
#4

I've checked with the manufacturer and the BIOS is up to date.

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.

Revision history for this message
Jonatan Männchen (maennchen) said :
#6

This problem still exists. If I do the following, I can solve the problem until the next reboot:

sudo apt reinstall oem-audio-hda-daily-dkms
sudo rm -rf /var/lib/gdm3/.config/pulse
sudo rm /var/lib/alsa/asound.state
rm -rf .config/pulse
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
pulseaudio -D

After a reboot, the problem is back.

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

Could add that to each startup. I'm guessing that you only really need the last 3 commands. Does that make it work?

Revision history for this message
Jonatan Männchen (maennchen) said :
#8

Without the apt reinstall it does not work.

Revision history for this message
Gregor Darius (gregordarius) said :
#9

I probably have exactly the same problem with the same hardware.

The log-details above are from a state where the audio device is already malfunctioning. I will post below the missing details about the audio-device as seen when it is working correctly.

Only the analog device ALC892 stops working. The HDMI devices still work!

I could reproduce the problem and solve it temporarily!

When the notebook is connected permanently to a faucet and the battery is charged, the state of the sound device does not change. When performing a hard reboot (by pressing the start button for 5 sec.) and restarting after removing the power plug, the the state of the audio device (from none to available or from available to none) may change. I suspect the probability for this to happen increases the lesser the battery is charged.

So i suspect this might have something to do with power management.

I have tested plain Ubuntu and Budgie (18.04.3) with kernel 4.18.0-15-generic and 5.0.0.29.86 also openSUSE 15.1 with kernel 4.12.14-lp151.28.16-default

BIOS is the newest: 1.07.05RTR1

I managed to recover the audio device in openSUSE by removing the audio device and making a rescan:

echo 1 > /sys/bus/pci/devices/0000\:00\:1f:3/remove
echo 1 > /sys/bus/pci/rescan

After that, the dummy device gets replaced by the audio device and analog audio works again. It did not work on the Ubuntus.

I would gladly provide more information about this problem if anyone is interested.

Is there a way to check the power management status of the device, or even to switch the status on or off?

dmesg (relevant part):
snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC892: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
snd_hda_codec_realtek hdaudioC0D0: inputs:
snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12

input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16

aplay -l (relevant parts):
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
and all the other HDMI devices

cat /proc/asound/card*/codec*:
Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15580351
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
etc ...

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]:

hwinfo (relevant part):
P: /devices/pci0000:00/0000:00:1f.3
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3
  E: DRIVER=snd_hda_intel
  E: ID_PCI_CLASS_FROM_DATABASE=Multimedia controller
  E: ID_PCI_SUBCLASS_FROM_DATABASE=Audio device
  E: ID_VENDOR_FROM_DATABASE=Intel Corporation
  E: MODALIAS=pci:v00008086d0000A348sv00001558sd00000351bc04sc03i00
  E: PCI_CLASS=40300
  E: PCI_ID=8086:A348
  E: PCI_SLOT_NAME=0000:00:1f.3
  E: PCI_SUBSYS_ID=1558:0351
  E: SUBSYSTEM=pci
  E: USEC_INITIALIZED=4601496

  P: /devices/pci0000:00/0000:00:1f.3/hdaudioC0D0
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/hdaudioC0D0
  E: DRIVER=snd_hda_codec_realtek
  E: MODALIAS=hdaudio:v10EC0892r00100302a01
  E: SUBSYSTEM=hdaudio

  P: /devices/pci0000:00/0000:00:1f.3/hdaudioC0D2
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/hdaudioC0D2
  E: DRIVER=snd_hda_codec_hdmi
  E: MODALIAS=hdaudio:v8086280Br00100000a01
  E: SUBSYSTEM=hdaudio

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0
  E: ID_BUS=pci
  E: ID_FOR_SEAT=sound-pci-0000_00_1f_3
  E: ID_MODEL_ID=0xa348
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: ID_PCI_CLASS_FROM_DATABASE=Multimedia controller
  E: ID_PCI_SUBCLASS_FROM_DATABASE=Audio device
  E: ID_VENDOR_FROM_DATABASE=Intel Corporation
  E: ID_VENDOR_ID=0x8086
  E: SOUND_FORM_FACTOR=internal
  E: SOUND_INITIALIZED=1
  E: SUBSYSTEM=sound
  E: SYSTEMD_WANTS=sound.target
  E: TAGS=:systemd:seat:
  E: USEC_INITIALIZED=4849266

P: /devices/pci0000:00/0000:00:1f.3/sound/card0/hwC0D0
  N: snd/hwC0D0
  E: DEVNAME=/dev/snd/hwC0D0
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/hwC0D0
  E: MAJOR=116
  E: MINOR=10
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4850803

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/hwC0D2
  N: snd/hwC0D2
  E: DEVNAME=/dev/snd/hwC0D2
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/hwC0D2
  E: MAJOR=116
  E: MINOR=11
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4850463

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input15
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw4,
  E: NAME="HDA Intel PCH Mic"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=10
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4851262

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input15/event8
  N: input/event8
  E: DEVNAME=/dev/input/event8
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input15/event8
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=72
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4899318

 P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input16
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw2,
  E: NAME="HDA Intel PCH Headphone"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=4
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4850803

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input16/event9
  N: input/event9
  E: DEVNAME=/dev/input/event9
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input16/event9
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=73
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4898508

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input17
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
  E: NAME="HDA Intel PCH HDMI/DP,pcm=3"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=140
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4850478

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input17/event10
  N: input/event10
  E: DEVNAME=/dev/input/event10
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input17/event10
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=74
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4898124

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input18
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
  E: NAME="HDA Intel PCH HDMI/DP,pcm=7"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=140
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4850816

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input18/event11
  N: input/event11
  E: DEVNAME=/dev/input/event11
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input18/event11
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=75
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4899178

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input19
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
  E: NAME="HDA Intel PCH HDMI/DP,pcm=8"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=140
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4851638

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input19/event12
  N: input/event12
  E: DEVNAME=/dev/input/event12
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input19/event12
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=76
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4898178

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input20
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
  E: NAME="HDA Intel PCH HDMI/DP,pcm=9"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=140
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4853289

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input20/event13
  N: input/event13
  E: DEVNAME=/dev/input/event13
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input20/event13
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=77
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4898122

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input21
  E: EV=21
  E: ID_FOR_SEAT=input-pci-0000_00_1f_3
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
  E: NAME="HDA Intel PCH HDMI/DP,pcm=10"
  E: PHYS="ALSA"
  E: PRODUCT=0/0/0/0
  E: PROP=0
  E: SUBSYSTEM=input
  E: SW=140
  E: TAGS=:seat:
  E: USEC_INITIALIZED=4853091

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/input21/event14
  N: input/event14
  E: DEVNAME=/dev/input/event14
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/input21/event14
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: MAJOR=13
  E: MINOR=78
  E: SUBSYSTEM=input
  E: TAGS=:power-switch:
  E: USEC_INITIALIZED=4898604

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D0c
  N: snd/pcmC0D0c
  E: DEVNAME=/dev/snd/pcmC0D0c
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D0c
  E: MAJOR=116
  E: MINOR=3
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4849933

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D0p
  N: snd/pcmC0D0p
  E: DEVNAME=/dev/snd/pcmC0D0p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D0p
  E: MAJOR=116
  E: MINOR=2
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4850073

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D10p
  N: snd/pcmC0D10p
  E: DEVNAME=/dev/snd/pcmC0D10p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D10p
  E: MAJOR=116
  E: MINOR=9
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4850897

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D1p
  N: snd/pcmC0D1p
  E: DEVNAME=/dev/snd/pcmC0D1p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D1p
  E: MAJOR=116
  E: MINOR=4
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4851467

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D3p
  N: snd/pcmC0D3p
  E: DEVNAME=/dev/snd/pcmC0D3p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D3p
  E: MAJOR=116
  E: MINOR=5
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4851465

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D7p
  N: snd/pcmC0D7p
  E: DEVNAME=/dev/snd/pcmC0D7p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D7p
  E: MAJOR=116
  E: MINOR=6
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4852296

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D8p
  N: snd/pcmC0D8p
  E: DEVNAME=/dev/snd/pcmC0D8p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D8p
  E: MAJOR=116
  E: MINOR=7
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4851915

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D9p
  N: snd/pcmC0D9p
  E: DEVNAME=/dev/snd/pcmC0D9p
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D9p
  E: MAJOR=116
  E: MINOR=8
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4854834

  P: /devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0
  N: snd/controlC0
  S: snd/by-path/pci-0000:00:1f.3
  E: DEVLINKS=/dev/snd/by-path/pci-0000:00:1f.3
  E: DEVNAME=/dev/snd/controlC0
  E: DEVPATH=/devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0
  E: ID_PATH=pci-0000:00:1f.3
  E: ID_PATH_TAG=pci-0000_00_1f_3
  E: MAJOR=116
  E: MINOR=12
  E: SUBSYSTEM=sound
  E: TAGS=:uaccess:
  E: USEC_INITIALIZED=4852353

...

19: PCI 1f.3: 0403 Audio device
  [Created at pci.378]
  Unique ID: nS1_.b0xTUNzQMCE
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa348
  SubVendor: pci 0x1558 "CLEVO/KAPOK Computer"
  SubDevice: pci 0x0351
  Revision: 0x10
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0x604b100000-0x604b103fff (rw,non-prefetchable)
  Memory Range: 0x604b000000-0x604b0fffff (rw,non-prefetchable)
  IRQ: 133 (970 events)
  Module Alias: "pci:v00008086d0000A348sv00001558sd00000351bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_soc_skl is active
    Driver Activation Cmd: "modprobe snd_soc_skl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Revision history for this message
Gregor Darius (gregordarius) said :
#10

I think i found a workaround to this problem.

For some reason the device ALC892 cannot be re-scanned and activated.

Changing the state of "power/control" to "auto", deleting the device and re-scanning the pci bus seems to reactivate the device:

assuming that the device (00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)) is on 0000:00:1f.3 as shown with lspci, you could:

sudo su
echo auto > /sys/devices/0000:00/0000:00:1f.3/power/control
echo 1 > /sys/devices/0000:00/0000:00:1f.3/remove
echo 1 > /sys/bus/pci/rescan

and the device ALC892 should be there again:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  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

I still don't really understand why this is happening. I will try to find out why the state of "control" is "on" and see if i can fix it.

Greetings,

Gregor

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

Or (easier) :

echo auto | sudo tee /sys/devices/0000:00/0000:00:1f.3/power/control
echo 1 | sudo tee /sys/devices/0000:00/0000:00:1f.3/remove
echo 1 | sudo tee /sys/bus/pci/rescan

Do these commands make the sound work OK?

Revision history for this message
Gregor Darius (gregordarius) said :
#12

sorry, directory 0000:00 is actually pci0000:00

but yes, those commands also work.

so:

echo auto | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/power/control
echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/remove
echo 1 | sudo tee /sys/bus/pci/rescan

I could write a script to activate this device every time the system boots, but the real problem is not solved. Why is the system sporadically ignoring the codec for ALC892?

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

If you run:

sudo touch /etc/rc.local
sudo chmod 755 /etc/rc.local
sudo vi /etc/rc.local

Add the lines that make it work then add a final line of:

exit 0

Save the new file, exit vi and reboot. If you don't like vi then use whatever text editor you prefer.

Revision history for this message
Gregor Darius (gregordarius) said :
#14

It doesn't work.

Somehow this must be too early to activate the codec. The script gets executed (i included a touch /root/test.txt to check) but the codec won't get activated. Executing the script by itself works but changing the sysfs at that moment doesn't seem to have any effect.

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

Apologies, the TOP line of the file should be:

#!/bin/sh -e

So the entire script will be:

#!/bin/sh -e

echo auto | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/power/control
echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/remove
echo 1 | sudo tee /sys/bus/pci/rescan

exit 0

Revision history for this message
Gregor Darius (gregordarius) said :
#16

Thank you, I did exactly this. The scripts works, executed standalone or during the start up process. It just has no effect at the  moment when it is called during the start up process

Gesendet von meinem BlackBerry 10-Smartphone.
  Originalnachricht
Von: actionparsnip
Gesendet: Freitag, 27. September 2019 18:03
An: <email address hidden>
Antwort an: <email address hidden>
Betreff: Re: [Question #682843]: Sound mostly not working

Question #682843 on alsa-driver in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/682843

actionparsnip proposed the following answer:
Apologies, the TOP line of the file should be:

#!/bin/sh -e

So the entire script will be:

#!/bin/sh -e

echo auto | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/power/control
echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/remove
echo 1 | sudo tee /sys/bus/pci/rescan

exit 0

--
You received this question notification because you are subscribed to
the question.

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

Ok lets try another tack:

run:

sudo vi /usr/bin/soundfix

add the below lines:

#!/bin/bash
sleep 5
echo auto | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/power/control
echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/remove
echo 1 | sudo tee /sys/bus/pci/rescan

Save the new file, close vi and then run:

sudo chmod +x /usr/bin/soundfix
sudo vi /etc/rc.local

The file needs to be the 3 lines below:

#!/bin/sh -e
/usr/bin/soundfix &
exit 0

Save the new file, close vi and reboot.

The command will run the script but wait 5 seconds before the commands run. This should allow the system to setup itself. You can play with the time to wait (I used 5 seconds as an arbitrary time amount).

HTH

Revision history for this message
Gregor Darius (gregordarius) said :
#18

thank you, i am sorry to tell you that i am out for this weekend, i will
try it out on monday

Greetings,

Gregor

On Fri, Sep 27, 2019 at 6:43 PM actionparsnip <
<email address hidden>> wrote:

> Question #682843 on alsa-driver in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/682843
>
> actionparsnip proposed the following answer:
> Ok lets try another tack:
>
> run:
>
> sudo vi /usr/bin/soundfix
>
> add the below lines:
>
> #!/bin/bash
> sleep 5
> echo auto | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/power/control
> echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:1f.3/remove
> echo 1 | sudo tee /sys/bus/pci/rescan
>
> Save the new file, close vi and then run:
>
> sudo chmod +x /usr/bin/soundfix
> sudo vi /etc/rc.local
>
> The file needs to be the 3 lines below:
>
> #!/bin/sh -e
> /usr/bin/soundfix &
> exit 0
>
> Save the new file, close vi and reboot.
>
> The command will run the script but wait 5 seconds before the commands
> run. This should allow the system to setup itself. You can play with the
> time to wait (I used 5 seconds as an arbitrary time amount).
>
> HTH
>
> --
> You received this question notification because you are subscribed to
> the question.
>

Revision history for this message
Jonatan Männchen (maennchen) said :
#19

Thanks a lot Gregor & actionparsnip.

The soundfix scripts seems to solve the problem perfectly. I had to increase the sleep to 15 seconds and it is working like a charm :)

Is this a problem that is caused by the hardware or is this a bug with alsa / pulseaudio etc.?

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

Not sure. I'm terrible with sound issues to be honest

Revision history for this message
Gregor Darius (gregordarius) said :
#21

It is not pulseaudio's fault. As it happens with Ubuntu and openSUSE i tend to say it has nothing to do with any distribution flaws.

I think it might have something to do with ALSA and the way it discovers the audio chip on startup. I will open a bug report on ALSA's bugtracker.

Revision history for this message
Jonatan Männchen (maennchen) said :
#22

Did you ever report the bug Gregor?

Revision history for this message
Gregor Darius (gregordarius) said :
#23

Yes, i posted it here: https://bugzilla.kernel.org/show_bug.cgi?id=205045

I hope this is the right place?

I actually found out that the bug is more complicated. The solution posted here only works on some Notebooks of thjs model. In some it does not work at all. I am trying to debug the kernel to find out why. But any help from the ALSA-team would be very appreciated.

Revision history for this message
Gunne Steen (gunne) said :
#24

I just want to confirm this problem does exist. With this notebook model Clevo N350TW. Built in speakers + SPDIF wont be activated. Only HDMI will be activated.

Below is link to alsa information script I created under Ubuntu 20.04

http://alsa-project.org/db/?f=c5f459dfb6183f1cd98f8a0bfd649a98869f009a

It happens also randomly under Windows 10 that built in speakers + SPDIF wont be activated after reboot. But will be activated after next reboot then.

Revision history for this message
Gunne Steen (gunne) said :
#25

Hi,

Also would like to mention that I made a bugreport. Link below.

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1859246

Revision history for this message
Jonatan Männchen (maennchen) said :
#26

The situation seems to have declined. The soundfix script does no longer solve the problem for me and instead of a flaky soundcard it doesn't work almost all the time.

I'm currently on Ubuntu 19.10 using linux 5.0.0-32-generic.

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

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

Revision history for this message
Jonatan Männchen (maennchen) said :
#28

Commeting to unexpire bug.

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

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