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: 15238
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, delete the files in /home/YourUserName/.config/pulse then run pulseaudio -k. Try aplay /usr/share/sounds/alsa/Front_Center.wav after that.

If still nothing run this then reboot and test:

Code: Select all

sudo tee /etc/modprobe.d/blacklist-realtek.conf <<<'blacklist snd_hda_codec_realtek'
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 »

Nothing from deleting / remaking the pulse files.

Nothing from running the blacklist command and rebooting.
User avatar
MrEen
Level 22
Level 22
Posts: 15238
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!

The suspend/wake cycle working for some users makes me think we can get this working, but I'm not sure what to try next.

Let's see the output of this please:

Code: Select all

apt policy pulseaudio
Also, you can undo that last edit with this command:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-realtek.conf
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 »

Code: Select all

butch@Latitude-E7450:~$ apt policy pulseaudio
pulseaudio:
  Installed: 1:13.99.1-1ubuntu3.7
  Candidate: 1:13.99.1-1ubuntu3.7
  Version table:
 *** 1:13.99.1-1ubuntu3.7 500
        500 http://mirror.cs.unm.edu/archive focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:13.99.1-1ubuntu3.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     1:13.99.1-1ubuntu3 500
        500 http://mirror.cs.unm.edu/archive focal/main amd64 Packages
butch@Latitude-E7450:~$ 
User avatar
MrEen
Level 22
Level 22
Posts: 15238
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, let's downgrade pulseaudio and see if that makes any difference. If it doesn't help, the Update Manager will soon present the chance to upgrade back to where you are. Run this then reboot and test again:

Code: Select all

apt update && apt install libpulse-mainloop-glib0=1:13.99.1-1ubuntu3.2 libpulse0=1:13.99.1-1ubuntu3.2 libpulsedsp=1:13.99.1-1ubuntu3.2 pulseaudio=1:13.99.1-1ubuntu3.2 pulseaudio-module-bluetooth=1:13.99.1-1ubuntu3.2 pulseaudio-utils=1:13.99.1-1ubuntu3.2
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 help.
User avatar
MrEen
Level 22
Level 22
Posts: 15238
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, I'm out of ideas at the moment.

I'm somewhat suspecting there's something weird happening with the card detection. Your options read much more like a desktop than a laptop.

Sometime tonight or tomorrow I'll have a few more things to try, but I need to do some stuff around the home right now.
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 »

Well thanks a million for the effort! I'll keep watching here to see if you or anyone else has any new ideas.
User avatar
MrEen
Level 22
Level 22
Posts: 15238
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen »

Maybe if we apply a laptop specific quirk, the port availability stuff might resolve properly. I've looked through the list that could apply for your codec, and I'd suggest these three as the first to try.

Code: Select all

sudo tee /etc/modprobe.d/dell-fix.conf <<<'options snd-hda-intel model=dell-spk-noise'

Code: Select all

sudo tee /etc/modprobe.d/dell-fix.conf <<<'options snd-hda-intel model=laptop-amic'

Code: Select all

sudo tee /etc/modprobe.d/dell-fix.conf <<<'options snd-hda-intel model=laptop-dmic'
Each one overwrites the previous one. So try the first, reboot and test. If no luck, try the next, then reboot and test, etc.

In case I missed one that might apply, these are all the options available on your codec:

Code: Select all

ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)
===================================================================
laptop-amic
    Laptops with analog-mic input
laptop-dmic
    Laptops with digital-mic input
alc269-dmic
    Enable ALC269(VA) digital mic workaround
alc271-dmic
    Enable ALC271X digital mic workaround
inv-dmic
    Inverted internal mic workaround
headset-mic
    Indicates a combined headset (headphone+mic) jack
headset-mode
    More comprehensive headset support for ALC269 & co
headset-mode-no-hp-mic
    Headset mode support without headphone mic
lenovo-dock
    Enables docking station I/O for some Lenovos
hp-gpio-led
    GPIO LED support on HP laptops
hp-dock-gpio-mic1-led
    HP dock with mic LED support
dell-headset-multi
    Headset jack, which can also be used as mic-in
dell-headset-dock
    Headset jack (without mic-in), and also dock I/O
dell-headset3
    Headset jack (without mic-in), and also dock I/O, variant 3
dell-headset4
    Headset jack (without mic-in), and also dock I/O, variant 4
alc283-dac-wcaps
    Fixups for Chromebook with ALC283
alc283-sense-combo
    Combo jack sensing on ALC283
tpt440-dock
    Pin configs for Lenovo Thinkpad Dock support
tpt440
    Lenovo Thinkpad T440s setup
tpt460
    Lenovo Thinkpad T460/560 setup
tpt470-dock
    Lenovo Thinkpad T470 dock setup
dual-codecs
    Lenovo laptops with dual codecs
