Speaker/headphone device switching issues ROG Strix G15

Hey guys so my girlfriend got a ROG STRIX G15 but shes wanted Manjaro so I installed Manjaro Gnome. The first issue I released that happened was there was no sound unless I plugged headphones in so I found this

Edit /etc/modprobe.d/alsa-base.conf and put options snd-hda-intel model=asus-zenbook in the empty conf file

And that now the speakers work but the next issue is now the audio doesn’t switch to headphones when they are plugged in the headphone jack, would I be able to get some help fixing that please?

Here is all the hardware info

  Kernel: 5.15.55-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=eee24559-754f-4198-b806-524388322468 rw quiet splash apparmor=1
    security=apparmor resume=UUID=b0c8f261-4972-4096-8537-d8102b788db7
  Desktop: GNOME v: 42.3.1 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM
    v: 42.0 Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: ASUSTeK product: ROG Strix G512LU_G512LU v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G512LU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: G512LU.310 date: 07/13/2020
  ID-1: BAT0 charge: 42.9 Wh (66.2%) condition: 64.8/66.0 Wh (98.1%)
    volts: 15.7 min: 15.7 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: discharging cycles: 1
  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: 997 high: 1000 min/max: 800/5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 975 2: 1000 3: 1000
    4: 1000 5: 1000 6: 1000 7: 1000 8: 1000 9: 1000 10: 1000 11: 1000 12: 1000
    bogomips: 62431
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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: 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
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: ASUSTeK driver: i915
    v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
    class-ID: 0300
  Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: ASUSTeK
    driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Turing process: TSMC 12nm
    built: 2018-22 pcie: gen: 2 speed: 5 GT/s lanes: 8 link-max: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300
  Display: x11 server: X.org v: with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1521 built: 2020 res: 1920x1080
    hz: 144 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 22.1.3
    direct render: Yes
  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 TU116 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:1aeb class-ID: 0403
  Sound Server-1: ALSA v: k5.15.55-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
  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>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno2 state: down mac: <filter>
  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
  Local Storage: total: 476.94 GiB used: 104.82 GiB (22.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW512G8
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 002C temp: 30.9 C scheme: GPT
  ID-1: / raw-size: 459.68 GiB size: 451.4 GiB (98.20%)
    used: 104.82 GiB (23.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.96 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
  System Temperatures: cpu: 40.0 C pch: 44.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
  Processes: 315 Uptime: 30m wakeups: 1 Memory: 15.42 GiB
  used: 2.88 GiB (18.7%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: 1253
  pacman: 1246 lib: 338 flatpak: 7 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.19

also could these patches be put into Manjaro so it’s a more out of the box experience for users?

Thank you guys for all the help you have done with all my posts.

is sof-firmware installed ?

Yes it is and version 2.2-1

Before doing the patch I had no audio unless I plugged in headphones and after I have speaker audio but it doesn’t switch to headphones when plugged in.

Anyone able to help at all?

I did find this, for different laptops but has a similar issue


Hey guys so the headphone jack now works and swaps when plugged in, was there an update that fixes this?

EDIT: So the switching works but now the speaker volume only does 100% or 0% when turns right down… So there is no proper control for the speakers

Seems like the master control isn’t controlling the system and software audio levels, I have the same issue on a 2015 iMac

@Yochanan @linux-aarhus Would you guys be able to help me resolve this issue please? :pray: :smile:

ROG Strix G512LU_G512LU has ALC294 audio codec that is not very similar to ALC4080
(ALC4080 is similar to an ALC1220 but appears as an internal USB device)

2015 iMac probably has Cirrus Logic CS4206 audio codec, not very similar to ALC294

But similar issues with ALC294 audio codec on Asus laptops have been reported before:

Sound from speakers no sound from 3.5mm jack-audio - #20 by ZeroAnarchy
Audio doesn't work in internal speaker but it works on Headphones

209585 – Headphones are not being detected on ASUS ProArt StudioBook Pro 15 W500G5T
206145 – ALC294 - no sound working at all on ASUS UX534
203443 – no sound in laptop ASUS UX362FA - sending repair
201961 – Problem with Realtek ALC294 Codec with Intel HDA sound

I suggest you get ALSA information

sudo alsa-info.sh --upload

and check if anything in your data is similar to data posted for other systems

oh didn’t know this tool existed, that’s very handy

Here is the info for anyone that wants to see it .

2015 imac audio


What I have found that on both the ROG Strix and the 2015 iMac is setting it to pro audio works and allows to adjust the volume but!

sadly the headphone jack stops works on both devices

I figured out how to fix it

Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common and add Element Master above Element PCM and it should look like this.

[Element Master]
switch = mute
volume = ignore

[Element PCM]
switch = mute
volume = merge
override-map.1 = all
override-map.2 = all-left,all-right


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.