HP Envy 17-cw0023dx no sound ... [Solved]
Re: HP Envy 17-cw0023dx no sound ...
Just, maybe:
firmware-sof-signed on regular MX is currently: 2.2.4-1 and on AHS: 2.2.5-1
The most recent release on github is currently 2.7
( to MX devs on this opportunity)
You can try installing that manually (if you like only)
firmware-sof-signed on regular MX is currently: 2.2.4-1 and on AHS: 2.2.5-1
The most recent release on github is currently 2.7
( to MX devs on this opportunity)
You can try installing that manually (if you like only)
Re: HP Envy 17-cw0023dx no sound ...
Good eye, thank you. I will try that either later this evening or probably tomorrow.. I am burnt!Charlie Brown wrote: Thu Oct 19, 2023 3:50 pm Just, maybe:
firmware-sof-signed on regular MX is currently: 2.2.4-1 and on AHS: 2.2.5-1
The most recent release on github is currently 2.7
( to MX devs on this opportunity)
You can try installing that manually (if you like only)
First, I setup a VM, loaded up windows 11 (which actually loaded quite nice in a VM btw.) and then attempted to push 'up and into the sound' .. no go - couldnt get control of the hardware.
So...
I redid the machine, starting with windows 11 first, brought it all up and working (including sound), then installed mx21 again on a dual boot. Once all good, then booted to windows, played sound, then restarted back into MX - and ... still no sound. SO.. that 'windows first' trick didnt work. (least I know. )
One thing I noticed when in windows messing with it - This machine has a 'sound array' ... which it claims is Intel driven. I tried turning that off or on an seeing how things work - basically there is an option to 'allow' or 'not allow' apps to use either one... very odd thing. But also didnt seem to make any difference in windows. (that I could see.)
*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!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: HP Envy 17-cw0023dx no sound ...
Yep - have seen that same on the ASUS ROG, i mentioned above, in Win11 stock installation.CharlesV wrote: Thu Oct 19, 2023 9:34 pm One thing I noticed when in windows messing with it - This machine has a 'sound array' ... which it claims is Intel driven. I tried turning that off or on an seeing how things work - basically there is an option to 'allow' or 'not allow' apps to use either one... very odd thing. But also didnt seem to make any difference in windows. (that I could see.)
This 'sound array' consists of the Intel/ALC core codecs and the additional Cirrus/CSC amplifier/equalizer codec,
which is only used for the internal speakers signal-path, afaihs.
Your best choice for your specific HP Envy model should be to follow the way shown in this post:
https://h30434.www3.hp.com/t5/Notebook- ... ue#M121709
and his patch: http://ix.io/4wpj
In your case, you already found the needed quirk infos, afaihs ...:
+ SND_PCI_QUIRK(0x103c, 0x8a29, "HP Envy x360 15-ew0xxx", ALC287_FIXUP_CS35L41_I2C_2),
+ SND_PCI_QUIRK(0x103c, 0x8a2c, "HP Envy 16-h0xxx", ALC287_FIXUP_CS35L41_I2C_2),
+ SND_PCI_QUIRK(0x103c, 0x8a2e, "HP ENVY Laptop 17t-cr0000", ALC287_FIXUP_CS35L41_I2C_2),
:
So change that in the patch code and provide the related (to your model) DMI info 'HP ENVY Laptop 17t-******'.$ sudo lspci -nnk | grep -A2 audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:51ca] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:8bdd]
Hint: search for 'OEM' strings in a 'sudo dmidecode'!
My strategy, in case that the DKMS builds from the github repo above still fail

1.) Factory-Reset
2.) Boot into Win11, install 'all-the-latest-and-greatest-drivers-for-enhanced-user-experience'

3.) The usual: Disable FASTBOOT, HIBERNATION, POWERMANAGEMENT, ... in both Windows and BIOS
4.) Install an arch-linux from scratch (or for the ease of use: the latest :arch/EOS:

5.) Follow step-by-step the instructions given by 'jelawrence' in his :post:
6.) If it works on arch, try to reproduce that kernel build in latest debian (that meaning: :Sparky: or even :Siduction:

7.) If it works on latest debian, try to compile a kernel for desired MX target revision
8.) If it works on your MX, try to adapt the DKMS build code for MX ... :)
Greetz and Good Luck!
l0dr3
EDIT1: typos, grammar and (*)
Search for / Install the latest BIOS avail from HP