alc700-ref
    Intel reference board with ALC700 codec
vaio
    Pin fixups for Sony VAIO laptops
dell-m101z
    COEF setup for Dell M101z
asus-g73jw
    Subwoofer pin fixup for ASUS G73JW
lenovo-eapd
    Inversed EAPD setup for Lenovo laptops
sony-hweq
    H/W EQ COEF setup for Sony laptops
pcm44k
    Fixed PCM 44kHz constraints (for buggy devices)
lifebook
    Dock pin fixups for Fujitsu Lifebook
lifebook-extmic
    Headset mic fixup for Fujitsu Lifebook
lifebook-hp-pin
    Headphone pin fixup for Fujitsu Lifebook
lifebook-u7x7
    Lifebook U7x7 fixups
alc269vb-amic
    ALC269VB analog mic pin fixups
alc269vb-dmic
    ALC269VB digital mic pin fixups
hp-mute-led-mic1
    Mute LED via Mic1 pin on HP
hp-mute-led-mic2
    Mute LED via Mic2 pin on HP
hp-mute-led-mic3
    Mute LED via Mic3 pin on HP
hp-gpio-mic1
    GPIO + Mic1 pin LED on HP
hp-line1-mic1
    Mute LED via Line1 + Mic1 pins on HP
noshutup
    Skip shutup callback
sony-nomic
    Headset mic fixup for Sony laptops
aspire-headset-mic
    Headset pin fixup for Acer Aspire
asus-x101
    ASUS X101 fixups
acer-ao7xx
    Acer AO7xx fixups
acer-aspire-e1
    Acer Aspire E1 fixups
acer-ac700
    Acer AC700 fixups
limit-mic-boost
    Limit internal mic boost on Lenovo machines
asus-zenbook
    ASUS Zenbook fixups
asus-zenbook-ux31a
    ASUS Zenbook UX31A fixups
ordissimo
    Ordissimo EVE2 (or Malata PC-B1303) fixups
asus-tx300
    ASUS TX300 fixups
alc283-int-mic
    ALC283 COEF setup for Lenovo machines
mono-speakers
    Subwoofer and headset fixupes for Dell Inspiron
alc290-subwoofer
    Subwoofer fixups for Dell Vostro
thinkpad
    Binding with thinkpad_acpi driver for Lenovo machines
dmic-thinkpad
    thinkpad_acpi binding + digital mic support
alc255-acer
    ALC255 fixups on Acer machines
alc255-asus
    ALC255 fixups on ASUS machines
alc255-dell1
    ALC255 fixups on Dell machines
alc255-dell2
    ALC255 fixups on Dell machines, variant 2
alc293-dell1
    ALC293 fixups on Dell machines
alc283-headset
    Headset pin fixups on ALC283
aspire-v5
    Acer Aspire V5 fixups
hp-gpio4
    GPIO and Mic1 pin mute LED fixups for HP
hp-gpio-led
    GPIO mute LEDs on HP
hp-gpio2-hotkey
    GPIO mute LED with hot key handling on HP
hp-dock-pins
    GPIO mute LEDs and dock support on HP
hp-dock-gpio-mic
    GPIO, Mic mute LED and dock support on HP
hp-9480m
    HP 9480m fixups
alc288-dell1
    ALC288 fixups on Dell machines
alc288-dell-xps13
    ALC288 fixups on Dell XPS13
dell-e7x
    Dell E7x fixups
alc293-dell
    ALC293 fixups on Dell machines
alc298-dell1
    ALC298 fixups on Dell machines
alc298-dell-aio
    ALC298 fixups on Dell AIO machines
alc275-dell-xps
    ALC275 fixups on Dell XPS models
alc256-dell-xps13
    ALC256 fixups on Dell XPS13
lenovo-spk-noise
    Workaround for speaker noise on Lenovo machines
lenovo-hotkey
    Hot-key support via Mic2 pin on Lenovo machines
dell-spk-noise
    Workaround for speaker noise on Dell machines
alc255-dell1
    ALC255 fixups on Dell machines
alc295-disable-dac3
    Disable DAC3 routing on ALC295
alc280-hp-headset
    HP Elitebook fixups
alc221-hp-mic
    Front mic pin fixup on HP machines
alc298-spk-volume
    Speaker pin routing workaround on ALC298
dell-inspiron-7559
    Dell Inspiron 7559 fixups
ativ-book
    Samsung Ativ book 8 fixups
alc221-hp-mic
    ALC221 headset fixups on HP machines
alc256-asus-mic
    ALC256 fixups on ASUS machines
alc256-asus-aio
    ALC256 fixups on ASUS AIO machines
alc233-eapd
    ALC233 fixups on ASUS machines
alc294-lenovo-mic
    ALC294 Mic pin fixup for Lenovo AIO machines
