You are not logged in.

#1 2023-07-24 19:09:19

nizamsplanet
Member
Registered: 2023-07-24
Posts: 2

HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Dear Experts,

Need help with this - No Sound from Speakers - Linux.

I believe i am using the latest kernel; 6.4.x

Still dual Booting with Windows 11. Kindly suggest a Fix Thanks

https://linux-hardware.org/?probe=0b4b6b015b

https://pastebin.com/hXrw7iYU


$ inxi -Fz

Kernel:
    6.4.4-arch1-1 arch: x86_64 bits: 64 Desktop: Cinnamon v: 5.8.4

Machine:
    Type: Convertible System: HP product: HP ENVY x360 2-in-1 Laptop 15-ey0xxx
    UEFI: Insyde v: F.12 date: 04/12/2023

Audio:
    Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_rn_pci_acp3x
    Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
    API: ALSA v: k6.4.4-arch1-1 status: kernel-api
    Server-1: PipeWire v: 0.3.75 status: active


sudo dmesg | grep CS35

[    8.679025] Serial bus multi instantiate pseudo device driver CSC3551:00: Instantiated 2 I2C devices.
[    8.870547] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Error: ACPI _DSD Properties are missing for HID CSC3551.
[    8.870565] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported
[    8.870620] cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.0 failed with error -22
[    8.870886] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Error: ACPI _DSD Properties are missing for HID CSC3551.
[    8.870897] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported
[    8.870947] cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.1 failed with error -22

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  hp          916 F.... pipewire
                     hp          919 F.... wireplumber
/dev/snd/controlC1:  hp          916 F.... pipewire
                     hp          919 F.... wireplumber
/dev/snd/controlC2:  hp          916 F.... pipewire
                     hp          919 F.... wireplumber
/dev/snd/seq:        hp          916 F.... pipewire

$aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC245 Analog [ALC245 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Last edited by nizamsplanet (2023-07-25 11:10:42)

Offline

#2 2023-07-25 06:43:45

BambooNinja
Member
Registered: 2023-07-24
Posts: 4

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Hi. Seems like you have the same issue as I have with ZenBook 14. See this topic - https://bbs.archlinux.org/viewtopic.php?id=278198

Offline

#3 2023-07-26 03:59:41

Unsecured443
Member
Registered: 2023-07-08
Posts: 20

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Unfortunately, you have to compile your kernel yourself, with this patch applied, because the patch is not going to be upstreamed anytime soon. However, you may soon have an easier option. Until that's available, you'll have to compile your own kernel with that patch applied to get the audio working.

Offline

#4 2023-07-26 09:59:29

BambooNinja
Member
Registered: 2023-07-24
Posts: 4

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Unsecured443 wrote:

Unfortunately, you have to compile your kernel yourself, with this patch applied, because the patch is not going to be upstreamed anytime soon. However, you may soon have an easier option. Until that's available, you'll have to compile your own kernel with that patch applied to get the audio working.

Hello, Unsecured443. Thanks for the links. I've managed to apply patch to 6.4.5 kernel sources. Now sound is working, however it's so low I barely hear anything at maximum volume. AFAIU laptops amplifiers doesn't work properly even with this patch. Seems like you aware of the problem. Maybe you also can provide details about how to fix problem with low sound and amplifiers?

In logs I don't see anything suspicious:

dmesg | egrep 'snd|cs35'
[    9.747149] snd_rn_pci_acp3x 0000:04:00.5: enabling device (0000 -> 0002)
[    9.924374] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[    9.944850] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    9.946618] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.947517] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    9.948401] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    9.949299] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    9.951980] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
[    9.955268] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Reset line busy, assuming shared reset
[    9.990881] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
[    9.991783] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-10431e12.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[   10.499636] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[   10.501798] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
[   10.502756] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
[   10.503711] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Users\tyang\Desktop\Product Setting\SmartAMP\ASUS\ASUS_Zenbook\UM3402\Tuning_Release\220304\ASUS_UM3402_L_tuning_IDYC_ReDC_Finish_PICL_RTL_0304.bin
[   10.607198] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[   10.613790] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
[   10.614883] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-10431e12.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[   11.122928] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[   11.124095] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
[   11.124099] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
[   11.124104] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Users\tyang\Desktop\Product Setting\SmartAMP\ASUS\ASUS_Zenbook\UM3402\Tuning_Release\220304\ASUS_UM3402_R_tuning_IDYC_ReDC_Finish_PICL_RTL_0304.bin
[   11.225156] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[   11.225168] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2
[   11.686129] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[  109.490754] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: System Suspend not supported
[  112.218985] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: System Resume not supported

From this log I don't get what is this windows like path 'spk-prot: C:\Users\tyang\Desktop\Product Setting\SmartAMP\ASUS\ASUS_Zenbook\UM3402\Tuning_Release\220304\ASUS_UM3402_R_tuning_IDYC_ReDC_Finish_PICL_RTL_0304.bin'. Maybe this is the root of the problem?

Last edited by BambooNinja (2023-07-26 10:00:06)

Offline

#5 2023-07-27 22:47:30

nizamsplanet
Member
Registered: 2023-07-24
Posts: 2

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Ok; before going down the kernel downgrade or any path...

Does any of your laptop have B&O speaker setup and use CSC3551/CSC3556 Amps for sound ?

I found this in windows subfolders "csaudio.inf"