Re: HP Envy 17-cw0023dx no sound ...
Hi CharlesV
Let me try to explain why some of efforts were wasted.
From Post 1.....you tried a modprobe config for kernel module snd-hda-intel
From Post 1....but the actual active module was sof-audio-pci-intel-tgl but that modprobe one was listed as an alternative.
From Post 1....options for the same module can be on the same line
Ok so lets confirm your device can avoid/evade SOF as per Post 4 Charlie Brown
#####################
OK so we are good for the following.....Note you can reverse it.....but you need to say either
-you do not want to try my method
-you found a better way
-you do not understand it
Step 1
Use root powers to create a file called /etc/modprobe.d/sound-blacklist.config with contents (name of conf can be anything BTW)
Step 2
Report
What I am expecting to see is ....."driver: snd_hda_intel"
We can then work on options.
Let me try to explain why some of efforts were wasted.
From Post 1.....you tried a modprobe config for kernel module snd-hda-intel
From Post 1....but the actual active module was sof-audio-pci-intel-tgl but that modprobe one was listed as an alternative.
From Post 1....options for the same module can be on the same line
Ok so lets confirm your device can avoid/evade SOF as per Post 4 Charlie Brown
#####################
Code: Select all
modinfo snd_hda-intel | grep 51CA
alias: pci:v00008086d000051CAsv*sd*bc*sc*i*
-you do not want to try my method
-you found a better way
-you do not understand it
Step 1
Use root powers to create a file called /etc/modprobe.d/sound-blacklist.config with contents (name of conf can be anything BTW)
Full rebootblacklist sof-audio-pci-intel-tgl
Step 2
Report
Code: Select all
inxi -Axxx
We can then work on options.
Re: HP Envy 17-cw0023dx no sound ...
@ghunter it seems it's really due to a Bios problem (Linux neglected by HP guys) and either a Bios update by them or a kernel patch or a patched new kernel by Mr. Torvalds is required. Cause the same complaint on all distros, even the bleeding edge ones.. Therefore it seems playing with drivers etc. won't change anything.
Re: HP Envy 17-cw0023dx no sound ...
@l0dr3 Thanks for that, I am going to put that on the possible list, not really wanting to play with arch ;-) ( Been there before, fingertips still recovering :-) )
@Charlie Brown I struggle with the concept that "its all HP not working with windows" ... I know I have read that too, but I really think there is a way to tweak things on this.
@ghunter Thank for joining in. SO .. following your steps:
Check!
2) /etc/modprobe.d/sound-blacklist.config created and contents of
sound.conf set to
reboot
and ... still no snd_ load :-(
The only method so far I have been able to get an snd load is using the older (and I believe not correct )
options snd-intel-dspcfg dsp_driver=1
@Charlie Brown I struggle with the concept that "its all HP not working with windows" ... I know I have read that too, but I really think there is a way to tweak things on this.
@ghunter Thank for joining in. SO .. following your steps:
Check!
Code: Select all
$ modinfo snd_hda-intel | grep 51CA
alias: pci:v00008086d000051CAsv*sd*bc*sc*i*
Code: Select all
blacklist sof-audio-pci-intel-tgl
Code: Select all
options snd-hda-intel model=laptop-dmic position_fix=1 enable=yes
and ... still no snd_ load :-(
Code: Select all
$ inxi -Axxx
Audio: Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-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
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
options snd-intel-dspcfg dsp_driver=1
*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!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: HP Envy 17-cw0023dx no sound ...
Hi Charlie Brown your post 16.....understood.
Hi CharlesV
I made some mistakes....
The bad one was I failed to give you a proper blacklist file name ending in conf....my brain fade in naming it *.config
I accept your sound issue may relate to a bios issue....but as you have no sound....can I suggest we at least fix up our method on blacklisting and modprobing
step 1....remove all current configs that affect intel sound
Please use root powers to delete
/etc/modprobe.d/sound.conf
/etc/modprobe.d/sound-blacklist.config
---Peek into any other /etc/modprobe.d and if unsure...use root powers to disable them....but tell us which ones you did it to please
Lets use speaker.conf as an example....I am not suggesting you need to disable this....just an example of how to disable, its reversible
step 2 create (hopefully) a proper blacklist config and then full reboot. Thanks to Charlie Brown method....and edit due to Charlie's note on page 3 stating there is file created by MX called blacklist.conf
Note.....altho you may be tempted to have a modprobe config please do not at this stage.
Secondly the correct module name is all understems....my modinfo worked and mislead me (another brain fade)
So later we will try snd_hda-intel
Now full reboot and report on inxi -Axxx.....do you now see driver for snd_hda-intel?
Hi CharlesV
I made some mistakes....
The bad one was I failed to give you a proper blacklist file name ending in conf....my brain fade in naming it *.config
I accept your sound issue may relate to a bios issue....but as you have no sound....can I suggest we at least fix up our method on blacklisting and modprobing
step 1....remove all current configs that affect intel sound
Please use root powers to delete
/etc/modprobe.d/sound.conf
/etc/modprobe.d/sound-blacklist.config
---Peek into any other /etc/modprobe.d and if unsure...use root powers to disable them....but tell us which ones you did it to please
Lets use speaker.conf as an example....I am not suggesting you need to disable this....just an example of how to disable, its reversible
Code: Select all
sudo chmod 000 /etc/modprobe.d/pc-speaker.conf
ls -al /etc/modprobe.d/pc-speaker.conf
#### ---------- 1 root root 278 Apr 6 2022 /etc/modprobe.d/pc-speaker.conf
Code: Select all
echo 'blacklist sof-audio-pci-intel-tgl ' | sudo tee /etc/modprobe.d/sound-blacklist.conf
Secondly the correct module name is all understems....my modinfo worked and mislead me (another brain fade)
So later we will try snd_hda-intel
Now full reboot and report on inxi -Axxx.....do you now see driver for snd_hda-intel?
Last edited by ghunter on Sat Oct 21, 2023 7:35 am, edited 1 time in total.
Re: HP Envy 17-cw0023dx no sound ...
Here's a workaround that you can try in the interim while you work on getting the internal sound card to work completely. I purchased one of these:
https://www.canadacomputers.com/product ... _id=121319
when I couldn't get my headphones to work with the sound card in my HP 15. I discovered quite by accident that the laptop's speakers could be directed to use the Sound Blaster Play4 as well. My headphone problem was solved when the Liquorix 6.5.5 kernel became available but this gadget gave me about two months of rich sound in that interval.
https://www.canadacomputers.com/product ... _id=121319
when I couldn't get my headphones to work with the sound card in my HP 15. I discovered quite by accident that the laptop's speakers could be directed to use the Sound Blaster Play4 as well. My headphone problem was solved when the Liquorix 6.5.5 kernel became available but this gadget gave me about two months of rich sound in that interval.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
Re: HP Envy 17-cw0023dx no sound ...
To anyone interested,
I thinking out loud, with no brains as normal.
1) Can we confirm is it really a bios issue?
To my naive brain....if sound exists on Windows 11....and the bios is good....then IMHO we eliminate bios.
That still does not resolve any linux firmware, linux driver (module) or linux configs
2) I am also thinking if the OP does adopt a blacklist so the sound module becomes snd_hda-intel,
if no sound. once we exhaust any modprobe options...we could explore whether we could use a input pin as an output pin via hdajackretask.
Leaping ahead here is my outputs for my current pins NOT the same hardware, I know
On a tower I have the options of changing (I am not suggesting perfect sound) pins 18 19 and 1a to be outputs
there are cheaper usb sound mixers available and well known online selling sites as well. The one I own is terrible to use as a line out. Its OK for headphone playback
let me know your thoughts.
I thinking out loud, with no brains as normal.
1) Can we confirm is it really a bios issue?
To my naive brain....if sound exists on Windows 11....and the bios is good....then IMHO we eliminate bios.
That still does not resolve any linux firmware, linux driver (module) or linux configs
2) I am also thinking if the OP does adopt a blacklist so the sound module becomes snd_hda-intel,
if no sound. once we exhaust any modprobe options...we could explore whether we could use a input pin as an output pin via hdajackretask.
Leaping ahead here is my outputs for my current pins NOT the same hardware, I know
Code: Select all
sudo hdajacksensetest
# I input my pw
Pin 0x14 (Red Line Out, Rear side): present = Yes
Pin 0x15 (Black Line Out, Rear side): present = No
Pin 0x16 (Black Line Out, Rear side): present = No
Pin 0x17 (Black Line Out, Rear side): present = No
Pin 0x18 (Black Mic, Rear side): present = No
Pin 0x19 (Pink Mic, Front side): present = No
Pin 0x1a (Black Line In, Rear side): present = No
Pin 0x1b (Green Headphone, Front side): present = No
there are cheaper usb sound mixers available and well known online selling sites as well. The one I own is terrible to use as a line out. Its OK for headphone playback
Code: Select all
lsusb #SNIP
Bus 001 Device 002: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller