Sound from speakers no sound from 3.5mm jack-audio

The Issue:

Speakers working, plug in the head phones, they are recognized, the notebook switches automatically to them but no sound.

If the headphones have an incorporated microphone, the microphone does not work.

inxi -Fxxxz
System:    Kernel: 5.8.0-2-MANJARO x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel 
           wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: ASUSTeK product: Strix 17 GL703GE v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: GL703GE v: 1.0 serial: <filter> UEFI: American Megatrends v: GL703GE.318 date: 07/19/2019 
Battery:   ID-1: BAT1 charge: 57.5 Wh condition: 57.5/64.4 Wh (89%) volts: 5.1/15.2 model: ASUS A32-K55 type: Li-ion 
           serial: N/A status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 9216 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52815 
           Speed: 900 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 900 2: 901 3: 900 4: 900 5: 900 6: 900 7: 900 8: 900 
           9: 900 10: 900 11: 900 12: 900 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: ASUSTeK driver: nvidia v: 440.100 bus ID: 01:00.0 
           chip ID: 10de:1c8c 
           Device-3: Holitech USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus ID: 1-7:5 chip ID: 2fee:1014 
           serial: <filter> 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia resolution: 1920x1080~120Hz s-dpi: 96 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a348 
           Sound Server: ALSA v: k5.8.0-2-MANJARO 
Network:   Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3 
           chip ID: 8086:a370 
           IF: wlo1 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: 3000 
           bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 15.24 TiB used: 9.62 TiB (63.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 500GB size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 2B2QEXM7 scheme: GPT 
           ID-2: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> rev: 023 
           scheme: GPT 
           ID-3: /dev/sdb type: USB vendor: Seagate model: ST2000LX 001-1RG174 size: 1.82 TiB serial: <filter> rev: 0202 
           scheme: GPT 
           ID-4: /dev/sdc type: USB vendor: Sabrent model: SABRENT size: 232.89 GiB serial: <filter> rev: 0204 scheme: MBR 
           ID-5: /dev/sdd type: USB vendor: Western Digital model: WD40EZRZ-00GXCB0 size: 3.64 TiB rotation: 5400 rpm 
           serial: <filter> scheme: GPT 
           ID-6: /dev/sde type: USB vendor: Western Digital model: WD20EFRX-68EUZN0 size: 1.82 TiB rotation: 5400 rpm 
           serial: <filter> scheme: GPT 
           ID-7: /dev/sdf type: USB vendor: Seagate model: ST4000DM005-2DP166 size: 3.64 TiB rotation: 5980 rpm 
           serial: <filter> scheme: GPT 
           ID-8: /dev/sdg type: USB vendor: Western Digital model: WD30EZRX-00SPEB0 size: 2.73 TiB rotation: 5400 rpm 
           serial: <filter> rev: 1050 scheme: MBR 
Partition: ID-1: / size: 440.38 GiB used: 71.42 GiB (16.2%) fs: ext4 dev: /dev/nvme0n1p2 
Swap:      ID-1: swap-1 type: partition size: 17.05 GiB used: 586.2 MiB (3.4%) priority: -2 dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 70.0 C mobo: 27.8 C gpu: nvidia temp: 59 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 362 Uptime: 10h 53m Memory: 15.49 GiB used: 3.96 GiB (25.6%) Init: systemd v: 245 Compilers: gcc: 10.1.0 
           Packages: pacman: 1289 Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.05
pulseaudio --dump-conf
### Read from configuration file: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = no
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-13.0/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target = 
log-level = notice
resample-method = auto
avoid-resampling = no
enable-remixing = yes
remixing-use-all-sink-channels = yes
enable-lfe-remixing = no
lfe-crossover-freq = 0
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 25
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 8000
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 200000

What i tried:

  • alsamixer (Headphones seen as plugged in but no sound)
  • pulseaudio -k and then reboot
  • different headphones both with mic incorporated and without

Side note: bluetooth headset Aukey perfectly seen and working.

1 Like

Try the second jack audio package and see if that helps

Do you mean jack2 1.9.14-1?

Do I have to uninstall something before installing it?

Yes you have to uninstall the previous package of the jack
Any way it is just a suggestion but
Keep an installation media handy

1 Like

Same problem on Asus ROG GL703GM after the last update.

Sound from speakers no sound from jack-audio

I am confused. By “jack-audio”, do you mean the 3.5mm plug on your laptop, or do you mean that you’re trying to use JACK Audio the sound server daemon?

If it’s the latter, did you follow all the steps in the Arch wiki link in my top sentence?

I am sorry for the misunderstanding, I meant the 3.5mm plug on my laptop.

I tried using Kernel 5.7 and the issue still persists.

Same problem with Lenovo E595
I have tried many distros, many kernels and ended up on Manjaro - KDE.
Once audio over headphones somehow started to work randomly on OpenSuse - KDE Tumbleweed, but after reinstall it was not working so I could not find any consistent steps how to get this work.
I can see that headphones are somehow detected because once I plug them in in audio control Internal Microphone is switched to Microphone and back after unplug.

please get ALSA information

alsa-info.sh --upload

and post link to data uploaded to alsa-project

also please post respone to

sudo dmesg | grep snd

https://alsa-project.org/db/?f=092aa5bcb3eb4828451710a8745df6d88229b625

sudo dmesg | grep snd

Summary
[    2.753610] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    4.332647] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.411504] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    4.411506] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.411507] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.411507] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.411508] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.411510] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    4.411511] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