alc225-wyse
    Dell Wyse fixups
alc274-dell-aio
    ALC274 fixups on Dell AIO machines
alc255-dummy-lineout
    Dell Precision 3930 fixups
alc255-dell-headset
    Dell Precision 3630 fixups
alc295-hp-x360
    HP Spectre X360 fixups
alc-sense-combo
    Headset button support for Chrome platform
All the ones that have ALC### won't apply to your ALC3235 codec
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 »

Tried those three, tried "noshutup", tried several Dell-specific ones for other codecs (just for the heck of it) - no joy.
User avatar
MrEen
Level 22
Level 22
Posts: 15238
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen »

One "last" idea. First remove whatever might still be loaded with this:

Code: Select all

/etc/modprobe.d/dell-fix.conf
Then run the blacklist again:

Code: Select all

sudo tee /etc/modprobe.d/blacklist-realtek.conf <<<'blacklist snd_hda_codec_realtek'
Now shut down, don't reboot. Wait a few minutes then power up into Mint, and if the sound still isn't working, reboot one more time. It sound nuts, but this has worked for a few users.

If that doesn't help, let's see this output with that blacklist set:

Code: Select all

dmesg | grep snd
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 »

When I run /etc/modprobe.d/dell-fix.conf, I get "Permission denied". I tried "sudo /etc/modprobe.d/dell-fix.conf", and get "command not found".
User avatar
MrEen
Level 22
Level 22
Posts: 15238
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen »

My goof. It should have been this:

Code: Select all

sudo rm /etc/modprobe.d/dell-fix.conf
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 »

Still nothing. Here's the output you asked for:

Code: Select all

butch@Latitude-E7450:~$ dmesg | grep snd
[    5.219609] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.247762] snd_hda_codec_generic hdaudioC1D0: autoconfig for Generic: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line
[    5.247765] snd_hda_codec_generic hdaudioC1D0:    speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
[    5.247767] snd_hda_codec_generic hdaudioC1D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    5.247769] snd_hda_codec_generic hdaudioC1D0:    mono: mono_out=0x0
[    5.247770] snd_hda_codec_generic hdaudioC1D0:    inputs:
[    5.247772] snd_hda_codec_generic hdaudioC1D0:      Dock Mic=0x19
[    5.247774] snd_hda_codec_generic hdaudioC1D0:      Internal Mic=0x13
butch@Latitude-E7450:~$ 
User avatar
MrEen
Level 22
Level 22
Posts: 15238
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen »

Interesting. Here's what that looked like originally:

Code: Select all

[    4.761123] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3235: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line
[    4.761127] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
[    4.761129] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    4.761131] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.761132] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.761134] snd_hda_codec_realtek hdaudioC1D0:      Dock Mic=0x19
[    4.761137] snd_hda_codec_realtek hdaudioC1D0:      Headset Mic=0x1a
[    4.761138] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x13
So the generic parser loses the Headset mic, but otherwise seems to have not helped.

I would like you to keep the setting for another reboot or two just in case. But eventually we'll probably want it gone with this again:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-realtek.conf
In an hour or three, I'll have a new tool for you to try that I don't have much hope for, but it's worth a shot. It might be sooner. Just depends how busy I get.
User avatar
MrEen
Level 22
Level 22
Posts: 15238
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, install alsa-tools (this is different from alsa-tools-gui that we used earlier in the thread) and see what happens when you try this command in the terminal:

Code: Select all

sudo hda-verb /dev/snd/hwC1D0 0x14 SET_PIN_WIDGET_CONTROL 0xc0
Try playing some sound and see if the speakers work. Do check for mute/volume status.
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 »

Four reboots later, no improvement.
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 »

Code: Select all

butch@Latitude-E7450:~$ sudo hda-verb /dev/snd/hwC1D0 0x14 SET_PIN_WIDGET_CONTROL 0xc0
nid = 0x14, verb = 0x707, param = 0xc0
value = 0x0
butch@Latitude-E7450:~$ 
Definitely muted, and volume set at 90%.

Still nothing.
User avatar
MrEen
Level 22
Level 22
Posts: 15238
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, it's a Hail Mary pass attempt, but try the first three blocks in this post: viewtopic.php?f=90&t=321359&p=1828194&h ... o#p1828194

Each line should be entered separately, but after each block, test the sound. In fact, start a movie or something while entering those so you'll hear it kick in if it's successful.

A reboot undoes that stuff, just as it does for the hda-verb command from my last post. Just hoping we can find some magic, then we can automate it if we find which one works.
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.

But thanks, yet again, for all your efforts! You went way above and beyond the call of duty on this one.

If I ever figure it out, I'll be sure to post the solution here. For now, I'll probably just get a tiny Bluetooth speaker.
Post Reply

Return to “Sound, Multimedia, & Codecs”