No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

There's probably something special required, but it's not something that can be guessed at really, although I did try a few guesses.

I actually did just think of something to try to look for, but it's really tricky to figure out what to do with it. I'll probably have another hda-verb command for you in the next 24 hours to try.

What I'm thinking is the speaker amp isn't getting turned on. Those GPIO things can be related to that too, so I'm not sure what I might come up with, but I haven't thrown in the towel just yet!
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

I just realized the very first thing I mentioned may have been stymied by the options available. :oops:

See if this gets those speakers talking:

Code: Select all

amixer -c1 set Headphone+LO 100%
This actually has a decent chance of working. And if it works, I can give you an edit to make to automate it.
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

No luck. Was this what you expected to happen?

Code: Select all

$ amixer -c1 set Headphone+LO 100%
Simple mixer control 'Headphone+LO',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB]
  Front Right: Playback 87 [100%] [0.00dB]
butch@Latitude-E7450:~$ 
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

DAMN! Yes it was.

And just in case, try this as well:

Code: Select all

amixer -c1 set Headphone toggle
And if still not working, then try this:

Code: Select all

amixer set Speaker toggle
I'm not expecting it to work, but just want to eliminate everything I can.
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

Sorry for the slow reply - I've been on the road for a few days.

Nothing from the first command. And this error from the second:

Code: Select all

amixer set Speaker toggle
amixer: Unable to find simple control 'Speaker',0
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

I'm sorry, the second command should have been this:

Code: Select all

amixer -c1 set Speaker toggle
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

I get this output from that second command: (I ran the first command again, before running the second):

Code: Select all

amixer -c1 set Speaker toggle
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [off]
  Front Right: Playback 87 [100%] [0.00dB] [off]
Still no sound. I made sure nothing is set to MUTE. But when I ran alsamixer and selected my codec, the "Speaker" was set to 100%, but it showed "MM" at the bottom of the volume bar. I hit "M" to change that to "00" - but still no sound.
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

Yeah, that was just me blindly wondering if the output was playing to headphones when none were plugged in, which would have muted the speakers. The toggles would have reversed that, but it wasn't the case.

Does this output some pink noise by any chance:

Code: Select all

speaker-test -c 2
I think you need to Ctrl+C to stop that.
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

Nope, no sound at all - pink, white, or any other color - from that command.
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

I think I've finally stumbled on the issue:

Code: Select all

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
That last line should have an asterisk next to the pin like the headphones do:

Code: Select all

Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
I only know one way we might be able to make that happen, and it too late tonight to find all the steps necessary, but involves the use of hda_analyzer.py, which I'm not even certain will work on Mint 20.

I'll let you know tomorrow what we need to try.
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

Okay, I think I've got my ducks in a row here. Everything here is done in the terminal until the program hopefully opens.

First, let's create a directory for the script and move into it:

Code: Select all

mkdir audiofix && cd audiofix
Now get the code with this:

Code: Select all

git clone https://github.com/jeremycline/hda-analyzer.git
Now cd into the proper directory:

Code: Select all

cd hda-analyzer/hda-analyzer
Now to see if the script will run:

Code: Select all

sudo python hda_analyzer.py
I don't use Mint 20, so there might be a python error from that last command. If so, see if this works as I don't even know if it exists on 20:

Code: Select all

sudo python2 hda_analyzer.py
With luck, the program opened. Scroll down in the list on the left to Node[0x14] under card-1 and click on it. Now, over in the right pane in the Connection List box see if you can check the box for Audio Mixer [0x0c]

Down at the bottom of the page make sure OUT is checked under Widget Control and EAPD is checked under EAPD.

Now test the sound. If it works, click on Diff so we can hopefully see what it did. My sound works, so I won't make changes with the program, so can't test how it does things. I can't say for sure if it saves these changes, or you'll have to do this on every boot. Now that I looked some more, the Exp button should export the changes generating a script you can run at bootup. Or it might even put the script where it needs to be, I can't say.

Good luck! :D

EDIT: When testing the sound, check alsamixer -c1 to see if the Speaker column is muted and has volume. You'll need a second terminal window for this.
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

I got this far in your instructions:

Code: Select all

sudo python hda_analyzer.py
[sudo] password for butch:         
sudo: python: command not found
Then tried it with python2:

Code: Select all

sudo python2 hda_analyzer.py
Traceback (most recent call last):
  File "hda_analyzer.py", line 33, in <module>
    import gtk
ImportError: No module named gtk
Then I tried it with python3:

Code: Select all

sudo python3 hda_analyzer.py
  File "hda_analyzer.py", line 48
    raise ValueError, "URL %s" % url
                    ^
SyntaxError: invalid syntax
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

Dammit! I was afraid of that. I'm still using 18.3 where this works fine, but I suspected this would happen when 20 came out.