Issue confirmed also with Kernel 5.8.1

amixer -c1 sset 'Auto-Mute Mode' 'Disabled'

see if that helps.

I have tried but unfortunately did not work.

hi,
i also have a cannon point audio interface and struggled with it in the beginning. here is how i made it work:

  1. be sure to run a kernel >= 5.6
  2. be sure that sof-firmware is installed
  3. you can disable the detection of the digital mic using either a kernel parameter or by creating an alsa config file in /etc/modprobe.d/alsa-base.conf. Be sure to not do any of these!
  4. install pulseaudio-git from the aur.
  5. run:
systemctl --user daemon-reload
systemctl --user enable pulseaudio pulseaudio.socket
systemctl --user restart pulseaudio pulseaudio.socket
  1. reboot
1 Like

Still not working.
Check image
As you can see it shows the output device. It even shows output is being sent. But, no audio from the headphones.

strange…
in order to see whether everything has worked correctly otherwise, could you please post another inxi -Fxxxz?
and maybe its worth trying it on the 5.7 kernel?

System:    Kernel: 5.7.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: GNOME 3.36.5 
           tk: GTK 3.24.22 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux 
Machine:   Type: Laptop System: ASUSTeK product: GL503VD v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: GL503VD v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: GL503VD.304 date: 10/03/2017 
Battery:   ID-1: BAT1 charge: 42.1 Wh condition: 46.8/64.4 Wh (73%) volts: 5.0/15.2 
           model: ASUS A32-K55 type: Li-ion serial: N/A status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake 
           rev: 9 L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44817 
           Speed: 800 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 
           6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:591b 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK driver: nvidia v: 440.100 
           bus ID: 01:00.0 chip ID: 10de:1c8d 
           Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus ID: 1-7:4 
           chip ID: 13d3:5666 serial: <filter> 
           Display: x11 server: X.Org 1.20.8 compositor: gnome-shell driver: nvidia 
           unloaded: modesetting resolution: 1920x1080 s-dpi: 96 
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.1.5 
           direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:a171 
           Sound Server: ALSA v: k5.7.15-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK 
           driver: r8169 v: kernel port: d000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: d000 bus ID: 04:00.0 
           chip ID: 8086:24fd 
           IF: wlp4s0 state: up mac: <filter> 
           IF-ID-1: br-252f518c6383 state: down mac: <filter> 
           IF-ID-2: docker0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.03 TiB used: 30.62 GiB (2.9%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 119.24 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 57XA4104 scheme: GPT 
           ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB 
           speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: A3V0 scheme: GPT 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: f060 
           bus ID: 00:17.0 chip ID: 8086.282a rev: 31 
Partition: ID-1: / size: 116.38 GiB used: 30.62 GiB (26.3%) fs: ext4 dev: /dev/nvme0n1p2 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 48.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 276 Uptime: 28m Memory: 7.66 GiB used: 2.01 GiB (26.3%) Init: systemd v: 245 
           Compilers: gcc: 10.1.0 clang: 10.0.1 Packages: pacman: 1589 Shell: fish v: 3.1.2 
           running in: alacritty inxi: 3.1.05 

I did try with both 5.7 & 5.8

Hi!

I tried your suggestion but nothing happened :frowning:

ok, i see… you do not seem to be the original poster, correct? at least the sound device you use (Intel CM238 HD) is different than what the original post was about ( Intel Cannon Lake PCH cAVS).

in any case, my solution works in case the device needs the sof-firmware. if it does and all the package is installed and the device is not forced to use the snd_hda_intel via some kernel or alsa settings, the driver should show up as driver: sof-audio-pci.

A strange thing happened.
Suddenly my audio and headphones started to work even with plug/unplug detection so I did new fresh install and it is not working again.
Here’s my output alsa-info.sh --upload from not working and working environments
Not working: http://alsa-project.org/db/?f=3ba93e1f934d1d4ac5ee318af0f91835a43f6010
Working: http://alsa-project.org/db/?f=d675d04e794efd4b310fbf044320fa7686532483
I do not know if this would be helpful to compare what is happening there, but still there is no consistent solution for this.

I found out that this problem is caused by small changes in the file “patch_realtek.c” in kernel 5.7.10, this change has been applied to all LTS and Stable versions of the kernel. The previous stable update from 2020-07-19 was on version 5.7.9, so with the next update from 2020-08-16, the sound disappeared. It is not clear why these changes broke the audio on the 3.5 jack port. The problem has been seen on ASUS GL703GM, GL703GE, GU502GW, GL503VM and GL503VD notebooks (all from this forum).


I found as many as four ways to solve this problem:

Way one (simple but crooked): paste this line “options snd-hda-intel model=headset-mode” into file “/etc/modprobe.d/alsa.conf” then SHUTDOWN the system, DO NOT reboot. Then turn on the system and the sound should appear, but the microphone in the headphones will probably no longer work.


Way two: install (or compile) kernel 5.7.9. The sound will work as before.


Way three: compile any fresh kernel with this patch. This patch is made for my GL703GM model with ALC295 audio chip, if you have the same audio chip you can change the values ​​"0x1043, 0x1011" according to the values ​​"SubVendor, SubDevice" from the “hwinfo --sound” command.

realtek-gl703gm-5.8.3.patch
--- a/sound/pci/hda/patch_realtek.c	2020-08-24 20:00:05.752727969 +0300
+++ b/sound/pci/hda/patch_realtek.c	2020-08-25 05:28:17.268845951 +0300
@@ -7641,6 +7641,7 @@
 	SND_PCI_QUIRK(0x103c, 0x8736, "HP", ALC285_FIXUP_HP_GPIO_AMP_INIT),
 	SND_PCI_QUIRK(0x103c, 0x877a, "HP", ALC285_FIXUP_HP_MUTE_LED),
 	SND_PCI_QUIRK(0x103c, 0x877d, "HP", ALC236_FIXUP_HP_MUTE_LED),
+	SND_PCI_QUIRK(0x1043, 0x1011, "ASUS GL703GM", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
 	SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),
 	SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),

Way four (best): compile any fresh kernel with this patch. This patch undoes the problematic changes in the code and your sound will work as on the 5.7.9 kernel.

realtek-5.8.3.patch
--- a/sound/pci/hda/patch_realtek.c	2020-08-24 20:00:05.752727969 +0300
+++ b/sound/pci/hda/patch_realtek.c	2020-08-24 20:17:14.184536126 +0300
@@ -7132,7 +7132,7 @@
 			{ }
 		},
 		.chained = true,
-		.chain_id = ALC269_FIXUP_HEADSET_MIC
+		.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
 	},
 	[ALC294_FIXUP_ASUS_HEADSET_MIC] = {
 		.type = HDA_FIXUP_PINS,
@@ -7141,7 +7141,7 @@
 			{ }
 		},
 		.chained = true,
-		.chain_id = ALC269_FIXUP_HEADSET_MIC
+		.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
 	},
 	[ALC294_FIXUP_ASUS_SPK] = {
 		.type = HDA_FIXUP_VERBS,
@@ -7149,8 +7149,6 @@
 			/* Set EAPD high */
 			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x40 },
 			{ 0x20, AC_VERB_SET_PROC_COEF, 0x8800 },
-			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x0f },
-			{ 0x20, AC_VERB_SET_PROC_COEF, 0x7774 },
 			{ }
 		},
 		.chained = true,

Both last patches are made for the kernel version 5.8.3, for other versions the patches need to be adjusted.

6 Likes