[Solved] no sound either on HP-X2-210 G1

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

[Solved] no sound either on HP-X2-210 G1

Post by toonder »

Good evening, this iis my first post I hope it is okay to make use of this existing topic :)

I have a very similar problem with a "HP x2 210 G1" Detachable PC. When I boot into a Live session Linux Mint 19.3 using a USB-stick, I have no sound.
The built-in camera, and microphone are not working either, but that is not important to me. No sound is stopping me from installing Mint and liberating this machine from Microsoft Windows. When I found this topic I had my hopes up, but my Linux skills are very limited and just can't get the sound to work.
I can use some help with this!

From the HP Support website:
https://support.hp.com/nl-nl/drivers/se ... pc/8741507

Driver-Audio (1)
Conexant Audio Driver; version 1.76.0.51 Rev.A, size 19.4 MB, release date 21 mrt. 2016
file name = https://ftp.hp.com/pub/softpaq/sp75001- ... p75317.exe
Driver-Chipset (1)
Intel Chipset, Graphics, Camera, and Audio Driver Pack; version 604.10146.2652.361 Rev.A, size 215.0 MB, release date 25 mrt. 2016
file name = https://ftp.hp.com/pub/softpaq/sp75001- ... p75380.exe
From: https://ftp.hp.com/pub/softpaq/sp72501- ... 72855.html
TITLE: Conexant Audio Driver

VERSION: 1.58.0.50 REV: A PASS: 11
DESCRIPTION:
This package provides the driver for the Conexant Audio module in supported
notebook models that are running a supported operating system.

PURPOSE: Critical
SOFTPAQ FILE NAME: SP72855.exe
SOFTPAQ MD5: 52425c97aefe8f1d350b55741eae782f
SUPERSEDES: None
EFFECTIVE DATE: September 14, 2015
CATEGORY: Driver-Audio
SSM SUPPORTED: Yes

PRODUCT TYPE(S):
Notebooks

HARDWARE PRODUCT MODEL(S):
HP Pavilion x2 Detachable Notebook PC

OPERATING SYSTEM(S):
Microsoft Windows 10 64

LANGUAGE(S): Global

DEVICES SUPPORTED:
Conexant I2S Audio Codec
I think I found linux drivers for this Conexant Audio driver but I have obviously not managed to get them to work, simply would not know how, especially not in a Linux Live session.
from: https://www.linuxant.com/alsa-driver/
ALSA driver with improved support for Conexant chipsets.

I tried the instructions mentioned in this topic, and also those in the other topic mentioned with a similar problem.

aplay -l

Code: Select all

mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
inxi -Fxz

Code: Select all

mint@mint:~$ inxi -Fxz
System:
  Host: mint Kernel: 5.0.0-32-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: MATE 1.22.2 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP x2 210 
  v: Type1ProductConfigId serial: <filter> 
  Mobo: HP model: 8173 v: 35.0B serial: <filter> UEFI: Insyde v: F.10 
  date: 03/01/2018 
Battery:
  ID-1: axp288_fuel_gauge charge: 99% condition: N/A model: N/A 
  status: Charging 
CPU:
  Topology: Quad Core model: Intel Atom x5-Z8300 bits: 64 type: MCP 
  arch: Airmont rev: 3 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11520 
  Speed: 1600 MHz min/max: 480/1840 MHz Core speeds (MHz): 1: 1600 2: 1600 
  3: 1600 4: 1600 
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  PCI Configuration Registers 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  Imaging Unit 
  vendor: Hewlett-Packard driver: intel_atomisp2_pm v: kernel 
  bus ID: 00:03.0 
  Sound Server: ALSA v: k5.0.0-32-generic 
Network:
  Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel port: 1000 
  bus ID: 01:00.0 
  IF: wlp1s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 181.24 GiB used: 71.88 GiB (39.7%) 
  ID-1: /dev/mmcblk0 model: SDW64G size: 58.24 GiB 
  ID-2: /dev/mmcblk2 model: 00000 size: 119.23 GiB 
  ID-3: /dev/sda type: USB vendor: Corsair model: Voyager Mini 
  size: 3.76 GiB 
