Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Ubuntu 22.04 - No sound from frontal case jack AUX

  1. #1
    Join Date
    Mar 2023
    Beans
    26
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Unhappy Ubuntu 22.04 - No sound from frontal case jack AUX

    I already see all similar post around the web without finding a working solution.
    I am in this situation:

    • Dual boot: Windows 11 - Ubuntu 22.04 (audio works normal in Windows 11)
    • HW infos:
      • MB: MAG Z690 TOMAHAWK WIFI DDR4 (MS-7D32)
      • CPU: 13th Gen Intel(R) Core(TM) i7-13700K
      • GPU: GeForce RTX 3080 Lite Hash Rate

    • Audio controller:


    Code:
    > lspci -v | grep -i audio
    00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
    01:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. GA102 High Definition Audio Controller
    • alsa-base.conf:


    Code:
    > cat /etc/modprobe.d/alsa-base.conf
    # autoloader aliases
    install sound-slot-0 /sbin/modprobe snd-card-0
    install sound-slot-1 /sbin/modprobe snd-card-1
    install sound-slot-2 /sbin/modprobe snd-card-2
    install sound-slot-3 /sbin/modprobe snd-card-3
    install sound-slot-4 /sbin/modprobe snd-card-4
    install sound-slot-5 /sbin/modprobe snd-card-5
    install sound-slot-6 /sbin/modprobe snd-card-6
    install sound-slot-7 /sbin/modprobe snd-card-7
    
    # Cause optional modules to be loaded above generic modules
    install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
    #
    # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
    install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
    install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
    install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
    #
    install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
    # Cause optional modules to be loaded above sound card driver modules
    install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
    install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
    
    # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
    install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
    # Prevent abnormal drivers from grabbing index 0
    options bt87x index=-2
    options cx88_alsa index=-2
    options saa7134-alsa index=-2
    options snd-atiixp-modem index=-2
    options snd-intel8x0m index=-2
    options snd-via82xx-modem index=-2
    options snd-usb-audio index=-2
    options snd-usb-caiaq index=-2
    options snd-usb-ua101 index=-2
    options snd-usb-us122l index=-2
    options snd-usb-usx2y index=-2
    # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    # Keep snd-usb-audio from beeing loaded as first soundcard
    options snd-usb-audio index=-2
    • alsamixer card images: see attachments (alsamixer_1.png,alsamixer_2.png,alsamixer_3.png)


    • sound settings image (headphone from frontal case AUX jack are correctly detected, but no sound emitted): see attachments (settings_sound.png)


    I can't understand why rear AUX jack is working perfectly, if I attach my headphone to the rear jack, sound is emitted correctly, whilst frontal AUX jack it just looks dead (same frontal AUX jack that is working perfectly on Windows)

    Someone know what is happening?
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2023
    Beans
    1

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    Yup. I've spent hours on this and I can't get it to work. Exact same issue. I have a Phanteks case and it's a new build. I checked on the Linux Mint thread and it looks like people there have a similar issue. I'll be following this post carefully cuz there's gotta be a simple reason. We're just forced into digging deeper.

  3. #3
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    Please show the output of this, posted within CODE Tags:
    Code:
    LANG=C pacmd list-sinks | grep -e '-output-'

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  4. #4
    Join Date
    Mar 2023
    Beans
    26
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    When the headphones are plugged in:
    Code:
    > LANG=C pacmd list-sinks | grep -e '-output-'
            analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: yes)
            analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
        active port: <analog-output-headphones>
            hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
        active port: <hdmi-output-1>



    When they are not plugged:
    Code:
    > LANG=C pacmd list-sinks | grep -e '-output-'
            analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: yes)
            analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
        active port: <analog-output-headphones>
            hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
        active port: <hdmi-output-1>
    Last edited by ricciolino; November 27th, 2023 at 10:12 AM.

  5. #5
    Join Date
    Mar 2023
    Beans
    26
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    I just added two attachments showing the output devices list when the headphones are attached and when they are not attached.
    Attached Images Attached Images

  6. #6
    Join Date
    Mar 2023
    Beans
    26
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    I also see this post

    https://forum.manjaro.org/t/sound-fr...-audio/5343/28

    I also tried adding

    Code:
    options snd-hda-intel model=headset-mode
    


    to
    Code:
    /etc/modprobe.d/alsa.conf


    But this not works for me

  7. #7
    Join Date
    Jan 2018
    Beans
    103

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    Since there doesn't seem to be any headway on this I'll add my experience from Debian 12 using the Backports kernel.

    A year and half ago I got a new computer. Sometimes the rear port would not work. It wouldn't cut in and out. If it worked then it would keep working (playing a video for instance). If it wasn't working it would continue to not work (again on a video for instance). Just sometimes it would work and sometimes it wouldn't. It worked on both Windows and Ubuntu. The front panel jack worked fine on Debian as did sound over Bluetooth.

    I later discovered that it would work consistently with kernel 5.15 (the first kernel version where my sound card was supported) but not consistently on 5.16 and later. It seems to have been some kind of regression in the kernel. Finally the 6.1 kernel solved the problem. I seem to recall (but may be wrong) that Cirrus Logic, the maker of my sound card, put out a patch.

    If you want to see my travails and read a bunch of attempts that didn't work here's the thread.

    https://forums.debian.net/viewtopic.php?t=152359

    EDIT: The reason it worked on Ubuntu was that Ubuntu was using the 5.15 kernel. When it started using the 5.19 (?) kernel the back sound jack started having problems too. But after a week or two the problems went away so I would assume that Ubuntu fixed the problem.
    Last edited by donald187; November 28th, 2023 at 07:20 AM.

  8. #8
    Join Date
    Mar 2023
    Beans
    26
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    Quote Originally Posted by donald187 View Post
    Since there doesn't seem to be any headway on this I'll add my experience from Debian 12 using the Backports kernel.

    A year and half ago I got a new computer. Sometimes the rear port would not work. It wouldn't cut in and out. If it worked then it would keep working (playing a video for instance). If it wasn't working it would continue to not work (again on a video for instance). Just sometimes it would work and sometimes it wouldn't. It worked on both Windows and Ubuntu. The front panel jack worked fine on Debian as did sound over Bluetooth.

    I later discovered that it would work consistently with kernel 5.15 (the first kernel version where my sound card was supported) but not consistently on 5.16 and later. It seems to have been some kind of regression in the kernel. Finally the 6.1 kernel solved the problem. I seem to recall (but may be wrong) that Cirrus Logic, the maker of my sound card, put out a patch.

    If you want to see my travails and read a bunch of attempts that didn't work here's the thread.

    https://forums.debian.net/viewtopic.php?t=152359

    EDIT: The reason it worked on Ubuntu was that Ubuntu was using the 5.15 kernel. When it started using the 5.19 (?) kernel the back sound jack started having problems too. But after a week or two the problems went away so I would assume that Ubuntu fixed the problem.
    Thanks for sharing your experience.
    I just tried to switch to 6.2.0-37-generic kernel, but the issue persist for me.

  9. #9
    Join Date
    Mar 2023
    Beans
    26
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    I finally found the solution!!!
    I just discovered the MAG Z690 TOMAHAWK WIFI needs an update version of alsa-ucm-conf configuration file (/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf).
    Check the sound card USB device with:

    Code:
    > lsusb | grep -i audio
    Bus 001 Device 003: ID 0db0:b202 Micro Star International USB Audio
    In my case 0db0:b202 certify the MAG Z690 TOMAHAWK WIFI is the device I have actually installed on my system.
    Then execute the following commands in sequence:

    Code:
    sudo mv /usr/share/alsa/ucm /usr/share/alsa/ucm.bak
    sudo mv /usr/share/alsa/ucm2 /usr/share/alsa/ucm2.bak
    curl -L -o alsa-ucm-conf.tar.gz https://github.com/alsa-project/alsa-ucm-conf/archive/refs/heads/master.tar.gz
    sudo tar xvzf alsa-ucm-conf.tar.gz -C /usr/share/alsa --strip-components=1 --wildcards "*/ucm" "*/ucm2"
    rm alsa-ucm-conf.tar.gz
    Then reboot and now you should have the front-chassis jack-AUX working as expected.

    You can then check that the updated configuration file (/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf) now supports the MSI MAG Z690 Tomahawk Wifi motherboard.

    Code:
    > cat /usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf | grep 0db0:b202
            # 0db0:b202 MSI MAG Z690 Tomahawk Wifi
    Last edited by ricciolino; November 28th, 2023 at 01:19 PM.

  10. #10
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - No sound from frontal case jack AUX

    Happy you found that and it works for you.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •