No audio on headphones :(

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

No audio on headphones :(

Post by monsoft » Thu Jan 31, 2019 7:20 pm

This is driving my crazy since I installed Mint 19 Tara MATE few months ago.

I use Debian on my old laptop since like 7 years, and all works well. But I guess this is because it is old and less complicated in the case of how many audio cards and audio output I have in it, and how they behave.

I have another laptop (desktop replacement) Dell Inc. Precision M6800 with connected 2 monitors over hdmi & display port and usb headset. If i use only internal speakers all works without issue. Problem starts when I connect usb headset and I plug-in jack plug into headphones output port.

1st issue is that if I have usb headset plugged in, it's always default device. I was looking over internet and try to resolve this issue but no success :(
No matter what "options" I use in /etc/modprobe.d/alsa-base.conf trying to setup index, this usb device is always default one :(
sound_preferences.png
sound_preferences.png (34.21 KiB) Viewed 1934 times
What I usually do is to manually choosing "Built-in Audio Analogue Stereo" device and if I have no jack plug-in into headphones output port I can hear sound from internal laptop speakers. If I have jack plug-in into headphones output port I usually can't hear anything :(
Usually because this sometimes works but usually not.

I have Pulse Audio Volume Control (pavucontrol) installed and it indicates that I use "Built-in Audio Analogue Stereo" & "Port: Headphones (plugged in)" so it recognise correctly that jack is plugged into headphones port. It indicates that sound is played on this port, but there is no sound at all :(
volume_control.png
Alsa mixer is setup correctly as well:
alsa_mixer.png
Of course my headphones works correctly as well as external seekers. If I boot Windows 7 which I have on 2nd drive, all works without any issues without touching or reconnecting anything.

I'm ending up on connecting headphones into one of my monitors where I'm getting sound via "Tobago HDMI Audio" card which is buildin into my Radeon graphic card but sound is quite crap :(

If I disconnect USB headset it only resolves issue with priority of sound devices.

Does anyone have been in similar situation and can help me with this setup ?

Code: Select all

$ inxi -Fxz 
System:    Host: leon Kernel: 4.15.0-45-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Dell product: Precision M6800 v: 00 serial: N/A
           Mobo: Dell model: 0XD1M5 v: A00 serial: N/A BIOS: Dell v: A25 date: 10/08/2018
Battery    BAT0: charge: 99.9 Wh 143.6% condition: 69.6/99.9 Wh (70%) model: Sanyo DELL T4DTX4C status: Full
CPU:       Dual core Intel Core i5-4210M (-MT-MCP-) arch: Haswell rev.3 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10376
           clock speeds: max: 3200 MHz 1: 1696 MHz 2: 1317 MHz 3: 1906 MHz 4: 1647 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Saturn XT [FirePro M6100] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 2560x1080@60.00hz, 2560x1080@60.00hz
           OpenGL: renderer: AMD BONAIRE (DRM 2.50.0 / 4.15.0-45-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Advanced Micro Devices [AMD/ATI] Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM]
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-3 Plantronics driver: USB Audio usb-ID: 003-004
           Sound: Advanced Linux Sound Architecture v: k4.15.0-45-generic
Network:   Card-1: Intel Ethernet Connection I217-LM driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Broadcom Limited BCM4352 802.11ac Wireless Network Adapter driver: wl bus-ID: 03:00.0
           IF: wlp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 771.2GB (22.9% used)
           ID-1: /dev/sda model: TCSUNBOW_X3_240G size: 240.1GB temp: 40C
           ID-2: USB /dev/sdb model: Storage_Device size: 31.0GB temp: 0C
           ID-3: /dev/sdc model: ST500LM000 size: 500.1GB temp: 47C
Partition: ID-1: / size: 220G used: 61G (29%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 50.0C mobo: N/A gpu: 62.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 213 Uptime: 30 min Memory: 1349.0/15980.5MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 

Code: Select all

$ pacmd list-sinks
2 sink(s) available.
    index: 0
	name: <alsa_output.usb-Plantronics_DSP55_Adapter-00.analog-mono>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9049
	volume: mono: 29252 /  45% / -21.02 dB
	        balance 0.00
	base volume: 58409 /  89% / -3.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.usb-Plantronics_DSP55_Adapter-00>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "DSP55 Adapter"
		alsa.long_card_name = "Plantronics DSP55 Adapter at usb-0000:00:14.0-1.3, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:1.3:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/sound/card2"
		udev.id = "usb-Plantronics_DSP55_Adapter-00"
		device.bus = "usb"
		device.vendor.id = "047f"
		device.vendor.name = "Plantronics, Inc."
		device.product.id = "d055"
		device.product.name = "DSP55 Adapter"
		device.serial = "Plantronics_DSP55_Adapter"
		device.string = "hw:2"
		device.buffering.buffer_size = "176400"
		device.buffering.fragment_size = "88200"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-mono"
		device.profile.description = "Analogue Mono"
		device.description = "DSP55 Adapter Analogue Mono"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB047f:d055"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
	active port: <analog-output-speaker>
  * index: 1
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9039
	volume: front-left: 32975 /  50% / -17.90 dB,   front-right: 32975 /  50% / -17.90 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 39.05 ms
	max request: 6 KiB
	max rewind: 64 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 371.52 ms
	card: 2 <alsa_card.pci-0000_00_1b.0>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC3226 Analog"
		alsa.id = "ALC3226 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7f30000 irq 29"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "Built-in Audio Analogue Stereo"
		alsa.mixer_name = "Realtek ALC3226"
		alsa.components = "HDA:10ec0292,102805cd,00100001"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Thu Jan 31, 2019 7:57 pm

Hi monsoft, and welcome to the forum.

Please add the output of pacmd list-cards so I can see everything available.

And in case it's just a pulse configuration issue, delete the files in ~/.config/pulse then run pulseaudio -k in the terminal then test your headphones.

monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

Re: No audio on headphones :(

Post by monsoft » Fri Feb 01, 2019 5:47 am

Hi MrEen,

Code: Select all

$ pacmd list-cards
3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xf7e60000 irq 30"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "aac0"
		device.product.name = "Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM]"
		device.string = "1"
		device.description = "Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM]"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5200, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 100, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 100, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.usb-Plantronics_DSP55_Adapter-00>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "2"
		alsa.card_name = "DSP55 Adapter"
		alsa.long_card_name = "Plantronics DSP55 Adapter at usb-0000:00:14.0-1.3, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:1.3:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/sound/card2"
		udev.id = "usb-Plantronics_DSP55_Adapter-00"
		device.bus = "usb"
		device.vendor.id = "047f"
		device.vendor.name = "Plantronics, Inc."
		device.product.id = "d055"
		device.product.name = "DSP55 Adapter"
		device.serial = "Plantronics_DSP55_Adapter"
		device.string = "2"
		device.description = "DSP55 Adapter"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:analog-mono: Analogue Mono Input (priority 2, available: unknown)
		output:analog-mono: Analogue Mono Output (priority 200, available: unknown)
		output:analog-mono+input:analog-mono: Analogue Mono Duplex (priority 202, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-mono+input:analog-mono>
	sinks:
		alsa_output.usb-Plantronics_DSP55_Adapter-00.analog-mono/#0: DSP55 Adapter Analogue Mono
	sources:
		alsa_output.usb-Plantronics_DSP55_Adapter-00.analog-mono.monitor/#0: Monitor of DSP55 Adapter Analogue Mono
		alsa_input.usb-Plantronics_DSP55_Adapter-00.analog-mono/#1: DSP55 Adapter Analogue Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
    index: 2
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 9
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7f30000 irq 29"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analogue Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analogue Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (priority 6060, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analogue Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#2: Monitor of Built-in Audio Analogue Stereo
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-dock-mic: Dock Microphone (priority 7800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
I removed all files from " ~/.config/pulse" and restarted pulseaudio and unfortunately nothing changes :(

After removing all files from " ~/.config/pulse" additional card appeared which I had switched off for tests. This is "Tobago HDMI Audio" which I use with headset
via my monitor (monitor have 3.5mm jack socket build in for analog audio output) and this one usually works, but sound quality is not good.

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Fri Feb 01, 2019 8:12 am

All your settings look pretty good. Here's what I'd try:

First, check the Playback tab of pavucontrol while sound is trying to play. Does the box say Built-in Audio? If not, click on it to change it.

On the Configuration tab of pavucontrol, change the built-in card to Analog Stereo Duplex instead of Analog Stereo Output. Set both the HDMI card and the DSP55 card to Off then test the headphones. I know you had the HDMI set to Off before and I just want to see if we can get the headphones to work when the USB card is also set to Off.

The system was already detecting the headphones being plugged in, and that was the active port on the default card. I'm just trying eliminate any sort of conflict so we might know where the problem lies.

Let me know if this makes any difference.

monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

Re: No audio on headphones :(

Post by monsoft » Fri Feb 01, 2019 6:15 pm

If I switch all audio devices off except Built-in Audio and is no change as well :(
Restarting pulseaudio did't change anything as well.

In pavucontrol when I play any audio, it says :audio stream
Playback.png
Output_devices.png
Yesterday I was even trying to look to "/proc" filesystem to check if there is something obvious that will indicate that I need to change it. But ... nothing really was there.

What I really suspect is that there is some "gap" between my hardware and Linux audio server in the case of detecting which physical output has been used. Software detects that I plugged in jack plug into Headphones port but my hardware is still expecting to get some "signal/command" to be able to physically send audio to it. When I boot Windows 7, and plugin jack to Headphones port, I'm getting popup window which asking me "what kind of device have you plugged in to Headphones port". I need to choose one (usually I choose external speakers or Headphones depends what I just plugged in) and when I press OK button it start play audio. Maybe under Linux after plugin I need to setup some additional setting to let's hardware know that it can start play audio on this port.

But this is just my idea and can be completely wrong.

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Fri Feb 01, 2019 6:27 pm

I understand your thinking on the issue. The people that coded this stuff for linux tried to make things auto-detected, and generally did a decent job.

I want you to try something that may have a positive impact. In alsamixer, use the arrow keys to get to the first Headset, then press the m key to unmute that column followed by hitting the up arrow a bunch of times to increase the volume. Then move one more column to the right, and hit the up arrow a bunch of times again on the second Headset column. Now hit the left arrow 3 times to get to Auto-Mute and hit the down arrow until it says Disabled.

Test the sound to see if that got it working.

The VLC thing is weird. There should be a box saying what device it is playing to. I'm wondering if VLC is playing through ALSA instead of pulseaudio. I'm going to test that theory while you make those changes.

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Fri Feb 01, 2019 6:32 pm

In VLC, go to Tools > Preferences > Audio tab. Mine should be default as installed and it says Automatic for Output module. If yours already says that, click on it and see if changing it to Pulseaudio audio output has any effect.

monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

Re: No audio on headphones :(

Post by monsoft » Fri Feb 01, 2019 7:02 pm

I work on linux servers for long time and I can't complain. I like linux desktops as well but, there is usually something that doesn't work. I guess that problem with lots of different hardware which system needs to support, and usually this hardware comes without linux drivers like is in Windows situation.

I made all changes in alsamixer and vlc and no sound from vlc or any other application :(

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Fri Feb 01, 2019 7:27 pm

Just so I can see what happens, start a video on youtube or something in your browser, and see what is shown on the Playback tab. There should be a box saying Built-in Audio like in this pic I grabbed off the web:
Image

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Fri Feb 01, 2019 7:29 pm

Also, I just noticed your Playback tab didn't have a speaker icon. That would usually indicate it is muted. Maybe it's muted in VLC?

EDIT: Nevermind this post. You are showing volume on the VU meter or whatever that's called.

monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

Re: No audio on headphones :(

Post by monsoft » Sat Feb 02, 2019 6:12 am

Playback.png
There is speaker icon but like a grey out, but it's doesn't mean it is grey out. It's colour what is used in MATE desktop. If I hover over it it says Mute Audio, and if I click it, it will Mute Audio. So Audio is definitely going to "right" audio device.
Like I mentioned before I suspect that there is no mechanical cut off of audio signal when I plug jack into Headphones output (this is how is done in my old laptop). There need to be some relay module which still waiting for additional "management signal" to switch audio from speakers to Headphones.

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Sat Feb 02, 2019 12:42 pm

Found a bug report with exactly your scenario and very similar hardware here (users has Precision M4800 with ALC3226): https://bugs.launchpad.net/ubuntu/+sour ... ug/1786495

I really find it odd that the Playback tab is showing no box indicating the device sound is playing to. I wonder if it's because you disabled all other options. Could you do me a favor and try again using the speakers instead, just so I know this isn't a symptom of the underlying issue.

Assuming you just see "Chrome: Playback" and the sound is working with the speakers, I guess we'll need to try remapping a different pin to the headphones. That will be done by installing alsa-tools-gui and running hdajackretask but I'll wait for confirmation before getting into that.

monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

Re: No audio on headphones :(

Post by monsoft » Mon Feb 04, 2019 4:17 pm

After few times of deleting ~/.config/pulse directory rebooting system and testing audio on Mint Live sound did come back. But I suspect that it will eventually gone to this same stage after some times. I looked to configurations and all looks this same. Alsamixer, sinks. Difference now is that on Playback tab I see audio device which is used to play sound, but I suspect that in previous situation I only had 1 device so it was obvious choice.

Situation in this bug report is exactly what I was experiencing (and I guess I will experience again soon) so it would be good to know what is causing this issue. Hardware ( Precision M4800) is similar to mine (can be use as self defence device).
So far for me, solution was to remove pulse directory and reboot system.
I know hdajackretask tool and I was looking to it as well.

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Mon Feb 04, 2019 4:31 pm

While the system is working, type this in the terminal:

Code: Select all

sudo alsactl store
If it goes south again, use sudo alsactl restore, probably with clearing out the ~/.config/pulse files again.

With any luck, that may work to get sound back next time it takes a vacation.

It's also likely a future kernel will have proper support for your sound card. Maybe 4.18 or 4.20 already does. Not sure.

monsoft
Level 1
Level 1
Posts: 7
Joined: Thu Jan 31, 2019 6:38 pm

Re: No audio on headphones :(

Post by monsoft » Tue Feb 05, 2019 9:27 pm

Will do.
I noticed this same issue on my other system which I was thinking that I will use (Elementary Os) but eventually I choose Linux Mint, as I use it some times ago.
Based on this bug report which you found I guess that there is some issues in this Dell bricks working under Linux. I will continue my fight if issue come back.

Many Thanks MrEen for your big help and all suggestions :-)

User avatar
MrEen
Level 14
Level 14
Posts: 5399
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio on headphones :(

Post by MrEen » Tue Feb 05, 2019 10:05 pm

You're welcome. Good luck keeping audio alive! :D

Post Reply

Return to “Sound, Multimedia, & Codecs”