Partition:
  ID-1: / size: 1.89 GiB used: 61.3 MiB (3.2%) fs: overlay source: ERR-102 
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 191 Uptime: 9m Memory: 3.77 GiB used: 583.0 MiB (15.1%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
mint@mint:~$
dmesg | grep snd <- displays nothing, since in Windows it is called "Intel SST Audio Device (WDM) I also tried to grep sst

Code: Select all

mint@mint:~$ dmesg | grep snd
mint@mint:~$ sudo dmesg | grep snd
mint@mint:~$ dmesg | grep sst
[   47.455416] intel_sst_acpi 808622A8:00: No matching machine driver found
mint@mint:~$ 
pacmd list-cards

Code: Select all

mint@mint:~$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "Intel HDMI/DP LPE Audio"
		alsa.long_card_name = "Intel HDMI/DP LPE Audio"
		alsa.driver_name = "snd_hdmi_lpe_audio"
		device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "22b0"
		device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		device.string = "0"
		device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
		output:multichannel-output: Multichannel Output (priority 100, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:stereo-fallback>
	sinks:
		alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback/#0: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo
	sources:
		alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback.monitor/#0: Monitor of Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
mint@mint:~$ 
lsmod

Code: Select all

mint@mint:~$ lsmod
Module                  Size  Used by
ccm                    20480  3
rfcomm                 77824  16
cmac                   16384  1
bnep                   24576  2
intel_rapl             24576  0
intel_powerclamp       20480  0
coretemp               20480  0
axp20x_pek             16384  0
extcon_axp288          20480  0
axp288_fuel_gauge      28672  0
axp288_charger         24576  0
axp288_adc             16384  0
punit_atom_debug       16384  0
gpio_keys              20480  0
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
aesni_intel           372736  4
aes_x86_64             20480  1 aesni_intel
arc4                   16384  2
crypto_simd            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           20480  0
iwlmvm                389120  0
mac80211              819200  1 iwlmvm
hp_wmi                 16384  0
btusb                  49152  0
sparse_keymap          16384  1 hp_wmi
btrtl                  20480  1 btusb
joydev                 28672  0
input_leds             16384  0
btbcm                  16384  1 btusb
iwlwifi               315392  1 iwlmvm
btintel                24576  1 btusb
bluetooth             557056  43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
hid_multitouch         28672  0
snd_intel_sst_acpi     20480  0
wmi_bmof               16384  0
snd_intel_sst_core     53248  1 snd_intel_sst_acpi
ecdh_generic           28672  2 bluetooth
cfg80211              679936  3 iwlmvm,iwlwifi,mac80211
snd_soc_sst_atom_hifi2_platform   102400  1 snd_intel_sst_core
snd_soc_acpi_intel_match    28672  1 snd_intel_sst_acpi
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_intel_sst_acpi
snd_soc_core          233472  1 snd_soc_sst_atom_hifi2_platform
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
hid_sensor_magn_3d     20480  1
hid_sensor_als         20480  1
snd_rawmidi            36864  1 snd_seq_midi
hid_sensor_accel_3d    20480  1
hid_sensor_gyro_3d     20480  0
lpc_ich                24576  0
snd_hdmi_lpe_audio     28672  3
hid_sensor_trigger     20480  9 hid_sensor_gyro_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d
industrialio_triggered_buffer    16384  4 hid_sensor_gyro_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d
kfifo_buf              16384  1 industrialio_triggered_buffer
hid_sensor_iio_common    20480  5 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d
snd_pcm               102400  5 snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_pcm_dmaengine
mei_txe                24576  0
industrialio           73728  12 axp288_adc,industrialio_triggered_buffer,hid_sensor_gyro_3d,hid_sensor_trigger,kfifo_buf,hid_sensor_als,axp288_fuel_gauge,hid_sensor_accel_3d,hid_sensor_magn_3d
intel_xhci_usb_role_switch    16384  1
roles                  16384  2 extcon_axp288,intel_xhci_usb_role_switch
processor_thermal_device    20480  0
intel_soc_dts_iosf     20480  1 processor_thermal_device
intel_atomisp2_pm      16384  0
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
mei                   106496  1 mei_txe
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  14 snd_seq,snd_seq_device,snd_timer,snd_compress,snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_pcm,snd_rawmidi
dw_dmac                16384  0
axp20x_i2c             16384  0
axp20x                 32768  1 axp20x_i2c
dw_dmac_core           28672  1 dw_dmac
soundcore              16384  1 snd
spi_pxa2xx_platform    28672  0
8250_dw                20480  0
mac_hid                16384  0
acpi_pad              184320  0
int3400_thermal        20480  0
soc_button_array       20480  0
int3406_thermal        16384  0
int3403_thermal        16384  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
acpi_thermal_rel       16384  1 int3400_thermal
intel_int0002_vgpio    16384  1
sch_fq_codel           20480  5
parport_pc             36864  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
overlay               110592  1
nls_iso8859_1          16384  1
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
hid_sensor_custom      24576  0
hid_sensor_hub         24576  7 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_custom
intel_ishtp_hid        24576  0
hid_elan               16384  0
usbhid                 53248  0
i915                 1818624  4
hid_generic            16384  0
kvmgt                  28672  0
vfio_mdev              16384  0
mdev                   24576  2 kvmgt,vfio_mdev
vfio_iommu_type1       28672  0
vfio                   32768  3 kvmgt,vfio_mdev,vfio_iommu_type1
kvm                   630784  1 kvmgt
irqbypass              16384  1 kvm
mmc_block              49152  4
i2c_algo_bit           16384  1 i915
drm_kms_helper        180224  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   483328  5 drm_kms_helper,i915
intel_ish_ipc          24576  0
intel_ishtp            45056  2 intel_ishtp_hid,intel_ish_ipc
i2c_hid                28672  0
video                  49152  2 int3406_thermal,i915
hid                   126976  7 i2c_hid,usbhid,hid_elan,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
wmi                    28672  2 hp_wmi,wmi_bmof
sdhci_acpi             24576  0
sdhci                  57344  1 sdhci_acpi
uas                    24576  0
usb_storage            69632  2 uas
mint@mint:~$ 
journalctl -k | grep -Ei "snd|sound|audio|multi"

Code: Select all

mint@mint:~$ journalctl -k | grep -Ei "snd|sound|audio|multi"
Feb 13 12:19:30 mint kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Feb 13 12:19:30 mint kernel: gpio gpiochip1: (INT33FF:01): detected irqchip that is shared with multiple gpiochips: please fix the driver.
Feb 13 12:19:30 mint kernel: gpio gpiochip2: (INT33FF:02): detected irqchip that is shared with multiple gpiochips: please fix the driver.
Feb 13 12:19:30 mint kernel: gpio gpiochip3: (INT33FF:03): detected irqchip that is shared with multiple gpiochips: please fix the driver.
Feb 13 12:19:30 mint kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Feb 13 12:19:30 mint kernel: [drm] HDaudio controller not detected, using LPE audio instead
Feb 13 12:19:31 mint kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input18
Feb 13 12:19:31 mint kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input19
Feb 13 12:19:31 mint kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input20
Feb 13 12:19:32 mint kernel: hid-multitouch 0018:06CB:1616.0001: input,hidraw0: I2C HID v1.00 Device [SYNA7508:00 06CB:1616] on i2c-SYNA7508:00
Feb 13 12:19:34 mint kernel: Bluetooth: BNEP filters: protocol multicast
Feb 13 12:19:47 mint kernel: x86/PAT: pulseaudio:2191 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:47 mint kernel: x86/PAT: pulseaudio:2219 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:48 mint kernel: x86/PAT: pulseaudio:2296 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:49 mint kernel: x86/PAT: pulseaudio:2317 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:50 mint kernel: x86/PAT: pulseaudio:2350 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:50 mint kernel: x86/PAT: pulseaudio:2363 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:51 mint kernel: x86/PAT: pulseaudio:2387 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:51 mint kernel: x86/PAT: pulseaudio:2398 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:52 mint kernel: x86/PAT: pulseaudio:2422 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:52 mint kernel: x86/PAT: pulseaudio:2447 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:19:53 mint kernel: x86/PAT: pulseaudio:2459 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:1953 mint kernel: x86/PAT: pulseaudio:2476 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
journalctl -k | grep -Ei "sst|lpe|hdmi"

Code: Select all

mint@mint:~$ journalctl -k | grep -Ei "sst|lpe|hdmi"
Feb 13 12:19:30 mint kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Feb 13 12:19:30 mint kernel: [drm] HDaudio controller not detected, using LPE audio instead
Feb 13 12:19:31 mint kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input18
Feb 13 12:19:31 mint kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input19
Feb 13 12:19:31 mint kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input20
Feb 13 12:19:32 mint kernel: intel_sst_acpi 808622A8:00: No matching machine driver found
Feb 13 12:25:50 mint kernel: x86/PAT: alsa-sink-HdmiL:2477 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
Feb 13 12:32:28 mint kernel: x86/PAT: alsa-sink-HdmiL:2477 map pfn RAM range req uncached-minus for [mem 0x3f900000-0x3f956fff], got write-combining
mint@mint:~$ 
pacmd list-sinks

Code: Select all

mint@mint:~$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9030
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 2000.18 ms
	card: 0 <alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "Intel HDMI/DP LPE Audi"
		alsa.id = "HdmiLpeAudio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "Intel HDMI/DP LPE Audio"
		alsa.long_card_name = "Intel HDMI/DP LPE Audio"
		alsa.driver_name = "snd_hdmi_lpe_audio"
		device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "22b0"
		device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		device.string = "hw:0"
		device.buffering.buffer_size = "352832"
		device.buffering.fragment_size = "352832"
		device.access_mode = "mmap+timer"
		device.profile.name = "stereo-fallback"
		device.profile.description = "Stereo"
		device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output>
mint@mint:~$ 
dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'

Code: Select all

mint@mint:~$ dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[    0.294548] ACPI: Added _OSI(Linux-Dell-Video)
[    0.294548] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.294548] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[   47.066238] proc_thermal 0000:00:0b.0: Creating sysfs group for PROC_THERMAL_PCI
[   47.159612] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input18
[   47.163407] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input19
[   47.168177] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input20
[   47.415836] cfg80211: Loading compiled-in X.509 certificates for regulatory database
mint@mint:~$ 
Any help very much appreciated!!
Last edited by toonder on Fri Feb 21, 2020 2:01 pm, edited 1 time in total.

User avatar
Moem
Level 20
Level 20
Posts: 10499
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: no sound either on HP-X2

Post by Moem »

Moderator's note:
This has been split off from viewtopic.php?f=48&t=308473 because we strongly prefer starting a new topic over posting your question in an existing one. Now you know! :)
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

