headphone jack non-funtional SOLVED

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
bjmh46
Level 3
Level 3
Posts: 193
Joined: Fri May 30, 2014 6:44 pm

headphone jack non-funtional SOLVED

Post by bjmh46 » Tue Sep 04, 2018 10:47 am

I recently acquired a Dell Latitude e6530. I cloned a mint 18.3 install from one of the four thinkpads we have here running 18.3 with 100% functionality. All was well, including the Nouveau drivers until I tested the headphone jack (an absolute necessity for me). No sound! Pull the drive boot it in 2 other computers (thinkpads) and all was well. Before I go further explaining what I've done so far to troubleshoot, here is the obligatory "inxi"

Code: Select all

bob@e6530 ~ $ inxi -Fxz
System:    Host: e6530 Kernel: 4.4.0-134-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Linux Mint 18.3 Sylvia
Machine:   System: Dell product: Latitude E6530 v: 01
           Mobo: Dell model: 07Y85M v: A01 Bios: Dell v: A16 date: 09/24/2014
CPU:       Dual core Intel Core i7-3540M (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11960
           clock speeds: max: 3700 MHz 1: 1215 MHz 2: 1394 MHz 3: 1236 MHz 4: 1459 MHz
Graphics:  Card: NVIDIA GF108GLM [NVS 5200M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nouveau (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.08hz
           GLX Renderer: NVC1 GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes
Audio:     Card-1 Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GF108 High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.4.0-134-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak]
           driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 126.0GB (27.8% used)
           ID-1: /dev/sda model: SanDisk_SSD_U110 size: 126.0GB
Partition: ID-1: / size: 59G used: 8.4G (15%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 7.95GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 57.0C mobo: N/A gpu: 51.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 215 Uptime: 2 min Memory: 398.8/7922.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Troubleshooting so far:
18.3 with kernels 4.4.0-97, 4.4.0-134 & 4.15.0-33--still no sound from headphones
Run alsamixer and pavucontrol with headphones plugged in. Both show correct functionality of the headphone but no sound
Boot mint 18.3 usb stick--headphone jack works perfectly
Boot mint 17 xfce--headphone jack works perfectly (full install on external hdd)
Boot mint 19 xfce--headphone jack works perfectly (full install on external hdd)
Did fresh install of 18.3-headphone jack works perfectly.
Did initial mess of updates (levels 1 & 2 only, with pulseaudio update blacklisted)--no sound from headphones
So, some update blew away the headphone jack functionality for this particular laptop, but not on four thinkpads of varying vintage.
Lots of googling and testing of various config files to no avail. The only way I can get sound out of the headphone jack, is to select speakers or line-out from the pulldown in sound settings. Sound then comes thru the headphones, but it also comes thru the speakers.

Anyone have ideas of where to go next? I'm temporarily (?) running 19 on this machine and it runs well, but i'd prefer to be running 18.3 like everything else.

Thanks
Bob
Last edited by bjmh46 on Tue Sep 04, 2018 2:04 pm, edited 1 time in total.

gm10
Level 18
Level 18
Posts: 8757
Joined: Thu Jun 21, 2018 5:11 pm

Re: headphone jack non-funtional

Post by gm10 » Tue Sep 04, 2018 11:14 am

If headphones can be selected as a valid output, but you're not getting any sound, this sounds like a volume control issue. Check the general output volume for the headphones (pavucontrol allows you to configure that separately per output, and also check the application-specific volume level of your playback application (playback tab in pavucontrol). Also make sure nothing is muted in either of those tabs.

If the headphones aren't correctly detected as being plugged in, use the tool I suggested here: viewtopic.php?p=1516860#p1516860 (might want to disable jack detection for everything even if they are detected).

Also always a good idea is to create a new user on the system, log into that one and test there. If it works, the problem is with your user-specific configuration, otherwise it's the system configuration.

bjmh46
Level 3
Level 3
Posts: 193
Joined: Fri May 30, 2014 6:44 pm

Re: headphone jack non-funtional SOLVED

Post by bjmh46 » Tue Sep 04, 2018 2:17 pm

Ok, Ive marked this solved but I have reservations--I really don't know how! Gm10 was kind enough to post his thoughts, and a link to another topic. If you read my original post you will see that aslsamixer and pavucontrol both showed the headphones as working, and with a healthy volume level--i just got zero sound. The user thing was not really a possibility, since I could boot the drive on another machine, and all was well with the headphones.
Well, per the gm10 suggestion ,I looked at the link he referenced and thought I'll try just about anything at this point. Here's the sequence of events:

Without any other changes to settings, user or anything:
*installed alsa-tools-gui
*hdajackretask--black headphone left side:override/apply
*sound in headphones now works-uncheck override/apply-still works
*reboot:still works--removed alsa-tools-gui
*reboot:still works

I'm still shaking my head in astonishment, would sure like to know why!
Thanx to gm10 for putting me on the right path--care to speculate what fixed it? I'd really like to know.

EDIT: BTW, I took a Clonezilla image of the partition as soon as it started working so that it's now baked into my backup.

Bob

gm10
Level 18
Level 18
Posts: 8757
Joined: Thu Jun 21, 2018 5:11 pm

Re: headphone jack non-funtional SOLVED

Post by gm10 » Tue Sep 04, 2018 2:55 pm

bjmh46 wrote:
Tue Sep 04, 2018 2:17 pm
I'm still shaking my head in astonishment, would sure like to know why!
Thanx to gm10 for putting me on the right path--care to speculate what fixed it? I'd really like to know.
If you didn't have the tool install a boot time script then it's indeed a bit curious. What happens is the tool kills the pulseaudio daemon and then re-configures the alsa driver. My speculation would be that the problem was somewhere with the pulseaudio settings and when it got re-loaded to different driver settings that caused a change or cleanup of its cached configuration which cleared the problem.

bjmh46
Level 3
Level 3
Posts: 193
Joined: Fri May 30, 2014 6:44 pm

Re: headphone jack non-funtional SOLVED

Post by bjmh46 » Tue Sep 04, 2018 5:09 pm

But that can't explain why the same drive, booted in another computer, played sound thru the headphones perfectly. I am thinking it might have something to do with the fact that the dell has the separate hdmi sound thru nvidia. The problem was specific to the dell latitude.

gm10
Level 18
Level 18
Posts: 8757
Joined: Thu Jun 21, 2018 5:11 pm

Re: headphone jack non-funtional SOLVED

Post by gm10 » Tue Sep 04, 2018 5:10 pm

bjmh46 wrote:
Tue Sep 04, 2018 5:09 pm
But that can't explain why the same drive, booted in another computer, played sound thru the headphones perfectly. I am thinking it might have something to do with the fact that the dell has the separate hdmi sound thru nvidia. The problem was specific to the dell latitude.
Different computer, different hardware, different behaviour. Not much of a surprise.

bjmh46
Level 3
Level 3
Posts: 193
Joined: Fri May 30, 2014 6:44 pm

Re: headphone jack non-funtional SOLVED

Post by bjmh46 » Tue Sep 04, 2018 6:27 pm

gm10 wrote:
Tue Sep 04, 2018 5:10 pm
bjmh46 wrote:
Tue Sep 04, 2018 5:09 pm
But that can't explain why the same drive, booted in another computer, played sound thru the headphones perfectly. I am thinking it might have something to do with the fact that the dell has the separate hdmi sound thru nvidia. The problem was specific to the dell latitude.
Different computer, different hardware, different behaviour. Not much of a surprise.
The salient point being that no settings were changed. I ran the test again on a different sdd. The result was the same. It was the running of hdajackretask, and setting black headphone left side:override, and applying, that resets something that makes the headphone jack work. You can undo that change and uninstall alsa-tools-gui and the headphones continue to work. The drive can subsequently re-booted on a thinkpad, and all seems normal.

gm10
Level 18
Level 18
Posts: 8757
Joined: Thu Jun 21, 2018 5:11 pm

Re: headphone jack non-funtional SOLVED

Post by gm10 » Tue Sep 04, 2018 6:36 pm

No, I get you, but different hardware means different drivers with different automatically detected & applied settings even if no file was changed, so it's still not that surprising.

Post Reply

Return to “Newbie Questions”