Score:1

Front audio jacks not properly working on Ubuntu 22.10

py flag

I recently performed a fresh Ubuntu 22.10 install on my PC. The only issue I'm having so far has to do with two frontal audio jacks that my PC has. They are not being detected by Ubuntu (sort of). One of those frontal audio jacks is for the headphones and the other one is for the microphone. I used to have Windows installed on my PC before switching to Ubuntu and they actually worked, so I don't think it's a hardware issue.

Some of the possible solutions I've tried include:

Modify alsa-base.conf

  1. Get into /etc/modprobe.d/alsa-base.conf.
  2. Add options snd-hda-intel model=OPTION to the previous file, where OPTION could be a model from the ALSA HD Audio Models list. I've tested auto. headset-mode, 5stack, dell-headset-dock, laptop-amic and dell-headset-multi so far but the only model that actually tried to do something for me was dell-headset-multi which allows me to use the microphone frontal audio jack, but no the headphones one.

Use pavucontrol

  1. Downloaded pavucontrol.
  2. Go to "Configuration" tab.
  3. At this point, I've read that you have to select the option that says "Analog Stereo Duplex" but the thing is that the option that I see says "Analog Stereo Duplex (unavailable)". I've selected it anyways but that doesn't fixes my issue. Instead, I get no sound at all.

Use alsa-tools-gui

  1. Downloaded alsa-tools-gui.
  2. Execute hdajackretask command and use the overrides. Rebooted the system but this option didn't work for me neither.

I decided to apt remove --purge both pavucontrol and alsa-tools-gui since they were not really helping me, and also erased the options snd-hda-intel model=OPTION line from /etc/modprobe.d/alsa-base.conf to get back to the beginning. While trying other options for fixing this issue I noticed that when I executed the alsamixer command from the terminal, there's a volume bar for my headphones. I then proceed to un-mute it and raise its volume (see picture below).

Alsamixer screenshot. The headphone volume bar is the second from left to right.

After that I do can hear something using my headphones but I can also hear something with my regular PC speakers. Both my headphones and PC speakers sound at the same time (but my headset microphone is not usable, though). I cannot just disconnected my speakers from the rear audio jack since that would also take away the sound from my headphones. They are like... linked?

When I go to GNOME's sound settings I only see one output device, so I can't mute my PC speakers and just leave my headphones audio. (Screenshot)

In the screenshot above you can also notice that my headset microphone is not detected.

(Update) This is my output of sudo lshw -c multimedia:

*-multimedia              
       description: Audio device
       product: Navi 21/23 HDMI/DP Audio Controller
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0.1
       bus info: pci@0000:05:00.1
       logical name: card1
       logical name: /dev/snd/controlC1
       logical name: /dev/snd/hwC1D0
       logical name: /dev/snd/pcmC1D3p
       logical name: /dev/snd/pcmC1D7p
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:37 memory:fbc20000-fbc23fff
  *-multimedia
       description: Audio device
       product: 8 Series/C220 Series Chipset High Definition Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       logical name: card0
       logical name: /dev/snd/controlC0
       logical name: /dev/snd/hwC0D2
       logical name: /dev/snd/pcmC0D0c
       logical name: /dev/snd/pcmC0D0p
       logical name: /dev/snd/pcmC0D2c
       version: 05
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:35 memory:fbf10000-fbf13fff

Any idea on how this could be possibly fixed? I would really appreciate it. C:

Sadaharu Wakisaka avatar
pl flag
Welcome to AskUbuntu. I don't know your headphones and machine, but 3.5mm jack has many kinds. Normal headphone has a TRS plug and jack has that.
darth_epoxy avatar
nl flag
?Wow audio jacks, how old is this box? Does a card control them? What is the result from `sudo lshw -c multimedia` please
Pirechi avatar
py flag
@darth_epoxy post updated with the result from `sudo lshw -c multimedia`.
Score:0
nl flag

Stolen from here
Edit your grub by typing in a terminal sudo nano /etc/default/grub or you can use gedit.
Edit your line for GRUB_CMDLINE_LINUX_DEFAULT=
and add in the string snd_hda_intel.dmic_detect=0between the " "
but don't remove any of the other text in that line if there is any, just include the new line
(often there is no content here but your grub might have something so don't remove it.
Save or commit this changes you just made (overwrite same filename)
then type sudo update-grub and wait
then type sudo shutdown -r now and your machine will restart with audio (we hope).

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.