HP Envy 17-cw0023dx no sound ...  [Solved]

Message
Author
User avatar
CharlesV
Administrator
Posts: 7980
Joined: Sun Jul 07, 2019 5:11 pm

Re: HP Envy 17-cw0023dx no sound ...

#31 Post by CharlesV »

@ghunter The info you requested.

Code: Select all

$ sudo dmesg | grep firmware
[    2.644125] i915 0000:00:02.0: firmware: direct-loading firmware i915/adlp_dmc_ver2_16.bin
[    2.645731] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[    2.657606] i915 0000:00:02.0: firmware: direct-loading firmware i915/adlp_guc_70.bin
[    2.657770] i915 0000:00:02.0: firmware: direct-loading firmware i915/tgl_huc.bin
[    2.771021] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
[    2.771023] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[    5.321038] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[    5.321041] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    5.321089] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[    5.321090] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.418185] iwlwifi 0000:00:14.3: firmware: direct-loading firmware iwlwifi-so-a0-gf-a0-72.ucode
[    5.419079] iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    5.419176] iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    5.419182] iwlwifi 0000:00:14.3: loaded firmware version 72.a764baac.0 so-a0-gf-a0-72.ucode op_mode iwlmvm
[    5.709042] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-rpl.ri
[    5.790414] iwlwifi 0000:00:14.3: firmware: direct-loading firmware iwlwifi-so-a0-gf-a0.pnvm
[    5.816455] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
[    6.461486] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    6.464833] bluetooth hci0: firmware: direct-loading firmware intel/ibt-0040-0041.sfi
[    6.464838] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[    8.000382] Bluetooth: hci0: Waiting for firmware download to complete
[    8.018368] bluetooth hci0: firmware: direct-loading firmware intel/ibt-0040-0041.ddc

Code: Select all

$ sudo dmesg | grep sound
[    5.925299] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21
[    5.925366] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input22
[    5.925419] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input23
[    5.925469] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input24
[    5.925518] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input25

Code: Select all

$ dpkg -l | grep firmware-sof
ii  firmware-sof-signed                               2.2.5-1~mx21ahs                            all          Intel SOF firmware - signed

Code: Select all

$ lsmod | grep snd
snd_ctl_led            24576  0
snd_soc_skl_hda_dsp    24576  6
snd_soc_intel_hda_dsp_common    20480  1 snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi      45056  1 snd_soc_skl_hda_dsp
snd_sof_probes         24576  0
snd_hda_codec_hdmi     81920  1
snd_hda_codec_realtek   172032  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_ctl_led,snd_hda_codec_generic
snd_soc_dmic           16384  1
snd_sof_pci_intel_tgl    16384  2
snd_sof_intel_hda_common   192512  1 snd_sof_pci_intel_tgl
soundwire_intel        49152  1 snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_sof               278528  3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes
snd_sof_utils          20480  1 snd_sof
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_hda_ext_core       40960  3 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda
snd_soc_acpi_intel_match    77824  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_hda_scodec_cs35l41_spi    16384  0
snd_soc_core          356352  8 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
regmap_spi             16384  1 snd_hda_scodec_cs35l41_spi
snd_compress           28672  2 snd_soc_core,snd_sof_probes
snd_hda_intel          57344  0
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         184320  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hda_core          122880  11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_scodec_cs35l41_i2c    16384  0
snd_hda_scodec_cs35l41    40960  2 snd_hda_scodec_cs35l41_i2c,snd_hda_scodec_cs35l41_spi
snd_hwdep              16384  1 snd_hda_codec
snd_hda_cs_dsp_ctls    20480  1 snd_hda_scodec_cs35l41
snd_pcm               159744  12 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core
cs_dsp                 61440  2 snd_hda_scodec_cs35l41,snd_hda_cs_dsp_ctls
snd_timer              45056  1 snd_pcm
snd_soc_cs35l41_lib    32768  3 snd_hda_scodec_cs35l41_i2c,snd_hda_scodec_cs35l41,snd_hda_scodec_cs35l41_spi
snd                   126976  26 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_hda_scodec_cs35l41,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm,snd_hda_cs_dsp_ctls
soundcore              16384  2 snd_ctl_led,snd

I will try the blacklist with underscores and then also try removing firmware-sof-signed is the blacklist still fails.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Charlie Brown

Re: HP Envy 17-cw0023dx no sound ...

#32 Post by Charlie Brown »

ghunter wrote: Sun Oct 22, 2023 2:18 am Hi Charlie Brown

Then maybe the OP should try understems in the blacklist file?...
I mean, that's not causing any issue, both are the same:
https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html wrote:
Hyphens (dashes) and underscores are equivalent in parameter names, so:

Code: Select all

log_buf_len=1M print-fatal-signals=1
can also be entered as:

Code: Select all

log-buf-len=1M print_fatal_signals=1
Double-quotes can be used to protect spaces in values, e.g.:

Code: Select all

param="spaces in here"

User avatar
CharlesV
Administrator
Posts: 7980
Joined: Sun Jul 07, 2019 5:11 pm

Re: HP Envy 17-cw0023dx no sound ...

#33 Post by CharlesV »

So.... blacklist of the sof with underscores didnt make a difference. (ie still loading. )

SO.. removed the firmware-sof-signed

Code: Select all

$ apt policy firmware-sof-signed
firmware-sof-signed:
  Installed: (none)
  Candidate: 2.2.5-1~mx21ahs
  Version table:
     2.2.5-1~mx21ahs 500
        500 http://la.mxrepo.com/mx/repo bullseye/ahs amd64 Packages
        500 http://la.mxrepo.com/mx/repo bullseye/ahs i386 Packages
     1.7-1 500
        500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
        500 http://deb.debian.org/debian bullseye/non-free i386 Packages

rebooted and ...

Code: Select all

Audio:     Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl 
           alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:51ca 
           class-ID: 0401 
           Sound Server-1: ALSA v: k6.1.0-0.deb11.11-amd64 running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.79 running: no 
My machine appears to REALLY want to load the sof driver ...lol
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

ghunter
Posts: 195
Joined: Mon May 29, 2023 12:40 am

Re: HP Envy 17-cw0023dx no sound ...

#34 Post by ghunter »

Hi Charlie Brown, thanks for the link see below if interested
Hi CharlesV

I have not had time to study all of your results but agree there is something weirdness (number 1) going on there. In theory if your device needed firmware, the module IMHO should not load.
But I have not checked it all out at time of posting.

Weirdness (2)

Code: Select all

modinfo sof-audio-pci-intel-tgl
modinfo: ERROR: Module sof-audio-pci-intel-tgl not found.
# no hits
$ modinfo sof_audio_pci_intel_tgl
modinfo: ERROR: Module sof_audio_pci_intel_tgl not found.
# no hits
$ modinfo snd_hda_intel
filename:       /lib/modules/6.5.6-1-liquorix-amd64/kernel/sound/pci/hda/snd-hda-intel.ko
SNIP results work as expected eliminating sudo as an issue
Your dmesg result shows
sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-rpl.ri
sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg

my lsmod command lacked one more request.....I am thinking you are not going to get a hit due to weirdness but lets confirm?

Code: Select all

lsmod | grep sof-audio-pci-intel-tgl

User avatar
CharlesV
Administrator
Posts: 7980
Joined: Sun Jul 07, 2019 5:11 pm

Re: HP Envy 17-cw0023dx no sound ...

#35 Post by CharlesV »

I was JUST posting any update. I made a little progress! After reading an article on slack, and going through the sound mods documentation ... I have the snd_hda_intel driver loading! (still no sound, but .. making progress I think! )

Code: Select all

Audio:     Device-1: Intel vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:51ca class-ID: 0401 
           Sound Server-1: ALSA v: k6.5.6-1-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.79 running: no 
sound.conf

Code: Select all

options snd-hda-intel dmic_detect=0
options snd-hda-intel model=laptop-amic enable=yes

sound-blacklist.conf

Code: Select all

blacklist sof-audio-pci-intel-tgl

and back on 6.5.6 liquorix kernel
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

ghunter
Posts: 195
Joined: Mon May 29, 2023 12:40 am

Re: HP Envy 17-cw0023dx no sound ...

#36 Post by ghunter »

HI CharlesV

I am just doing the opposite to my original intentions based on the fact we saw the sof kernel module want to live....not die
I just saw your reply but try this instead.....its reversible

step 1 delete or keep deleted the firmware-sof-signed
delete all modprobe configs...for the moment

step 2 download the latest fw
https://github.com/thesofproject/sof-bi ... .09.tar.gz

step 3 unpack and install it and then full reboot

Code: Select all

cd Downloads
tar xvf sof-bin-2023.09.tar.gz
cd sof-bin-2023.09
sudo sh install.sh
# check only note the new dir
root@box:/usr/lib/firmware/intel# ls
ice  irci_irci_ecr-master_20161208_0213_20170112_1500.bin  sof	sof-ace-tplg  sof-ipc4	sof-tplg
full reboot and check dmesg | grep firmware....compare to your prev post
If you see a change.....we might then look at the modprobe configs

ghunter
Posts: 195
Joined: Mon May 29, 2023 12:40 am

Re: HP Envy 17-cw0023dx no sound ...

#37 Post by ghunter »

reversible is easy.

Code: Select all

cd /usr/lib/firmware/intel
sudo rm -rf sof*
sudo apt install firmware-sof-signed

User avatar
CharlesV
Administrator
Posts: 7980
Joined: Sun Jul 07, 2019 5:11 pm

Re: HP Envy 17-cw0023dx no sound ...

#38 Post by CharlesV »

Done.

Code: Select all

$ sudo dmesg | grep firmware
[sudo] password for charge: 
[    1.671918] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
[    1.681625] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
[    1.681628] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    3.433976] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.465001] iwlwifi 0000:00:14.3: loaded firmware version 83.e8f84e98.0 so-a0-gf-a0-83.ucode op_mode iwlmvm
[    4.586428] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    4.589584] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[    6.075075] Bluetooth: hci0: Waiting for firmware download to complete

Code: Select all

Audio:     Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl 
           alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:51ca 
           class-ID: 0401 
           Sound Server-1: ALSA v: k6.5.6-1-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.79 running: no 
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

ghunter
Posts: 195
Joined: Mon May 29, 2023 12:40 am

Re: HP Envy 17-cw0023dx no sound ...

#39 Post by ghunter »

Hi CharlesV

In post 1 your network is wifi ( wlan0 state: up)
In post 31 your dmesg has entries for regulatory.db, wifi and BT
In post 38 it appears your dmesg was truncated? less info on wifi and BT

I do not use BT myself but anyhow in case I am distraction from the main game....can you confim that at time you wrote post 31 and just now for post 38,
your wifi was working and whether you need BT and its working please

I am on ethernet but some people need regulatory.db. if wifi is working...we do not care what dmesg says ;)

ghunter
Posts: 195
Joined: Mon May 29, 2023 12:40 am

Re: HP Envy 17-cw0023dx no sound ...

#40 Post by ghunter »

Also I think debian does not have sof-probes according to https://packages.debian.org/index

But its in the unpack to that firmware download under dir=tools. But its looking for GLIBC_2.34

Post Reply

Return to “Hardware /Configuration”