I have a problem with sound on my Asus GX701LWS, the headphones work without problems, as does the microphone but there is no sound on the speakers.
hwinfo --sound ī²
22: PCI 1f.3: 0403 Audio device
[Created at pci.386]
Unique ID: nS1_.Qb7ky1jjQRD
SysFS ID: /devices/pci0000:00/0000:00:1f.3
SysFS BusID: 0000:00:1f.3
Hardware Class: sound
Model: āIntel Comet Lake PCH cAVSā
Vendor: pci 0x8086 āIntel Corporationā
Device: pci 0x06c8 āComet Lake PCH cAVSā
SubVendor: pci 0x1043 āASUSTeK Computer Inc.ā
SubDevice: pci 0x1f01
Driver: āsnd_hda_intelā
Driver Modules: āsnd_hda_intelā
Memory Range: 0x94300000-0x94303fff (rw,non-prefetchable)
Memory Range: 0x94100000-0x941fffff (rw,non-prefetchable)
IRQ: 157 (817 events)
Module Alias: āpci:v00008086d000006C8sv00001043sd00001F01bc04sc03i80ā
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: āmodprobe snd_hda_intelā
Driver Info #1:
Driver Status: snd_soc_skl is active
Driver Activation Cmd: āmodprobe snd_soc_sklā
Driver Info #2:
Driver Status: snd_sof_pci_intel_cnl is active
Driver Activation Cmd: āmodprobe snd_sof_pci_intel_cnlā
Config Status: cfg=new, avail=yes, need=no, active=unknown
29: PCI 100.1: 0403 Audio device
[Created at pci.386]
Unique ID: NXNs.SkelvpPm387
Parent ID: vSkL.ZFPYIgTFUyC
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.1
SysFS BusID: 0000:01:00.1
Hardware Class: sound
Model: ānVidia TU104 HD Audio Controllerā
Vendor: pci 0x10de ānVidia Corporationā
Device: pci 0x10f8 āTU104 HD Audio Controllerā
SubVendor: pci 0x1043 āASUSTeK Computer Inc.ā
SubDevice: pci 0x186f
Revision: 0xa1
Driver: āsnd_hda_intelā
Driver Modules: āsnd_hda_intelā
Memory Range: 0x94080000-0x94083fff (rw,non-prefetchable)
IRQ: 17 (1698 events)
Module Alias: āpci:v000010DEd000010F8sv00001043sd0000186Fbc04sc03i00ā
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: āmodprobe snd_hda_intelā
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #13 (PCI bridge)
Please, can someone this quirk to the kernel?
+SND_PCI_QUIRK(0x1043, 0x1f01, āASUS GX701Lā, ALC294_FIXUP_ASUS_SPK)
Thanks in advance!
EDIT
I must also mention that I tried to fix it on almost all Linux distros, and it behaves the same.
I also have to mention that I tried almost everything I found on the forums, without success.
I still have what I wrote above, but I donāt know how to do it myself.
Here is additional information.
It looks like the cfg pin is not good and thatās why it wonāt start the speakers.
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "en_US:sr:sr@latin",
> LC_ALL = (unset),
> LC_ADDRESS = "en_US.UTF-8",
> LC_IDENTIFICATION = "en_US.UTF-8",
> LC_MEASUREMENT = "sr_RS.UTF-8",
> LC_MONETARY = "en_US.UTF-8",
> LC_NAME = "en_US.UTF-8",
> LC_NUMERIC = "Default.UTF-8",
> LC_PAPER = "en_US.UTF-8",
> LC_TELEPHONE = "en_US.UTF-8",
> LC_TIME = "sr_RS.UTF-8",
> LANG = "Default.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> System:
> Kernel: 5.15.60-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
> parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
> root=UUID=5898ffcf-bde9-4f9b-989d-3ff4b639f2a8 rw quiet
> resume=UUID=4a14344b-43d7-4cda-a8bb-b1e69f303106 udev.log_priority=3
> Desktop: KDE Plasma v: 5.24.6 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1 dm: SDDM
> Distro: Manjaro Linux base: Arch Linux
> Machine:
> Type: Laptop System: ASUSTeK product: ROG Zephyrus S17 GX701LWS_GX701LWS
> v: 1.0 serial: <superuser required>
> Mobo: ASUSTeK model: GX701LWS v: 1.0 serial: <superuser required>
> UEFI: American Megatrends v: GX701LWS.310 date: 04/19/2021
> Battery:
> ID-1: BAT0 charge: 66.3 Wh (100.0%) condition: 66.3/76.0 Wh (87.2%)
> volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
> status: not charging cycles: 65
> Device-1: hidpp_battery_0 model: Logitech Wireless Mouse B330/M330/M331
> serial: <filter> charge: 55% (should be ignored) rechargeable: yes
> status: discharging
> Memory:
> RAM: total: 15.36 GiB used: 2.58 GiB (16.8%)
> RAM Report: permissions: Unable to run dmidecode. Root privileges
> required.
> CPU:
> Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
> gen: core 10 built: 2020 process: Intel 14nm family: 6 model-id: 0xA5 (165)
> stepping: 2 microcode: 0xF0
> Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
> L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
> L3: 12 MiB desc: 1x12 MiB
> Speed (MHz): avg: 1243 high: 1547 min/max: 800/5000 scaling:
> driver: intel_pstate governor: powersave cores: 1: 1153 2: 1460 3: 1547
> 4: 1048 5: 1107 6: 1273 7: 1176 8: 1180 9: 1227 10: 1099 11: 1495 12: 1153
> bogomips: 62431
> Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
> arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
> clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
> dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
> fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
> ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
> md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat
> pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
> rdrand rdseed rdtscp rep_good sdbg sep sgx sgx_lc smap smep ss ssbd sse
> sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
> tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
> xsaves xtopology xtpr
> Vulnerabilities:
> Type: itlb_multihit status: KVM: VMX disabled
> Type: l1tf status: Not affected
> Type: mds status: Not affected
> Type: meltdown status: Not affected
> Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
> Type: retbleed mitigation: Enhanced IBRS
> Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
> prctl and seccomp
> Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
> sanitization
> Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
> Type: srbds mitigation: Microcode
> Type: tsx_async_abort status: Not affected
> Graphics:
> Device-1: NVIDIA TU104BM [GeForce RTX 2070 SUPER Mobile / Max-Q]
> vendor: ASUSTeK driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm
> non-free: 515.xx+ status: current (as of 2022-07) arch: Turing code: TUxxx
> process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
> link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
> chip-ID: 10de:1ed1 class-ID: 0300
> Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
> loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
> Screen-1: 0 s-res: 1920x1080 s-dpi: 128 s-size: 381x211mm (15.00x8.31")
> s-diag: 436mm (17.15")
> Monitor-1: DP-4 res: 1920x1080 hz: 60 dpi: 128
> size: 382x215mm (15.04x8.46") diag: 438mm (17.26") modes: N/A
> OpenGL: renderer: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 v: 4.6.0 NVIDIA
> 515.65.01 direct render: Yes
> Audio:
> Device-1: Intel Comet Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
> v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
> chip-ID: 8086:06c8 class-ID: 0403
> Device-2: NVIDIA TU104 HD Audio vendor: ASUSTeK driver: snd_hda_intel
> v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: lanes: 16
> bus-ID: 01:00.1 chip-ID: 10de:10f8 class-ID: 0403
> Sound Server-1: ALSA v: k5.15.60-1-MANJARO running: yes
> Sound Server-2: JACK v: 1.9.21 running: no
> Sound Server-3: PulseAudio v: 16.1 running: yes
> Sound Server-4: PipeWire v: 0.3.56 running: yes
> Network:
> Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
> bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
> IF: wlo1 state: up mac: <filter>
> IP v4: <filter> type: dynamic noprefixroute scope: global
> broadcast: <filter>
> IP v6: <filter> type: noprefixroute scope: link
> WAN IP: <filter>
> Bluetooth:
> Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
> bus-ID: 1-14:4 chip-ID: 8087:0026 class-ID: e001
> Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
> Logical:
> Message: No logical block device data found.
> RAID:
> Message: No RAID data found.
> Drives:
> Local Storage: total: 931.51 GiB used: 16.69 GiB (1.8%)
> SMART Message: Unable to run smartctl. Root privileges required.
> ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP600
> size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
> lanes: 4 type: SSD serial: <filter> rev: EGFM11.3 temp: 28.9 C scheme: GPT
> Message: No optical or floppy data found.
> Partition:
> ID-1: / raw-size: 105.42 GiB size: 103.21 GiB (97.90%) used: 11.64 GiB
> (11.3%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
> uuid: 5898ffcf-bde9-4f9b-989d-3ff4b639f2a8
> ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%) used: 312 KiB
> (0.0%) fs: vfat dev: /dev/nvme0n1p8 maj-min: 259:8 label: NO_LABEL
> uuid: 5E99-350D
> ID-3: /home raw-size: 461.91 GiB size: 453.59 GiB (98.20%) used: 5.05 GiB
> (1.1%) fs: ext4 dev: /dev/nvme0n1p9 maj-min: 259:9 label: N/A
> uuid: beebca9f-0be8-4092-8559-fc90f8c14f98
> Swap:
> Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default)
> ID-1: swap-1 type: partition size: 16.6 GiB used: 0 KiB (0.0%)
> priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
> uuid: 4a14344b-43d7-4cda-a8bb-b1e69f303106
> Unmounted:
> ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: N/A
> uuid: C205-736B
> ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
> label: N/A uuid: N/A
> ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 344.86 GiB fs: ntfs label: N/A
> uuid: F0840F40840F08B4
> ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 611 MiB fs: ntfs label: N/A
> uuid: 8E007943007932F7
> ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 1024 MiB fs: vfat label: N/A
> uuid: B919-53E3
> USB:
> Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
> speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
> Device-1: 1-3:2 info: Logitech Unifying Receiver type: Mouse,HID
> driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
> power: 98mA chip-ID: 046d:c52f class-ID: 0300
> Device-2: 1-8:3 info: ASUSTek N-KEY Device type: Keyboard
> driver: asus,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 100mA
> chip-ID: 0b05:1866 class-ID: 0301
> Device-3: 1-14:4 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
> interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
> class-ID: e001
> Hub-2: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
> chip-ID: 1d6b:0003 class-ID: 0900
> Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
> speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
> Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
> chip-ID: 1d6b:0003 class-ID: 0900
> Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
> speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
> Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
> chip-ID: 1d6b:0003 class-ID: 0900
> Sensors:
> System Temperatures: cpu: 36.0 C pch: 38.0 C mobo: N/A gpu: nvidia
> temp: 37 C
> Fan Speeds (RPM): cpu: 2700
> Info:
> Processes: 362 Uptime: 4m wakeups: 4 Init: systemd v: 251 default: graphical
> tool: systemctl Compilers: gcc: 12.1.1 clang: 14.0.6 Packages: pacman: 1225
> lib: 334 flatpak: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
> running-in: konsole inxi: 3.3.20
sudo dmesg | grep audio ī² ā ī² 39s ļ
[ 1.839698] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 2.154313] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 2.154318] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.154321] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 2.154323] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 2.154324] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 2.154326] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 2.154328] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
sudo dmesg --level emerg,alert,crit,err,warn ī² 0|1 ā
[ 0.000000] [Firmware Bug]: TSC ADJUST: CPU0: -314819436 force to 0
[ 0.092417] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
[ 0.009835] [Firmware Bug]: TSC ADJUST differs within socket(s), fixing all errors
[ 0.092960] #2 #3 #4 #5 #6
[ 0.097534] MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.
[ 0.097534] #7 #8 #9 #10 #11
[ 0.107284] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.389095] hpet_acpi_add: no address or irqs in _CRS
[ 0.636360] wmi_bus wmi_bus-PNP0C14:01: WQXM data block query control method not found
[ 0.636962] acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:03)
[ 0.637048] acpi PNP0C14:05: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:03)
[ 0.639938] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.094392] systemd[1]: /etc/systemd/system/asus_touchpad_numpad.service:8: Failed to parse output specifier, ignoring: /var/log/asus_touchpad_numpad-driver/error.log
[ 1.094399] systemd[1]: /etc/systemd/system/asus_touchpad_numpad.service:9: Failed to parse output specifier, ignoring: /var/log/asus_touchpad_numpad-driver/error.log
[ 1.265709] ACPI BIOS Error (bug): Could not resolve symbol [\DPPP], AE_NOT_FOUND (20210730/psargs-330)
[ 1.265720] ACPI Error: Aborting method \_SB.IETM.IDSP due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
[ 1.265921] ACPI Warning: \_SB.IETM._TRT: Return Package has no elements (empty) (20210730/nsprepkg-94)
[ 1.626680] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 2.049582] thermal thermal_zone6: failed to read out thermal zone (-61)
[ 2.190385] nvidia: loading out-of-tree module taints kernel.
[ 2.190395] nvidia: module license 'NVIDIA' taints kernel.
[ 2.190396] Disabling lock debugging due to kernel taint
[ 2.437834] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 515.65.01 Wed Jul 20 14:00:58 UTC 2022
[ 2.996809] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[ 2.996814] ucsi_ccg 0-0008: i2c_transfer failed -110
[ 2.996815] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[ 2.996818] ucsi_ccg: probe of 0-0008 failed with error -110
[ 3.246794] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[ 3.421747] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210730/nsarguments-61)
[ 6.525520] kauditd_printk_skb: 35 callbacks suppressed
[ 12.200758] kauditd_printk_skb: 16 callbacks suppressed
[ 584.653701] kauditd_printk_skb: 1 callbacks suppressed```
Olli
20 August 2022 18:16
4
is your external display a hdmi ?
No, I donāt have an external display connected to HDMI.
Olli
20 August 2022 18:27
6
if itās possible you could check if there is a physical problem with your connector by activating the hdmi-audio. in this case the speaker of the hdmi-display are activated and working. in this case it would be in fact a physical damage of the plug.
itās definitely not a physical problem, because the sound works when I install window OS
I looked at the quirk in the kernel and nowhere did I see the one that is needed to activate my speakers, which is the one I wrote in the first post.
+SND_PCI_QUIRK(0x1043, 0x1f01, āASUS GX701Lā, ALC294_FIXUP_ASUS_SPK)
but unfortunately, I havenāt played with the kernel so far, so I donāt know how to rebuild and compile it and try it yet.
Olli
20 August 2022 18:59
8
can you check your package-manager if the package
sof-firmware
is installed ? if not you can install it, it supports a lot of newer sound-hardware, possibly yours is in.
it wasnāt installed, I installed it now, but unfortunately it didnāt help.
Olli
20 August 2022 19:10
10
modprobe snd_sof_pci_intel_cnl
Olli
20 August 2022 19:14
12
okay, letās check another sound package. is
alsa-ucm-conf
installed ?
also please run these 3 commands
amixer sset Master unmute
amixer sset Speaker unmute
amixer sset Headphone unmute
Yes, alsa was already installed.
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65382 [100%] [on]
Front Right: Playback 65382 [100%] [on]
amixer sset Speaker unmute ī² ā
amixer: Unable to find simple control 'Speaker',0
amixer sset Headphone unmute ī² 1 ā
amixer: Unable to find simple control 'Headphone',0 ```
ļ ī° ļ ~ ī°
obviously should add quirk for my laptop model to the kernel, as it is done here and as it says, but unfortunately I donāt know how to do it.
Can someone help me with that?
ALC294
I pulled the audio dump from windows, compared it to the dump from linux, and this is definitely my codec and pincfg
[codec]
0x10ec0294 0x10431f01 0
[pincfg]
0x19 0x03A11050
0x1a 0x03A11C30
Did this:
#/etc/modprobe.d/alsa-base.conf
options snd-hda-intel patch=alc-sound-patch.fw
#/lib/firmware/alc-sound-patch.fw
and I added codec and pincfg in this fw, but still no sound