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

Message
Author
User avatar
FullScale4Me
Posts: 1162
Joined: Fri Jan 08, 2021 11:30 pm

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

#21 Post by FullScale4Me »

MXRobo wrote: Wed Oct 18, 2023 10:59 pm Re: "headphones work - just no speakers", didn't someone else on this forum have the same issue - or possibly vice-versa - within the last month or two.
:goodluck:
Yes, one of the Devs suggested installing the indicator-sound-switcher app which gives an input and output switching icon in the system tray. Worth a try, eh CharlesV?
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

Charlie Brown

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

#22 Post by Charlie Brown »

ghunter wrote: Fri Oct 20, 2023 7:52 pm... sudo tee /etc/modprobe.d/blacklist.conf ...
Just a tiny note (generally speaking): Either using another name or using the -a flag would be better cause that name (blacklist.conf) is used also by "MX Network Assistant", and that command will overwrite the file if already existing :)

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

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

#23 Post by ghunter »

Hi Charlie Brown
did not know that thanks but I have no such beast....but am on ethernet

I have editted post 18 to sound-blacklist.conf

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

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

#24 Post by CharlesV »

@FullScale4Me Thanks sir, good suggestion, but afraid no change.

@j2mcgreg Thank you, you may have just given me a great workaround!!

@ghunter Going to get some coffee in me and will work on your last notes and steps - thank you!
*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!

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

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

#25 Post by CharlesV »

@ghunter I agree that I think 'bios' is a cop out and code *should* work :-)

Ran through your steps in post #18
- Removed sound.conf and sound-blacklist.conf (yes, I had renamed it thinking that might be the issue there.)
- No other sound related, other than pc-speaker.conf (content below )
- created sound-blacklist.conf


/etc/modprobe.d/sound-blacklist.conf

Code: Select all

blacklist sof-audio-pci-intel-tgl

/etc/modprobe.d/pc-speaker.conf

Code: Select all

blacklist snd-pcsp
blacklist pcspkr

rebooted and no go, still sof

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 

recreated sound.conf as the following:

Code: Select all

/etc/modprobe.d/sound.conf 
options snd-hda-intel model=laptop-dmic position_fix=1 enable=yes

rebooted, no go.. still sof-

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!

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

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

#26 Post by CharlesV »

I think there is a clue here which I do not really understand....

Every machine I have issued the lspci on it has shown the audio device... except this one!

Code: Select all

lspci -k | grep -A 4 Audio
shows nothing.

If I change to lowercase audio, then I see

Code: Select all

$ lspci -k | grep -A 4 audio
00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01)
	Subsystem: Hewlett-Packard Company Device 8bdd
	Kernel driver in use: sof-audio-pci-intel-tgl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
	Subsystem: Hewlett-Packard Company Device 8bdd
	Kernel driver in use: i801_smbus

on ALL of my other machines... (7 in total) , I see the FIRST line of the lspci listed as Audio device: xxxxx

example of my gigbyte mobo...

Code: Select all

$ lspci -k | grep -A 4 Audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
	DeviceName: Onboard - Sound
	Subsystem: Gigabyte Technology Co., Ltd Cannon Lake PCH cAVS
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
--
01:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU104 HD Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
01:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU104 USB 3.1 Host Controller


and a straight lspci lists the audio controller far different from other machines...

Code: Select all

$ lspci
00:00.0 Host bridge: Intel Corporation Device a706
00:02.0 VGA compatible controller: Intel Corporation Device a7a0 (rev 04)
00:04.0 Signal processing controller: Intel Corporation Device a71d
00:06.0 PCI bridge: Intel Corporation Device a74d
00:07.0 PCI bridge: Intel Corporation Device a76e
00:07.2 PCI bridge: Intel Corporation Device a72f
00:08.0 System peripheral: Intel Corporation Device a74f
00:0a.0 Signal processing controller: Intel Corporation Device a77d (rev 01)
00:0d.0 USB controller: Intel Corporation Device a71e
00:0d.2 USB controller: Intel Corporation Device a73e
00:0d.3 USB controller: Intel Corporation Device a76d
00:12.0 Serial controller: Intel Corporation Device 51fc (rev 01)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Device 51f1 (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51bd (rev 01)
00:1f.0 ISA bridge: Intel Corporation Device 519d (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a80b (rev 02)
56:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

Maybe I am just seeing something that doesnt matter here, but it appears very odd to me.
*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: 198
Joined: Mon May 29, 2023 12:40 am

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

#27 Post by ghunter »

grrrr at myself for not being blunt enough to explain why I need you to understand something...more to follow

lets go back 2 steps before we go forward
1) please show any grub entries that affect your sound
2) Please show the full results of all these

Code: Select all

sudo dmesg | grep firmware
sudo dmesg | grep sound
dpkg -l | grep firmware-sof
lsmod | grep snd
2) that blacklist has failed.....and maybe we need to trick it. I am thinking the lsmod command may show a different kernel module so leaping ahead here is what I found

Code: Select all

root@box:/lib/modules/6.5.6-1-liquorix-amd64/kernel/sound/soc/sof/intel# ls
snd-sof-acpi-intel-bdw.ko  snd-sof-intel-hda-common.ko	snd-sof-pci-intel-apl.ko  snd-sof-pci-intel-mtl.ko  snd-sof-pci-intel-tng.ko
snd-sof-acpi-intel-byt.ko  snd-sof-intel-hda.ko		snd-sof-pci-intel-cnl.ko  snd-sof-pci-intel-skl.ko
snd-sof-intel-atom.ko	   snd-sof-intel-hda-mlink.ko	snd-sof-pci-intel-icl.ko  snd-sof-pci-intel-tgl.ko
#####################

post 1 you mention sof-audio-pci-intel-tgl and its ids as chip-ID: 8086:51ca
post 4 Charlie Brown mentions options snd-hda-intel but that is going to fail if we have not blacklisted the post 1 module
post 5 you mention sof-audio-pci-intel-tgl so I repeat your modprobe will fail
post 9 you mention some other options
Post 15 I prove that modinfo snd_hda-intel | grep 51CA is a MATCH to your hardware ids
post 17 I give you the wrong modprobe config name which is why that was never going to blacklist
Post 18 (editted due to correction needed as per Charlie Brown post 22)
echo 'blacklist sof-audio-pci-intel-tgl ' | sudo tee /etc/modprobe.d/sound-blacklist.conf
IMHO that should have worked if that was truly the base kernel module
post 25 you mention blacklist sof-audio-pci-intel-tgl is contents of /etc/modprobe.d/sound-blacklist.conf
post 25 you mention current kernel module = sof-audio-pci-intel-tgl (with hypens)
with alternative snd_hda_intel,snd_sof_pci_intel_tgl (with understems)
post 25 you then continue to believe this config will work ----assumed the blacklist was going to work -----and I agree it should have
/etc/modprobe.d/sound.conf
options snd-hda-intel model=laptop-dmic position_fix=1 enable=yes

so forgive me for sucking eggs....but we are going to have to do this again in a different way.

I want to study your outputs.

If Charlie Brown or others understand where I am going with this.....my plans now change
A I suggest we remove all grub configs.....all modprobe configs and
B knowing what your "BASIC KERNEL MODULE IS" sorry for shout....we get you to a live root powered rmmod command or root powered modprobe -r command
C we can then use root powered modprobe command to get snd_hda_intel loaded

I am still going to have do modinfo on the sof kernel modules to try and work out what is happening
Hopefully we can resolve this without 20 pages of posts ;)

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

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

#28 Post by ghunter »

We could just ask you to remove the package firmware-sof-signed and full reboot
Pretending you kept a modprobe config.....the snd_hda-intel might then work

There are many ways lets try this way first?

Charlie Brown

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

#29 Post by Charlie Brown »

ghunter wrote: Sat Oct 21, 2023 10:39 pm... you mention current kernel module = sof-audio-pci-intel-tgl (with hypens) ... (with understems) ...
They're the same, no matter how you type it, they'll be interpret as the same.

i.e.

sof-audio-pci-intel-tgl = sof_audio_pci_intel_tgl

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

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

#30 Post by ghunter »

Hi Charlie Brown

Then maybe the OP should try understems in the blacklist file?

OP
EDIT, lets look at understems

Code: Select all

modinfo snd_sof_pci_intel_tgl
filename:       /lib/modules/6.5.6-1-liquorix-amd64/kernel/sound/soc/sof/intel/snd-sof-pci-intel-tgl.ko
import_ns:      SND_SOC_SOF_PCI_DEV
import_ns:      SND_SOC_SOF_INTEL_HDA_COMMON
license:        Dual BSD/GPL
srcversion:     92D12C921B7E48094E4A265
alias:          pci:v00008086d000054C8sv*sd*bc*sc*i*
alias:          pci:v00008086d000051CFsv*sd*bc*sc*i*
alias:          pci:v00008086d000051CEsv*sd*bc*sc*i*
alias:          pci:v00008086d000051CDsv*sd*bc*sc*i*
alias:          pci:v00008086d000051CCsv*sd*bc*sc*i*
alias:          pci:v00008086d000051CBsv*sd*bc*sc*i*
alias:          pci:v00008086d000051CAsv*sd*bc*sc*i*
alias:          pci:v00008086d000051C9sv*sd*bc*sc*i*
alias:          pci:v00008086d000051C8sv*sd*bc*sc*i*
alias:          pci:v00008086d00007A50sv*sd*bc*sc*i*
alias:          pci:v00008086d00007AD0sv*sd*bc*sc*i*
alias:          pci:v00008086d00004B58sv*sd*bc*sc*i*
alias:          pci:v00008086d00004B55sv*sd*bc*sc*i*
alias:          pci:v00008086d000043C8sv*sd*bc*sc*i*
alias:          pci:v00008086d0000A0C8sv*sd*bc*sc*i*
depends:        snd-soc-acpi-intel-match,snd-sof-intel-hda-common,snd-sof-pci
retpoline:      Y
intree:         Y
name:           snd_sof_pci_intel_tgl
vermagic:       6.5.6-1-liquorix-amd64 SMP preempt mod_unload 
now lets look at the dependencies of snd-soc-acpi-intel-match,snd-sof-intel-hda-common,snd-sof-pci
lets pretend we blacklist

Code: Select all

modinfo snd-sof-utils
filename:       /lib/modules/6.5.6-1-liquorix-amd64/kernel/sound/soc/sof/snd-sof-utils.ko
license:        Dual BSD/GPL
srcversion:     E77C3DC0EEE0F4AE1D45BEB
depends:        snd-pcm
retpoline:      Y
intree:         Y
name:           snd_sof_utils
vermagic:       6.5.6-1-liquorix-amd64 SMP preempt mod_unload 
Above last module has no sof* module dependencies....so I allege if you do not want to remove the firmware package,
try changing your blacklist module to snd-sof-utils....and seeing if snd_hda_intel becomes active?

Post Reply

Return to “Hardware /Configuration”