amddmicextt_hp_103c8a31.inf_amd64_c74af4d5412604cb

this being my device id -> 103c8a31 in I2CB.SPKR

[Manufacturer]
%MfgName%=CirrusSpbAmp, NTamd64

[CirrusSpbAmp.NTamd64]
%CirrusSpeakerAmp% = CONF_0000, ACPI\VEN_CSC&DEV_3551                        ; generic CS35L51
%CirrusSpeakerAmp% = CONF_0000, ACPI\VEN_CSC&DEV_3556                        ; generic CS35L56
%CirrusSpeakerAmp% = CONF_0000, ACPI\VEN_CLSA&DEV_0100                        ; Y760-AMD
%CirrusSpeakerAmp% = CONF_0000, ACPI\VEN_CLSA&DEV_0101                        ; Y760-TGL
%CirrusSpeakerAmp% = CONF_0000, ACPI\VEN_CLSA&DEV_0102                        ; S760

Offline

#6 2023-08-05 04:38:15

Unsecured443
Member
Registered: 2023-07-08
Posts: 20

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Hello, Unsecured443. Thanks for the links. I've managed to apply patch to 6.4.5 kernel sources. Now sound is working, however it's so low I barely hear anything at maximum volume. AFAIU laptops amplifiers doesn't work properly even with this patch. Seems like you aware of the problem. Maybe you also can provide details about how to fix problem with low sound and amplifiers?

Unfortunately, I am not sure why you're facing this issue. I personally don't use that device, but my brother does. He switched to Linux and faced this issue. However, he didn't want to compile the kernel each time a new release happened, and he went back to Windows. On the internet, where other people were facing this issue, the patch that I referred to, seemed to work as intended. As such, I am not sure why the audio is extremely low for you.

I did some more Googling for your issue and came up across this HP forum discussion. You can look at the discussion on the HP forums, and maybe you can adapt the listed fix (hopefully the DKMS one, since then you then wouldn't have to compile the kernel for each new release) for your specific laptop's subsystem id, and hopefully that gets your speaker working as it should. Good luck!

Offline

#7 2024-01-16 12:13:43

Unsecured443
Member
Registered: 2023-07-08
Posts: 20

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Good news! From my understanding, it seems like a fix for the speakers will be making its way into the mainline 6.8 kernel. The specific commit which adds support for the speaker, specifically mentions HP 15-ey0xxxx device (subsystem 103C8A31) being supported.

Offline

#8 2024-01-23 04:54:58

jd8nN
Member
Registered: 2021-03-24
Posts: 8

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

It seems like the fix has been backported to 6.7.1.

Offline

#9 2024-01-27 20:37:10

brauni
Member
Registered: 2024-01-27
Posts: 1

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Can anyone with a 15-ey0xxx confirm that this is indeed fixed? Sadly for me it is still broken on 6.7.1 (re-installed just now) and 6.8rc1 (compiled from AUR yesterday) and I'm slowly loosing my mind.

The commits specify 15-ey0xxx with ID 0x103c8a31 (which is my build and soundsystem ID) and yet I can't make sound work. (works fine on Windows)
For what it's worth, the old patch worked fine but sadly can't be used with newer kernels.

Would highly appreciate any feedback.

EDIT: maybe this is not finished in 6.8.rc1 as there are still patches coming: https://lore.kernel.org/all/20240126164 … _realtek.c

EDIT 2: it's actually fixed in linux-next-20240129 from today. Finally! Make sure to chose "Family 17h/19h HD Audio Controller" and "Play Hifi quality Music" under configuration of Pulseaudio.

Last edited by brauni (2024-01-29 13:59:37)

Offline

#10 2024-01-31 23:58:09

Unsecured443
Member
Registered: 2023-07-08
Posts: 20

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

brauni wrote:

Can anyone with a 15-ey0xxx confirm that this is indeed fixed? Sadly for me it is still broken on 6.7.1 (re-installed just now) and 6.8rc1 (compiled from AUR yesterday) and I'm slowly loosing my mind.

The commits specify 15-ey0xxx with ID 0x103c8a31 (which is my build and soundsystem ID) and yet I can't make sound work. (works fine on Windows)
For what it's worth, the old patch worked fine but sadly can't be used with newer kernels.

Would highly appreciate any feedback.

EDIT: maybe this is not finished in 6.8.rc1 as there are still patches coming: https://lore.kernel.org/all/20240126164 … _realtek.c

EDIT 2: it's actually fixed in linux-next-20240129 from today. Finally! Make sure to chose "Family 17h/19h HD Audio Controller" and "Play Hifi quality Music" under configuration of Pulseaudio.

Thank you for those links. It seems that fixing the issue needed more patches that landed after RC 1 for the 6.8 kernel was issued. Those additional patches are lined up in the for-next branch, which implies that these will only be pulled in for the 6.9 kernel. So unfortunately, AFAIU you guys either have to compile your own kernels with the aforementioned patches, or wait one more kernel cycle for having it work out of the box (hopefully).

Offline

#11 2024-03-15 18:44:45

Unsecured443
Member
Registered: 2023-07-08
Posts: 20

Re: HP ENVY x360 2-in-1 Laptop 15-ey0xxx - No Sound from Speakers

Update: Linux 6.9 should have this fixed by default. Here's the latest sound changes that have been merged into 6.9-rc1, which includes the fixes for the HP ENVY x360.

Offline

Board footer

Powered by FluxBB