Hi toonder, and welcome to the forum.

Your aplay -l output isn't showing which device other than hdmilpeaudio is installed. This is not terribly uncommon, but prevents us from insuring the correct steps are taken to get the audio working.

I'm assuming Windows is installed on the computer right now. Boot up into Windows, verify sound is working there, then do a full shut down. Wait 5 minutes then boot into the Live Mint you have, and see if aplay -l now shows more options. If so, paste them here.

Also, I should mention if the Windows version is 10, make sure fast startup is turned off: Instructions.

In the original thread you posted to, that OP had this at the end of their output:

Code: Select all

Karte 1: [b]bytcrrt5640 [bytcr-rt5640],[/b] Gerät 0: Baytrail Audio (*) []
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: bytcrrt5640 [bytcr-rt5640], Gerät 1: Deep-Buffer Audio (*) []
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
There's no guarantee your HP-X2 also uses the bytcrrt5640 codec. And even if it does, the system isn't detecting it at the moment, so any fixes probably still wouldn't help.

If the above changes nothing please paste back the output of ls-la /etc/modprobe.d and cat /etc/modprobe.d/blacklist.conf

P.S. Thanks for all the outputs you posted. That really helps.

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

Thank you for splitting my question off! Now I know 8)

And thank you for the amazingly quick support!

