You are not logged in.
I have an ASUS zenbook as well, and I used to have issues with the audio system. The fix ended up being a kernel patch:
https://bugzilla.kernel.org/show_bug.cgi?id=212547
Thank you for sharing! Are not there these patches in actual kernel?
Offline
NEW info.
I installed inxi and output for
inxi -SMA
is this
Audio:
Device-1: Intel driver: N/A
Device-2: Intel driver: snd_hda_intel
Device-3: NVIDIA driver: snd_hda_intel
API: ALSA v: k6.1.39-1-lts status: kernel-api
Server-1: PipeWire v: 0.3.76 status: active
Offline
I'd no idea what "hardware acceleration of audio" is supposed to be but "missing the first bit of audio in iTunes, SoundForge etc" sounds like some power saving issue and not at all like your situation.
Also please don't bump, edit your previous post if nobody has responded inbetween.
inxi isn't authorative. But a good reminder:
try the regular (non-lts) kerne
Did you?
Then list the actually present hw
lspci -nnk
lsusb -tv
Offline
I'd no idea what "hardware acceleration of audio" is supposed to be but "missing the first bit of audio in iTunes, SoundForge etc" sounds like some power saving issue and not at all like your situation.
Also please don't bump, edit your previous post if nobody has responded inbetween.inxi isn't authorative. But a good reminder:
seth wrote:try the regular (non-lts) kerne
Did you?
Then list the actually present hw
lspci -nnk
lsusb -tv
sorry for bump!
So now I booted up with regular kernel
lspci -nnk
0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:a706]
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
0000:00:01.0 PCI bridge [0604]: Intel Corporation Device [8086:a70d]
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
Kernel driver in use: pcieport
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04)
DeviceName: Second VGA
Subsystem: ASUSTeK Computer Inc. Raptor Lake-P [Iris Xe Graphics] [1043:1573]
Kernel driver in use: i915
Kernel modules: i915
0000:00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:a71d]
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
Kernel driver in use: proc_thermal_pci
Kernel modules: processor_thermal_device_pci
0000:00:05.0 Multimedia controller [0480]: Intel Corporation Device [8086:a75d]
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
0000:00:06.0 PCI bridge [0604]: Intel Corporation Device [8086:a74d]
Kernel driver in use: pcieport
0000:00:07.0 PCI bridge [0604]: Intel Corporation Device [8086:a76e]
Kernel driver in use: pcieport
0000:00:08.0 System peripheral [0880]: Intel Corporation GNA Scoring Accelerator module [8086:a74f]
Subsystem: ASUSTeK Computer Inc. GNA Scoring Accelerator module [1043:1573]
0000:00:0a.0 Signal processing controller [1180]: Intel Corporation Device [8086:a77d] (rev 01)
Kernel driver in use: intel_vsec
Kernel modules: intel_vsec
0000:00:0d.0 USB controller [0c03]: Intel Corporation Device [8086:a71e]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0000:00:0d.2 USB controller [0c03]: Intel Corporation Device [8086:a73e]
Subsystem: Device [2222:1111]
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation [8086:a77f]
Subsystem: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation [8086:0000]
Kernel driver in use: vmd
Kernel modules: vmd
0000:00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH USB 3.2 xHCI Host Controller [1043:201f]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0000:00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH Shared SRAM [1043:1573]
0000:00:14.3 Network controller [0280]: Intel Corporation Device [8086:51f1] (rev 01)
DeviceName: WLAN
Subsystem: Intel Corporation Device [8086:0094]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH Serial IO I2C Controller [1043:1573]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH Serial IO I2C Controller [1043:1573]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH HECI Controller [1043:1573]
Kernel driver in use: mei_me
Kernel modules: mei_me
0000:00:19.0 Serial bus controller [0c80]: Intel Corporation Alder Lake-P Serial IO I2C Controller #0 [8086:51c5] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake-P Serial IO I2C Controller [1043:1573]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:51be] (rev 01)
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
Kernel driver in use: pcieport
0000:00:1e.0 Communication controller [0780]: Intel Corporation Alder Lake PCH UART #0 [8086:51a8] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH UART [1043:1573]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:1e.3 Serial bus controller [0c80]: Intel Corporation Alder Lake SPI Controller [8086:51ab] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake SPI Controller [1043:1573]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:519d] (rev 01)
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
0000:00:1f.3 Audio device [0403]: Intel Corporation Device [8086:51ca] (rev 01)
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake PCH-P SMBus Host Controller [1043:1573]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
Subsystem: ASUSTeK Computer Inc. Alder Lake-P PCH SPI Controller [1043:1573]
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28e0] (rev a1)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. AD107M [GeForce RTX 4060 Max-Q / Mobile] [1043:1573]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
0000:01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:22be] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
0000:31:00.0 SD Host controller [0805]: Genesys Logic, Inc GL9755 SD Host Controller [17a0:9755] (rev 01)
Subsystem: ASUSTeK Computer Inc. GL9755 SD Host Controller [1043:202f]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
10000:e0:06.0 System peripheral [0880]: Intel Corporation RST VMD Managed Controller [8086:09ab]
10000:e0:06.2 PCI bridge [0604]: Intel Corporation Device [8086:a73d]
Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation PS5019-E19 PCIe4 NVMe Controller (DRAM-less) [1987:5019] (rev 01)
Subsystem: Phison Electronics Corporation PS5019-E19 PCIe4 NVMe Controller (DRAM-less) [1987:5019]
Kernel driver in use: nvme
Kernel modules: nvme
lsusb -tv
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 1d50:615e OpenMoko, Inc.
|__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 0416:5020 Winbond Electronics Corp.
|__ Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 0416:5020 Winbond Electronics Corp.
|__ Port 8: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
ID 3277:0031
|__ Port 8: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
ID 3277:0031
|__ Port 8: Dev 4, If 2, Class=Video, Driver=uvcvideo, 480M
ID 3277:0031
|__ Port 8: Dev 4, If 3, Class=Video, Driver=uvcvideo, 480M
ID 3277:0031
|__ Port 8: Dev 4, If 4, Class=Application Specific Interface, Driver=, 480M
ID 3277:0031
|__ Port 9: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 0b05:18c6 ASUSTek Computer, Inc.
|__ Port 9: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 0b05:18c6 ASUSTek Computer, Inc.
|__ Port 9: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 0b05:18c6 ASUSTek Computer, Inc.
|__ Port 10: Dev 6, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0033 Intel Corp.
|__ Port 10: Dev 6, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0033 Intel Corp.
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 20000M/x2
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
Offline
inxi fantasizes about
0000:00:05.0 Multimedia controller [0480]: Intel Corporation Device [8086:a75d]
Subsystem: ASUSTeK Computer Inc. Device [1043:1573]
https://bbs.archlinux.org/viewtopic.php?id=287411 has similar hardware but (successfully) uses snd_sof_pci_intel_tgl
sudo modprobe -r snd_hda_intel; sudo modprobe snd_sof_pci_intel_tgl
Offline
Assuming you still have snd-intel-dspcfg.dsp_driver=1 set, you'll want to remove that before trying the above
Offline
Assuming you still have snd-intel-dspcfg.dsp_driver=1 set, you'll want to remove that before trying the above
no, I already removed it
sudo modprobe -r snd_hda_intel
modprobe: FATAL: Module snd_hda_intel is in use.
Last edited by Myphis (2023-08-02 12:17:51)
Offline
You'll probably have to stop pipewire, maybe get out of your GUI session.
Alternatively you can just https://wiki.archlinux.org/title/Kernel … acklisting snd_hda_intel
Eg. add
modprobe.blacklist=snd_hda_intel
Offline
You'll probably have to stop pipewire, maybe get out of your GUI session.
Alternatively you can just https://wiki.archlinux.org/title/Kernel … acklisting snd_hda_intel
Eg. addmodprobe.blacklist=snd_hda_intel
It's done, but now even with
sudo modprobe snd_sof_pci_intel_tgl
I cannot load this module
lspci -k
0000:00:1f.3 Audio device: Intel Corporation Device 51ca (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 1573
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
Offline
I cannot load this module
Isn't an error message, can you no load it or does it not bind to your HW?
lsmod | grep sof
Is there any response in
dmesg -W
when attempting to load it (after explicitly unloading it first)
Offline
I cannot load this module
Isn't an error message, can you no load it or does it not bind to your HW?
lsmod | grep sof
Is there any response in
dmesg -W
when attempting to load it (after explicitly unloading it first)
So, I rebooted, then
sudo modprobe -r snd-sof-pci-intel-tgl ; sudo modprobe snd-sof-pci-intel-tgl
and this ->
dmesg -W
doesn't work,
only
dmesg
Offline
What do you mean "doesn't work"?
You're still running the lts kernel.
[ 3.954516] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 4.494731] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[ 123.265990] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
and i also very much looks like the module is taking control over the chip.
What's the outout of
aplay -lL
now?
Edit:
[ 3.449537] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Error: ACPI _DSD Properties are missing for HID CSC3551.
[ 3.449542] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported
[ 3.449544] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.0 failed with error -22
[ 3.457144] cryptd: max_cpu_qlen set to 1000
[ 3.460573] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Error: ACPI _DSD Properties are missing for HID CSC3551.
[ 3.460578] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported
[ 3.460581] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.1 failed with error -22
smells like trouble.
Didn't read it, but ftr: https://gist.github.com/lamperez/862763 … 574727f6ff
Last edited by seth (2023-08-02 14:47:43)
Offline
What do you mean "doesn't work"?
I can not get output, it seams to be freeze until ctrl-C
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
aplay: device_list:277: no soundcards found...
You're still running the lts kernel.
oups, it was loading automatically
Didn't read it, but ftr: https://gist.github.com/lamperez/862763 … 574727f6ff
I checked it, it is about another model, and how I got only solution is to compile a kernel with patches....
EDIT:
dmesg -W gives this
[ 176.770313] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
if I
sudo modprobe -r snd-sof-pci-intel-tgl; sudo modprobe snd-sof-pci-intel-tgl
in another terminal session
Last edited by Myphis (2023-08-02 15:16:19)
Offline
aplay: device_list:277: no soundcards found...
this is obviously not good, you did try this w/ the non-lts kernel now?
Offline
aplay: device_list:277: no soundcards found...
this is obviously not good, you did try this w/ the non-lts kernel now?
Yes, it is already regular one
Last edited by Myphis (2023-08-02 15:34:34)
Offline
https://bbs.archlinux.org/viewtopic.php … 2#p2113172 => https://asus-linux.org/wiki/cirrus-amps/
[ 3.449537] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Error: ACPI _DSD Properties are missing for HID CSC3551.
[ 3.449542] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported
[ 3.449544] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.0 failed with error -22
[ 3.457144] cryptd: max_cpu_qlen set to 1000
[ 3.460573] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Error: ACPI _DSD Properties are missing for HID CSC3551.
[ 3.460578] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported
[ 3.460581] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.1 failed with error -22
[ 3.460611] Serial bus multi instantiate pseudo device driver CSC3551:00: Instantiated 2 SP
You have that chip, so the last link is very relevant.
Offline
https://bbs.archlinux.org/viewtopic.php … 2#p2113172 => https://asus-linux.org/wiki/cirrus-amps/
[ 3.449537] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Error: ACPI _DSD Properties are missing for HID CSC3551. [ 3.449542] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported [ 3.449544] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.0 failed with error -22 [ 3.457144] cryptd: max_cpu_qlen set to 1000 [ 3.460573] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Error: ACPI _DSD Properties are missing for HID CSC3551. [ 3.460578] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported [ 3.460581] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.1 failed with error -22 [ 3.460611] Serial bus multi instantiate pseudo device driver CSC3551:00: Instantiated 2 SP
You have that chip, so the last link is very relevant.
Thank you, I didn't have time to make it today, but I will keep you informed if it works for me.
EDIT:
So I tried today all possible combinations of this patch from last link with regular kernel, it does not work unfortunately
uname -r
6.4.7-arch1-1
dmesg |grep CSC3551
[ 0.010686] ACPI: Table Upgrade: install [SSDT-CUSTOM- CSC3551]
[ 0.010688] ACPI: SSDT 0x000000005C926000 000170 (v01 CUSTOM CSC3551 00000001 INTL 20221020)
[ 3.166363] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Failed waiting for OTP_BOOT_DONE: -110
[ 3.176528] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.0 failed with error -110
[ 3.283112] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Failed waiting for OTP_BOOT_DONE: -110
[ 3.293097] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.1 failed with error -110
[ 3.293117] Serial bus multi instantiate pseudo device driver CSC3551:00: Instantiated 2 SPI devices.
Last edited by Myphis (2023-08-04 16:41:46)
Offline
sorry for bump, I just would be wandering if someone found possible solution to this issue.
Offline
This article may help, but I have not tried it.
https://asus-linux.org/wiki/cirrus-amps/
Offline