You are not logged in.
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
$ 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
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
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
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
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
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
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
It seems like the fix has been backported to 6.7.1.
Offline
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
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
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
Thanks, This is now resolved
Note:
1) should have the latest bios installed (via Windows) for this to work.version 16
2) used Linux debian 6.9.5-1-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 6.9-4.1~bookworm (2024-06-17)
3) still getting errors in dmesg, may be the mic/speaker led button on the keyboard. but audio works
--dmidecode
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: Insyde
Version: F.16
Release Date: 03/27/2024
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 16 MB
--dmesg
[ 4.327748] Serial bus multi instantiate pseudo device driver CSC3551:00: Instantiated 2 I2C devices.
[ 4.461299] snd_rn_pci_acp3x 0000:04:00.5: enabling device (0000 -> 0002)
[ 4.463903] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Adding DSD properties for 103C8A31
[ 4.464078] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Using extra _DSD properties, bypassing _DSD in ACPI
[ 4.512496] snd_hda_intel 0000:04:00.1: enabling device (0000 -> 0002)
[ 4.515022] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[ 4.515917] snd_hda_intel 0000:04:00.6: enabling device (0000 -> 0002)
[ 4.520646] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
[ 4.526105] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Adding DSD properties for 103C8A31
[ 4.530421] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Using extra _DSD properties, bypassing _DSD in ACPI
[ 4.530427] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Reset line busy, assuming shared reset
[ 4.581408] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2
[ 4.605797] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 4.627885] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Falling back to default firmware.
[ 4.627908] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Unable to find firmware and tuning
[ 4.627910] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cannot Initialize Firmware. Error: -2
[ 4.629174] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cannot Run Firmware, reverting to dsp bypass...
[ 4.629245] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: CS35L41 Bound - SSID: 103C8A31, BST: 0, VSPK: 0, CH: L, FW EN: 0, SPKID: 1
[ 4.629249] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[ 4.629315] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Falling back to default firmware.
[ 4.629330] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Unable to find firmware and tuning
[ 4.629331] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Cannot Initialize Firmware. Error: -2
[ 4.630604] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Cannot Run Firmware, reverting to dsp bypass...
[ 4.633793] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: CS35L41 Bound - SSID: 103C8A31, BST: 0, VSPK: 0, CH: R, FW EN: 0, SPKID: 1
[ 4.633796] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[ 4.634030] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 4.634035] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.634038] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 4.634040] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 4.634041] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 4.634042] snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
[ 5.651904] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Requesting Firmware Load after HDA_GEN_PCM_ACT_CLOSE
[ 5.651946] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Requesting Firmware Load after HDA_GEN_PCM_ACT_CLOSE
[ 5.651984] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Falling back to default firmware.
[ 5.651999] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Unable to find firmware and tuning
[ 5.652000] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cannot Initialize Firmware. Error: -2
[ 5.652014] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Falling back to default firmware.
Offline
It does work! Thank you @nizamsplanet for the trick with BIOS.
Offline