I checked 'fast startup' settings in Windows, eventhough I was sure I had already turned that off, they were on again, so turned them off, did a full shutdown and waited at least 5 minutes before booting into a newly created Linux Mint Live with persistent memory.

aplay -l

Code: Select all

mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
mint@mint:~$ 
then I installed vlc "sudo apt install vlc"

ls -la /etc/modprobe.d

Code: Select all

mint@mint:~$ sudo ls -la /etc/modprobe.d
total 17
drwxr-xr-x 2 root root  280 Dec 16 13:38 .
drwxr-xr-x 1 root root 4096 Feb 13 22:54 ..
-rw-r--r-- 1 root root 2507 Jul 31  2015 alsa-base.conf
-rw-r--r-- 1 root root  325 Jan 28  2018 blacklist-ath_pci.conf
-rw-r--r-- 1 root root  210 Jan 28  2018 blacklist-firewire.conf
-rw-r--r-- 1 root root  697 Jan 28  2018 blacklist-framebuffer.conf
-rw-r--r-- 1 root root  156 Jul 31  2015 blacklist-modem.conf
lrwxrwxrwx 1 root root   41 Dec 16 13:38 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root  583 Jan 28  2018 blacklist-rare-network.conf
-rw-r--r-- 1 root root 1667 Nov 12  2018 blacklist.conf
-rw-r--r-- 1 root root  127 Feb  7  2017 dkms.conf
-rw-r--r-- 1 root root  347 Jan 28  2018 iwlwifi.conf
mint@mint:~$ 
cat /etc/modprobe.d/blacklist.conf

Code: Select all

mint@mint:~$ cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# Causes trackpads to stop working on Lenovo 11e 2nd gen (Ubuntu: #1802135)
# and Lenovo x240 to hang on boot (Ubuntu: #1802689)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
mint@mint:~$ 
Not sure what that all means :mrgreen: Hope it helps!

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

All right.

I was just checking with those last two outputs to see if you had made some changes that might interfere with trying to sort this out. One I forgot to ask for was ls -la /usr/share/alsa/ucm but at the moment that one isn't important.

We're still not detecting your built-in sound card properly so let's try sudo alsa force-reload followed by pulseaudio -k then aplay -l and see if that helped any.

If the aplay output is still the same, try this:

Code: Select all

apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2
Follow that with a reboot if there's really persistence. Otherwise use sudo alsa force-reload and pulseaudio -k again. Once more, see if aplay -l shows anything new.

One other idea is to open the Update Manager and click on View > Linux kernels and install the latest in the 5.3 series. That must be followed with a reboot, and as long as there is persistance, might get us over this hurdle.

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

I forgot to mention I tested and have sound in Windows.

There seems to be persistence. So I will see if I can get the kernel to 5.3 but first the results:

ls -la /usr/share/alsa/ucm

Code: Select all

mint@mint:~$ ls -la /usr/share/alsa/ucm
total 0
drwxr-xr-x 22 root root 416 Dec 16 13:26 .
drwxr-xr-x  9 root root 216 Dec 16 13:32 ..
drwxr-xr-x  2 root root  54 Dec 16 13:26 DAISY-I2S
drwxr-xr-x  2 root root  58 Dec 16 13:26 DB410c
drwxr-xr-x  2 root root  59 Dec 16 13:26 Dell-WD15-Dock
drwxr-xr-x  2 root root  55 Dec 16 13:26 GoogleNyan
drwxr-xr-x  2 root root  70 Dec 16 13:26 HDAudio-Lenovo-DualCodecs
drwxr-xr-x  2 root root  49 Dec 16 13:26 Manta-I2S
drwxr-xr-x  2 root root  52 Dec 16 13:26 Manta-SPDIF
drwxr-xr-x  2 root root  69 Dec 16 13:26 PAZ00
drwxr-xr-x  2 root root 124 Dec 16 13:26 PandaBoard
drwxr-xr-x  2 root root 126 Dec 16 13:26 PandaBoardES
drwxr-xr-x  2 root root 121 Dec 16 13:26 SDP4430
drwxr-xr-x  2 root root  61 Dec 16 13:26 Tuna
drwxr-xr-x  2 root root  55 Dec 16 13:26 VEYRON-I2S
drwxr-xr-x  2 root root  79 Dec 16 13:26 apq8064-tabla-snd-card
drwxr-xr-x  2 root root  55 Dec 16 13:26 broadwell-rt286
drwxr-xr-x  2 root root  54 Dec 16 13:26 chtrt5645
drwxr-xr-x  2 root root  83 Dec 16 13:26 msm8974-taiko-mtp-snd-card
drwxr-xr-x  2 root root  79 Dec 16 13:26 skylake-rt286
drwxr-xr-x  2 root root  52 Dec 16 13:26 tegra-rt5640
drwxr-xr-x  2 root root  40 Dec 16 13:26 tegraalc5632
sudo alsa force-reload