And I recently had an old machine I could have done some testing with to see what code is generated, but it bit the dust and won't even boot to the manufacturers logo now.

Maybe someone else will have an idea on how to run python2 apps on Mint 20.
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

Actually, it appears you were able to run python2, it just couldn't import gtk. That's another thing that changed between 19.x and 20 (Ubuntu 18.04 and 20.04) as support for GTK2 was dropped. And I'm assuming the lack of importing gtk means the GUI probably wouldn't open or if it did would be impossible to read.

I'm going to try to find out what gets changed where when changing the mixer amps in that app to see if we can accomplish it another way. It's likely it can be done another way, just knowing what to change and where is going to be the issue. I'm not a coder but can understand most of what the code is doing, so we might get lucky.

This might take until tomorrow sometime. I'll let you know when I have something to try.
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

Well, that didn't go well. Too much stuff like this for me to understand:

Code: Select all

  def get_text_info(self, idx=None):
    res = self.id.get_text_info() + '\n'
    res += '  type="%s",access=%s,count=%s,owner=%s,dimen=%s\n' % \
      (self.stype, repr(self.access), self.count, self.owner, self.dimen)
    if self.stype.startswith('integer'):
      res += '  min=%s,max=%s,step=%s\n' % (self.min, self.max, self.step)
    elif self.stype == 'enumerated':
      res += '  items=%s\n' % (self.items)
    return res
So that made me think and I realized my options show an internal speaker (I'm on a desktop) so what if I tried to change mine and see what code it generates. Mine looked similar to yours with just the single pin at the bottom with no asterisk next to it. When I opened hda_analyzer.py, it showed the speaker was actually connected to it though, and I couldn't change it, as there was nothing to change it to.

So much for that idea.

Then I started some more digging, and thought maybe this could help. Run HDAJackRetask again. Check the box for Parser hints and in the window that opens, double click on pin_amp_workaround until it says yes then click on Apply now and test the speakers.

I'm almost out of any other options here. If that made no difference, run these one line at a time and paste the output:

Code: Select all

sudo su
echo 1 > /sys/module/snd_hda_codec/parameters/dump_coef
exit
cat /proc/asound/card1/codec#0
The output will have a neat column probably on NID 0x20 that might show me something that rings a bell from other fixes.
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

Lots for you to look at!

Code: Select all

root@Latitude-E7450:/home/butch# echo 1 > /sys/module/snd_hda_codec/parameters/dump_coef
root@Latitude-E7450:/home/butch# exit
exit
butch@Latitude-E7450:~$ cat /proc/asound/card1/codec#0
Codec: Realtek ALC3235
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0293
Subsystem Id: 0x1028062e
Revision Id: 0x100003
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=5, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone+LO Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC3235 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC3235 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x3f 0x3f]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x90 0x90]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40000000: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Pincap 0x00000020: IN
  Pin Default 0x90a60140: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x4, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80] [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Line Out Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80] [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x21014020: [Jack] Line Out at Sep Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80] [0x00 0x00]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Dock Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000024: IN Detect
  Pin Default 0x21a19030: [Jack] Mic at Sep Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x20: IN
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Headset Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80] [0x00 0x00]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40700001: [N/A] Modem Hand at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=90
    Coeff 0x00: 0x0003
    Coeff 0x01: 0xa248
    Coeff 0x02: 0x8a2a
    Coeff 0x03: 0x0000
    Coeff 0x04: 0xac01
    Coeff 0x05: 0xff1f
    Coeff 0x06: 0xe054
    Coeff 0x07: 0x0200
    Coeff 0x08: 0x4b00
    Coeff 0x09: 0x5436
    Coeff 0x0a: 0x8904
    Coeff 0x0b: 0x8fcc
    Coeff 0x0c: 0x5001
    Coeff 0x0d: 0x0000
    Coeff 0x0e: 0xaa7a
    Coeff 0x0f: 0x4120
    Coeff 0x10: 0x0e20
    Coeff 0x11: 0x7779
    Coeff 0x12: 0x7770
    Coeff 0x13: 0x7779
    Coeff 0x14: 0x7779
    Coeff 0x15: 0x0c00
    Coeff 0x16: 0x0370
    Coeff 0x17: 0x3dd0
    Coeff 0x18: 0x8840
    Coeff 0x19: 0x2902
    Coeff 0x1a: 0x8008
    Coeff 0x1b: 0xf6f0
    Coeff 0x1c: 0xfc06
    Coeff 0x1d: 0x2900
    Coeff 0x1e: 0x110a
    Coeff 0x1f: 0x0010
    Coeff 0x20: 0x6fd9
    Coeff 0x21: 0x0014
    Coeff 0x22: 0xc2ba
    Coeff 0x23: 0xaa28
    Coeff 0x24: 0x8800
    Coeff 0x25: 0x0000
    Coeff 0x26: 0x2000
    Coeff 0x27: 0x7418
    Coeff 0x28: 0xd787
    Coeff 0x29: 0x401d
    Coeff 0x2a: 0x0000
    Coeff 0x2b: 0x8ccc
    Coeff 0x2c: 0x0e50
    Coeff 0x2d: 0xff00
    Coeff 0x2e: 0x0000
    Coeff 0x2f: 0x51ff
    Coeff 0x30: 0x8000
    Coeff 0x31: 0x8a00
    Coeff 0x32: 0x7777
    Coeff 0x33: 0x00aa
    Coeff 0x34: 0x0580
    Coeff 0x35: 0x0121
    Coeff 0x36: 0xdffa
    Coeff 0x37: 0xe00f
    Coeff 0x38: 0x0000
    Coeff 0x39: 0x00c8
    Coeff 0x3a: 0x0f81
    Coeff 0x3b: 0x190a
    Coeff 0x3c: 0x4081
    Coeff 0x3d: 0x0064
    Coeff 0x3e: 0x00ff
    Coeff 0x3f: 0x8100
    Coeff 0x40: 0xd828
    Coeff 0x41: 0x0000
    Coeff 0x42: 0x0000
    Coeff 0x43: 0x0000
    Coeff 0x44: 0x0000
    Coeff 0x45: 0xc429
    Coeff 0x46: 0x0050
    Coeff 0x47: 0xa820
    Coeff 0x48: 0xd149
    Coeff 0x49: 0x0049
    Coeff 0x4a: 0x900e
    Coeff 0x4b: 0x2e17
    Coeff 0x4c: 0x0d00
    Coeff 0x4d: 0x0040
    Coeff 0x4e: 0x8000
    Coeff 0x4f: 0x0000
    Coeff 0x50: 0x0000
    Coeff 0x51: 0x8000
    Coeff 0x52: 0x3000
    Coeff 0x53: 0x0000
    Coeff 0x54: 0x0000
    Coeff 0x55: 0x0000
    Coeff 0x56: 0x0000
    Coeff 0x57: 0x0000
    Coeff 0x58: 0x318f
    Coeff 0x59: 0x90a0
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12 0x13*
Node 0x23 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 6
     0x18* 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