Code: Select all

mint@mint:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-hdmi-lpe-audio snd-compress snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-hdmi-lpe-audio snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-hdmi-lpe-audio snd-compress snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
pulseaudio -k

Code: Select all

mint@mint:~$ pulseaudio -k
mint@mint:~$ sudo pulseaudio -k
E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
E: [pulseaudio] main.c: Failed to kill daemon: No such file or directory
aplay -l

Code: Select all

mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
sudo apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2

Code: Select all

mint@mint:~$ sudo apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of pulseaudio is not possible, it cannot be downloaded.
Reinstallation of libasound2 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1125 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 alsa-base all 1.0.25+dfsg-0ubuntu5 [145 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 alsa-utils amd64 1.1.3-1ubuntu1 [966 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 linux-sound-base all 1.0.25+dfsg-0ubuntu5 [14.2 kB]
Fetched 1125 kB in 0s (2871 kB/s)           
Preconfiguring packages ...
(Reading database ... 294982 files and directories currently installed.)
Preparing to unpack .../alsa-base_1.0.25+dfsg-0ubuntu5_all.deb ...
Unpacking alsa-base (1.0.25+dfsg-0ubuntu5) over (1.0.25+dfsg-0ubuntu5) ...
Preparing to unpack .../alsa-utils_1.1.3-1ubuntu1_amd64.deb ...
Unpacking alsa-utils (1.1.3-1ubuntu1) over (1.1.3-1ubuntu1) ...
Preparing to unpack .../linux-sound-base_1.0.25+dfsg-0ubuntu5_all.deb ...
Unpacking linux-sound-base (1.0.25+dfsg-0ubuntu5) over (1.0.25+dfsg-0ubuntu5) ...
Setting up linux-sound-base (1.0.25+dfsg-0ubuntu5) ...
Setting up alsa-base (1.0.25+dfsg-0ubuntu5) ...
Setting up alsa-utils (1.1.3-1ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (237-3ubuntu10.31) ...
sudo reboot

Code: Select all

mint@mint:~$ sudo reboot
After rebooting still no disco:

Code: Select all

mint@mint:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-hdmi-lpe-audio snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-hdmi-lpe-audio snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-hdmi-lpe-audio snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
mint@mint:~$ pulseaudio -k
mint@mint:~$ sudo pulseaudio -k
E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
E: [pulseaudio] main.c: Failed to kill daemon: No such file or directory
mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
mint@mint:~$ 
I figured updating might take a while... After I manage to upgrade to 5.3 I'll report back again :)

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

These are very odd:

Code: Select all

Reinstallation of pulseaudio is not possible, it cannot be downloaded.
Reinstallation of libasound2 is not possible, it cannot be downloaded.
I'm hoping the kernel fixes it, assuming IT can be downloaded.

Did you verify the ISO before burning it?

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

I noticed that too, but was hoping it was normal :oops:

I did manage to update the kernel. And it seems it found something new, but no sound yet.

inxi -Fxz

Code: Select all

mint@mint:~$ inxi -Fxz
System:
  Host: mint Kernel: 5.3.0-28-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: MATE 1.22.2 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP x2 210 
  v: Type1ProductConfigId serial: <filter> 
  Mobo: HP model: 8173 v: 35.0B serial: <filter> UEFI: Insyde v: F.10 
  date: 03/01/2018 
Battery:
  ID-1: axp288_fuel_gauge charge: 95% condition: N/A model: N/A 
  status: Charging 
CPU:
  Topology: Quad Core model: Intel Atom x5-Z8300 bits: 64 type: MCP 
  arch: Airmont rev: 3 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11520 
  Speed: 480 MHz min/max: 480/1840 MHz Core speeds (MHz): 1: 480 2: 480 
  3: 480 4: 480 
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  PCI Configuration Registers 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  Imaging Unit 
  vendor: Hewlett-Packard driver: intel_atomisp2_pm v: kernel 
  bus ID: 00:03.0 
  Sound Server: ALSA v: k5.3.0-28-generic 
Network:
  Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel port: 1000 
  bus ID: 01:00.0 
  IF: wlp1s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 192.07 GiB used: 76.68 GiB (39.9%) 
  ID-1: /dev/mmcblk0 model: SDW64G size: 58.24 GiB 
  ID-2: /dev/mmcblk2 model: 00000 size: 119.23 GiB 
  ID-3: /dev/sda type: USB vendor: SanDisk model: Cruzer Blade 
  size: 14.59 GiB 
Partition:
  ID-1: / size: 3.87 GiB used: 927.3 MiB (23.4%) fs: overlay source: ERR-102 
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 208 Uptime: 2m Memory: 3.77 GiB used: 469.4 MiB (12.2%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
aplay -l

Code: Select all

mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytchtcx2072x [bytcht-cx2072x], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytchtcx2072x [bytcht-cx2072x], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
mint@mint:~$ 
sudo apt install pulseaduio

Code: Select all

mint@mint:~$ sudo apt install pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio-module-bluetooth
  pulseaudio-utils
Suggested packages:
  pavumeter pavucontrol paman paprefs ubuntu-sounds
The following packages will be upgraded:
  libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio
  pulseaudio-module-bluetooth pulseaudio-utils
6 upgraded, 0 newly installed, 0 to remove and 231 not upgraded.
Need to get 1238 kB of archives.
After this operation, 5120 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 pulseaudio-module-bluetooth amd64 1:11.1-1ubuntu7.4 [67.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpulsedsp amd64 1:11.1-1ubuntu7.4 [31.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 pulseaudio-utils amd64 1:11.1-1ubuntu7.4 [64.6 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 pulseaudio amd64 1:11.1-1ubuntu7.4 [787 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpulse-mainloop-glib0 amd64 1:11.1-1ubuntu7.4 [22.1 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpulse0 amd64 1:11.1-1ubuntu7.4 [265 kB]
Fetched 1238 kB in 0s (2783 kB/s)  
(Reading database ... 331325 files and directories currently installed.)
Preparing to unpack .../0-pulseaudio-module-bluetooth_1%3a11.1-1ubuntu7.4_amd64.deb ...
Unpacking pulseaudio-module-bluetooth (1:11.1-1ubuntu7.4) over (1:11.1-1ubuntu7.2) ...
Preparing to unpack .../1-libpulsedsp_1%3a11.1-1ubuntu7.4_amd64.deb ...
Unpacking libpulsedsp:amd64 (1:11.1-1ubuntu7.4) over (1:11.1-1ubuntu7.2) ...
Preparing to unpack .../2-pulseaudio-utils_1%3a11.1-1ubuntu7.4_amd64.deb ...
Unpacking pulseaudio-utils (1:11.1-1ubuntu7.4) over (1:11.1-1ubuntu7.2) ...
Preparing to unpack .../3-pulseaudio_1%3a11.1-1ubuntu7.4_amd64.deb ...
Unpacking pulseaudio (1:11.1-1ubuntu7.4) over (1:11.1-1ubuntu7.2) ...
Preparing to unpack .../4-libpulse-mainloop-glib0_1%3a11.1-1ubuntu7.4_amd64.deb ...
Unpacking libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.4) over (1:11.1-1ubuntu7.2) ...
Preparing to unpack .../5-libpulse0_1%3a11.1-1ubuntu7.4_amd64.deb ...
Unpacking libpulse0:amd64 (1:11.1-1ubuntu7.4) over (1:11.1-1ubuntu7.2) ...
Setting up libpulse0:amd64 (1:11.1-1ubuntu7.4) ...
Setting up libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.4) ...
Setting up libpulsedsp:amd64 (1:11.1-1ubuntu7.4) ...
Setting up pulseaudio-utils (1:11.1-1ubuntu7.4) ...
Setting up pulseaudio (1:11.1-1ubuntu7.4) ...
Setting up pulseaudio-module-bluetooth (1:11.1-1ubuntu7.4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
sudo apt install libasound2

Code: Select all

mint@mint:~$ sudo apt install libasound2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libasound2 is already the newest version (1.1.3-5ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 231 not upgraded.
mint@mint:~$ sudo apt install --reinstall libasound2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 231 not upgraded.
Need to get 359 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasound2 amd64 1.1.3-5ubuntu0.2 [359 kB]
Fetched 359 kB in 0s (1480 kB/s)  
(Reading database ... 331325 files and directories currently installed.)
Preparing to unpack .../libasound2_1.1.3-5ubuntu0.2_amd64.deb ...
Unpacking libasound2:amd64 (1.1.3-5ubuntu0.2) over (1.1.3-5ubuntu0.2) ...
Setting up libasound2:amd64 (1.1.3-5ubuntu0.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
mint@mint:~$ 
sudo alsa force-reload

Code: Select all

mint@mint:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-soc-sst-byt-cht-cx2072x snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-cx2072x snd-soc-acpi-intel-match snd-soc-acpi snd-seq-midi snd-soc-core snd-seq-midi-event snd-compress snd-rawmidi snd-hdmi-lpe-audio snd-seq snd-pcm-dmaengine snd-pcm snd-seq-device snd-timer (failed: modules still loaded: snd-soc-sst-byt-cht-cx2072x snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-cx2072x snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-hdmi-lpe-audio snd-pcm-dmaengine snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-soc-sst-byt-cht-cx2072x snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-cx2072x snd-soc-acpi-intel-match snd-soc-acpi snd-seq-midi snd-soc-core snd-seq-midi-event snd-compress snd-rawmidi snd-hdmi-lpe-audio snd-seq snd-pcm-dmaengine snd-pcm snd-seq-device snd-timer.
mint@mint:~$ 
pulseaudio -k

Code: Select all

mint@mint:~$ pulseaudio -k
mint@mint:~$ sudo pulseaudio -k
E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
E: [pulseaudio] main.c: Failed to kill daemon: No such file or directory
mint@mint:~$ 
aplay -l

Code: Select all

mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytchtcx2072x [bytcht-cx2072x], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytchtcx2072x [bytcht-cx2072x], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
mint@mint:~$ 
I did not verify the ISO but will do that.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

Fantastic! We have something we can work with now.

That bytchtcx2072x used to require a fix that ran a script doing a number of system edits, including a modified kernel. Since kernel 5.3 that is no longer necessary, so most likely the issue now is muted audio (there could be other things also not co-operating that I'll check on shortly.)

In the interim, run alsamixer -c1 in the terminal. Any columns you see with MM on the bottom means they're muted. Use the arrow keys to move from column to column and the m key to toggle mute. You can also raise and lower levels with the up and down arrow keys.

Also, it may still be trying to play audio to the hdmilpeaudio. You can use whatever MATE has for sound settings to change the output to Deep-Buffer Audio, or Audio.

And if none of that works, then we do need to disable hdmilpeaudio with this:

Code: Select all

sudo tee /etc/modprobe.d/blacklist-snd-hdmi-lpe-audio.conf <<<'blacklist snd_hdmi_lpe_audio'
Then one more reboot and it will hopefully be working fine.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

I checked to see if there might be anything else necessary and it's good that I did. You might need to run these lines in this order:

Code: Select all

sudo mkdir --parents /usr/share/alsa/ucm/bytcht-cx2072x

Code: Select all

cd /usr/share/alsa/ucm/bytcht-cx2072x

Code: Select all

sudo wget "https://raw.githubusercontent.com/heikomat/linux/cx2072x/cx2072x_fixes_and_manual/bytcht-cx2072x/HiFi.conf"

Code: Select all

sudo wget "https://raw.githubusercontent.com/heikomat/linux/cx2072x/cx2072x_fixes_and_manual/bytcht-cx2072x/bytcht-cx2072x.conf"
Follow that with another reboot.

These may not be necessary, but with you not having a bytcht-cx2072x folder in /usr/share/alsa/ucm, I'm suspecting it's possible you will need to do these.

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

There is progress, last reboot I could hear static noise coming from the speakers :)

Code: Select all

alsamixer -c1
is very extensive, basically any item it found I unmuted if it was muted, and or raised the volume if it was possible.
But it did not seem to produce any sound.
The sound settings in MATE did show dummy output, which was new, before I think it said analog or something.
Then I disabled hdmipleaudio and rebooted, without any improvement.

After the reboot I entered all those commands in the order suggested, and after again a reboot I could hear noise coming from the speakers!
it was really loud crackling noise, decided to plug in a headphone in the 3.5 jack which made the noise stop. There was no sound coming from the headphone. Then when the machine finished booting I removed the headphone, and there was no noise.

aplay -l

Code: Select all

mint@mint:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: bytchtcx2072x [bytcht-cx2072x], device 0: 3 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: bytchtcx2072x [bytcht-cx2072x], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Then when I tried alsamixer -c1 I get an error.

Code: Select all

mint@mint:~$ alsamixer -c1
invalid card index: 1
try `alsamixer --help' for more information
mint@mint:~$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
However when I try

Code: Select all

alsamixer
it does open, and well I checked every column again, and there is one that will not unmute:."pcm1_in"

Code: Select all

mint@mint:~$ alsamixer

mint@mint:~$ 
Rebooted again, now there was already static noise coming from the speakers in the boot device selection menu! The volume level was not annoying so I did this time not plug in a headphone. After Mint finished starting up I notcied in the Sound preferences that I now have a "built-in Audio Multichannel" selected for input. And for output it still says "dummy output".

Can I somehow fix the alsamixer error? And or any idea why pulseaudio fails? Not that I really know what pulseaudio does :mrgreen:
I've also verified the ISO and it checks out.

EDIT: duh I had to do alsamixer -C0 as there is no C1...

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

Okay, we're getting close to the finish line.

Once you blacklisted the hdmilpeaudio, you removed what had been card 0, so card 1 became card 0 which is why alsamixer gave you that error.

I think at this time it would be best to install and run PulseAudio Volume Control (pavucontrol) as it has options I'm familiar with. You might get sound working yourself using it, but if not, start a song or video then run pacmd list-sinks in the terminal then paste that output. Also let me see pacmd list-cards as well.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

One more possibility is all these changes have confused pulseaudio. Try this command:

Code: Select all

rm -rf ~/.config/pulse/*
Follow that with a reboot a pulseaudio will start with a fresh set of config files.

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

long story short; i foolishly used the update manager to update the persistent Live USB, and well it would no longer boot :roll:
Anyway, creating a new one was easy!

The first thing I did with the fresh Mint was upgrade to the latest kernel.
Then I used alsamixer to unmute any muted column I could find and/or raised any volume set to 0 up a bit.
After that I created that bytcht-folder and used wget to copy those files.
I also did: sudo apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2 (<- this time without a prob).
Then I installed pavucontrol and also vlc
blacklisted the hdmi with sudo tee /etc/modprobe.d/blacklist-snd-hdmi-lpe-audio.conf <<<'blacklist snd_hdmi_lpe_audio
removed the pulse config; sudo rm -rf ~/.config/pulse/*.

So I could hear loud static noise then popping then a loud beeplike sound during the boot and then it stopped when the mint logo appeared. Very promising!

pavucontrol seems to see a dummy output only.

pacmd list-sinks

Code: Select all

mint@mint:~$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 1.28 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
	module: 14
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
mint@mint:~$ 
pacmd list-cards

Code: Select all

mint@mint:~$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.platform-bytcht_cx2072x>
	driver: <module-alsa-card.c>
	owner module: 26
	properties:
		alsa.card = "0"
		alsa.card_name = "bytcht-cx2072x"
		alsa.long_card_name = "HP-HPx2210-Type1ProductConfigId-8173"
		alsa.driver_name = "snd_soc_sst_byt_cht_cx2072x"
		device.bus_path = "platform-bytcht_cx2072x"
		sysfs.path = "/devices/pci0000:00/808622A8:00/bytcht_cx2072x/sound/card0"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"
	profiles:
		input:analog-mono: Analog Mono Input (priority 2, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
mint@mint:~$ 
I really hope you have more ideas! :D

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

Wow! I'm wondering how much of this is an issue with running from the USB instead of installing to the machine. Regardless, I'll not give up trying to help get it working this way.

One more command from the original list of fixes to apply for cx2072x is this:

Code: Select all

sudo sed --in-place --regexp-extended --expression='s/;?\s*realtime-scheduling\s*=\s*(yes|no)/realtime-scheduling = no/g' /etc/pulse/daemon.conf
I doubt that is going to fix this present issue, but shouldn't hurt to run it anyway. It's just changing a default setting that used to be required for your sound card.

Let's try something new:

1. In the terminal enter touch ~/.config/pulse/client.conf

2. In the terminal enter xed ~/.config/pulse/client.conf and when the file opens enter this then save the file:

Code: Select all

.include /etc/pulse/client.conf
autospawn=no
3. In the terminal enter pulseaudio -k then sudo alsa force reload then pulseaudio --start

4. See if pacmd list-sinks now shows a non dummy output. That is to say something other than this at the top:

Code: Select all

1 sink(s) available.
  * index: 0
	name: <auto_null>

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

Well something has changed, used by 0 where is was first used by 1, but it still says dummy output:

Code: Select all

mint@mint:~$ sudo sed --in-place --regexp-extended --expression='s/;?\s*realtime-scheduling\s*=\s*(yes|no)/realtime-scheduling = no/g' /etc/pulse/daemon.conf
mint@mint:~$ touch ~/.config/pulse/client.conf
mint@mint:~$ xed ~/.config/pulse/client.conf
mint@mint:~$ pulseaudio -k
mint@mint:~$ sudo alsa force reload
Usage: /sbin/alsa {unload|reload|force-unload|force-reload|suspend|resume}
mint@mint:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-soc-sst-byt-cht-cx2072x snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-cx2072x snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-soc-sst-byt-cht-cx2072x snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi-intel-match snd-soc-cx2072x snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
mint@mint:~$ pulseaudio --start
mint@mint:~$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: front-left: 53740 /  82% / -5.17 dB,   front-right: 53740 /  82% / -5.17 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 14
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
mint@mint:~$ 

User avatar
toonder
Level 1
Level 1
Posts: 16
Joined: Thu Feb 13, 2020 4:00 pm
Location: Amsterdam

Re: no sound either on HP-X2

Post by toonder »

PS with alsamixer there is one column that does not want to be unmuted:

"pcm1_in Gain 0 (dB gain: 17.60, 17.60)"

Image

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

That one column isn't important right now. And I errer in the command I gave you, so here the whole batch again:

In the terminal enter pulseaudio -k then sudo alsa force-reload then pulseaudio --start

Oops, I see you caught that. I thought that killing pulseaudio with the autospawn turned off would allow ALL modules to be reloaded, not this usual bit:

Code: Select all

failed: modules still loaded: 
Let me think for a bit for other possible remedies. I'll get back to you in a few hours probably.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

Your card is showing as an input only device, which is why we're getting Dummy Output. I don't know why that is happening. Let's make sure the folder was created properly with ls -la /usr/share/alsa/ucm

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound either on HP-X2

Post by MrEen »

Let's also see apt policy linux-firmware. If nothing is install, do apt install linux-firmware then reboot and see if things work.

Post Reply

Return to “Sound, Multimedia, & Codecs”