butch@Latitude-E7450:~$ 
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

Indeed. I was looking at this stuff:

Code: Select all

    Coeff 0x00: 0x0003
    Coeff 0x01: 0xa248
    Coeff 0x02: 0x8a2a
I had hoped something would jump out at me as being wrong based on some previous user's outputs. The worst part is I have an idea of what needs changing, but have no idea what to change it to. It would look similar to this:

Code: Select all

$ sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x14
~$ sudo hda-verb /dev/snd/hwC1D0 0x20 0x477 0x4a4b
~$ sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0c
~$ sudo hda-verb /dev/snd/hwC1D0 0x20 0x477 0x74
But, the 0x4a4b and 0x74 won't be the right numbers for your machine, and I have no way of knowing the right numbers. A dump from Windows is how we discovered the above for a Zenbook model.

I'm afraid at this point, all I can suggest is a bug report, probably against the kernel here: https://bugzilla.kernel.org/

Well, isn't that a hoot? I searched E7450 there and found a microphone issue here: https://bugzilla.kernel.org/show_bug.cgi?id=205527

The output is a bit different from yours, but gives me an idea to try:

In HDAJackRetask, change 0x19 to Not connected and either Apply now or Install boot override and reboot and test the speakers. Maybe the dock mic pin is interfering somehow.

I won't be surprised that it doesn't help, but what the heck?

Here's the differences from their output and yours:
Yours:

Code: Select all

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c <--------------------------------------------Notice here
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Theirs on the E7440 only:

Code: Select all

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d <-----------------------------That's what we want to see!
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Their E7450 outputs the exact same as yours, but they made no mention of a speaker issue. They might use headphones only, or something else. No way to know.
ba58smith
Level 1
Level 1
Posts: 27
Joined: Wed Oct 07, 2020 11:09 am

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by ba58smith »

"In HDAJackRetask, change 0x19 to Not connected" - did that, no help. I'll post this as a bug report, as you suggest. Thanks so much for the amazing amount of help you've offered!
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from built-in speakers on Dell E7450 (Mint 20 Ulyana)

Post by MrEen »

You're very welcome.

Thanks for hanging in there so long! I learn more myself while helping so this was never a waste as far as I'm concerned.

Good luck with the bug report! If you're asked anything you have difficulty understanding, just pop back here and we can assist.
Post Reply

Return to “Sound, Multimedia, & Codecs”