Audio issues: internal speakers not working, mic/jack still recognized and working.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Sure thing :

Code: Select all

salvo@salvo-HP ~ $ sudo alsactl init
[sudo] password di salvo:        
Found hardware: "HDA-Intel" "IDT 92HD81B1C5" "HDA:111d76d5,103c3650,00100402" "0x103c" "0x3650"
Hardware is initialized using a generic method
salvo@salvo-HP ~ $
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

Run this one again please:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
If I don't spot something this time, I'm going to give you a kernel parameter change to try.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Here you go :

Code: Select all

salvo@salvo-HP ~ $ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   3112      0 --:--:-- --:--:-- --:--:--  3108
cat: /etc/pulse/client.conf: No such file or directory
https://termbin.com/mplna
salvo@salvo-HP ~ $ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

Okay, I'm at a loss.

Here's what I think is going wrong. If you run cat /proc/asound/card0/codec#0 you'll see many of the entries have this near the bottom:

Code: Select all

Power: setting=D3, actual=D3
D3 means it's asleep. We've already turned off the power saving feature that should have prevented this. Your speaker shows D0, but I'm guessing the amp for the speaker is still in D3.

I've suggested this to another user with a similar issue and it worked for them, but it may have side issues.

In the terminal run xed admin:///etc/default/grub and when the file opens find the line that will probably look just like this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
It could be a little different if you've already made changes to this line. Change it to this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
If you made changes previously, keep those changes just adding the acpi=off parameter still within the quotes.

Save and close the file, ignore the terminal warnings then run sudo update-grub

Reboot and see if the speakers work. If not, run cat /proc/asound/card0/codec#0 and paste the output.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Hello MrEen,

First of all and again, thank you.
I'm more than ready to throw the laptop, or use it to level my table. I really think that this distribution screwed my Speakers the moment I plugged in the jack for some misteriuos reason.

I tried to run the suggested command, and appartently i can't.
Schermata a 2020-04-10 20-11-35.png
The terminal is saying the following :

Code: Select all

xed admin:///etc/default/grub

** (xed:14272): WARNING **: 20:11:01.594: La posizione specificata non è supportata
<<The position specified is not supported>>
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

I've not seen that before and not sure of the issue. If can understand how to use it, try sudo nano /etc/default/grub
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Ok With NANO is working:

Code: Select all

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
I just need to understand now, how to modify the file without enjoying laptop-frisbee from my windows.
I'll keep you posted.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Ok I think I've made it.

Code: Select all

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
GRUB_CMDLINE_LINUX=""

User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

Looks good. Save the file. Run sudo update-grub then reboot and test.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

All done!
Same issue ( now speaker test °front left° °front right° is not audbile from eraphones as well )
Following the code requested :

Code: Select all

salvo@salvo-HP ~ $ cat /proc/asound/card0/codec#0 
Codec: IDT 92HD81B1C5
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x111d76d5
Subsystem Id: 0x103c3650
Revision Id: 0x100402
No Modem Function Group found
Default PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold S3D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=1
  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
Power-Map: 0x76
Node 0x0a [Pin Complex] wcaps 0x400583: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Pincap 0x0001173c: IN OUT HP EAPD Detect
    Vref caps: HIZ 50 GRD 80
  EAPD 0x2: EAPD
  Pin Default 0x04a11020: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x0b [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0421101f: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x0c [Pin Complex] wcaps 0x400583: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00011734: IN OUT EAPD Detect
    Vref caps: HIZ 50 GRD 80
  EAPD 0x2: EAPD
  Pin Default 0x400000f4: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x0d [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00010050: OUT EAPD Balanced
  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
  Power states: 
  Power: setting=D0, actual=D0
  Connection: 3
     0x13 0x14* 0x1c
Node 0x0e [Pin Complex] wcaps 0x400583: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x400000f1: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x1
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x0f [Pin Complex] wcaps 0x400583: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x400000f2: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x10 [Pin Complex] wcaps 0x400500: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x400000f3: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 1
     0x1a
Node 0x11 [Pin Complex] wcaps 0x400483: 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: N/A
  Amp-In vals:  [0x02 0x02]
  Pincap 0x00000024: IN Detect
  Pin Default 0x90a10160: [Fixed] Mic at Int N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states: 
  Power: setting=D0, actual=D0
Node 0x12 [Vendor Defined Widget] wcaps 0xf00503: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Power states: 
  Power: setting=D0, actual=D0
  Connection: 1
     0x20
Node 0x13 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="92HD81B1C5 Analog", type="Audio", device=0
  Amp-Out caps: N/A
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=5, channel=0
  Power states: 
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x14 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: N/A
  Amp-Out vals:  [0x7f 0x7f]
  Converter: stream=5, channel=0
  Power states: 
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x15 [Audio Input] wcaps 0x1d0541: Stereo
  Device: name="92HD81B1C5 Analog", type="Audio", device=0
  Converter: stream=1, channel=0
  SDI-Select: 0
  Power states: 
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x17
  Processing caps: benign=0, ncoeff=0
Node 0x16 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power states: 
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x18
  Processing caps: benign=0, ncoeff=0
Node 0x17 [Audio Selector] wcaps 0x300d0d: Stereo Amp-Out R/L
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x0f 0x0f]
  Power states: 
  Power: setting=D0, actual=D0
  Connection: 7
     0x0c 0x0e 0x0f 0x1b 0x11* 0x12 0x0a
Node 0x18 [Audio Selector] wcaps 0x300d0d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 7
     0x0c* 0x0e 0x0f 0x1b 0x11 0x12 0x0a
Node 0x19 [Audio Selector] wcaps 0x300501: Stereo
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x1a [Audio Mixer] wcaps 0x200500: Mono
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 1
     0x19
Node 0x1b [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x18 0x18]
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 6
     0x0c 0x0e 0x0f 0x13 0x14 0x0a
Node 0x1c [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 1
     0x1b
Node 0x1d [Audio Output] wcaps 0x4061d: Stereo Digital Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states: 
  Power: setting=D3, actual=D3
  Delay: 4 samples
Node 0x1e [Audio Output] wcaps 0x4061d: Stereo Digital Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states: 
  Power: setting=D3, actual=D3
  Delay: 4 samples
Node 0x1f [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x400000f5: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 1
     0x1d
Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000034: IN OUT Detect
  Pin Default 0x400000f6: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states: 
  Power: setting=D3, actual=D3
  Connection: 1
     0x1e
Node 0x21 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals:  [0x80]
Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono
salvo@salvo-HP ~ $ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

Okay, undo the change and run sudo update-grub again, then reboot once more.

This is wildly baffling! I'm going to make a suggestion that should not help whatsoever, but crazier things have happened:

Run alsamixer again and arrow over to the Auto-Mute Mode column. Press the up arrow to change it from Disabled to something else. There might be one or two changes possible by pressing the up arrow again. Try the different possibilities and see if that makes any difference.

I'm about the head out for an hour or two. I'll check back soon.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

I'm going to assume Auto-Mute was of no help, so I have another idea.

Run these and paste their outputs:

Code: Select all

sudo hda-verb /dev/snd/hwC0D0 0x0d GET_POWER POWER_STATE

Code: Select all

sudo hda-verb /dev/snd/hwC0D0 0x1c GET_POWER POWER_STATE
I'm hoping we can change the power state but I need to get an idea of what to issue, based on those returns.

Or maybe this idea would be better. Run HDAJackRetask and check the box for Parser hints then down near the bottom of the list, double click on power_down_unused until it says no. Click on Apply now, then see if the speakers work. If they do, click on Install boot override. Then reboot and confirm it's still working.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Hello MrEen,

indeed no help. :(
Following the output you requested :

Code: Select all

salvo@salvo-HP ~ $ sudo hda-verb /dev/snd/hwC0D0 0x0d GET_POWER POWER_STATE
[sudo] password di salvo:        
nid = 0xd, verb = 0xf05, param = 0xf
value = 0x0
salvo@salvo-HP ~ $ sudo hda-verb /dev/snd/hwC0D0 0x1c GET_POWER POWER_STATE
nid = 0x1c, verb = 0xf05, param = 0xf
value = 0x0
salvo@salvo-HP ~ $ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

That seems weird as well. Those two pins showed different power states in your previous output, but now they're showing the same value. :?

Did you try the HDAJackRetask idea I posted? You may need to check the Override box for 0x0d before setting the parser hint.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Hello MrEen,

Yes, I tried as well the hdajackretask suggestion without success.
I still have the problem that when i click on apply it says : Device or Resource Busy.

I tried to install the boot anyway, but after reboot the power_down_unused is showing still DEFAULT.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

I can tell if it created a boot override from the output of dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Here is the output :

Code: Select all

salvo@salvo-HP ~ $ dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[    0.468986] ACPI: Added _OSI(Linux-Dell-Video)
[    0.468988] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.468990] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[   29.721008] usb 3-1: USB disconnect, device number 2
[   29.935171] snd_hda_intel 0000:00:1b.0: Applying patch firmware 'hda-jack-retask.fw'
[   29.939069] snd_hda_intel 0000:01:00.1: Disabling MSI
[   29.939086] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   29.939106] snd_hda_intel 0000:01:00.1: Applying patch firmware 'hda-jack-retask.fw'
[   29.997647] ath: phy0: Enable LNA combining
--
[   30.011172] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xffffa29300540000, irq=16
[   31.163901] snd_hda_codec_idt hdaudioC0D0: autoconfig for 92HD81B1C5: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker
[   31.163906] snd_hda_codec_idt hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   31.163910] snd_hda_codec_idt hdaudioC0D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
[   31.163912] snd_hda_codec_idt hdaudioC0D0:    mono: mono_out=0x0
[   31.163915] snd_hda_codec_idt hdaudioC0D0:    inputs:
[   31.163919] snd_hda_codec_idt hdaudioC0D0:      Internal Mic=0x11
[   31.163922] snd_hda_codec_idt hdaudioC0D0:      Mic=0xa
[   31.184865] kvm: disabled by bios
[   31.208983] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   31.209116] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   31.221561] kvm: disabled by bios
[   31.681712] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[   31.681844] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[   31.681969] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[   31.682093] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[   31.948753] intel_powerclamp: No package C-state available
salvo@salvo-HP ~ $ 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

Yup, it did it:

Code: Select all

[   29.935171] snd_hda_intel 0000:00:1b.0: Applying patch firmware 'hda-jack-retask.fw'
At this point I'm thinking maybe some weird hardware glitch happened around the same time as that plugging/unplugging of the buds. I can't think of anything else right now to try. I tried to rule out hardware with the hdajacksensetest, and it showed properly when headphones were plugged and unplugged..

Now that Auto-Mute Mode is back to an enabled state, try once more raising the headphone volume in alsamixer with no headphones plugged in. I'm really grasping at straws now, but I can't think of much else.
Salvofx
Level 1
Level 1
Posts: 26
Joined: Sun Mar 29, 2020 4:33 am

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by Salvofx »

Hello MrEen,

Nothing to do.
I understand if you are running out of ideas, we tried everything.
Not sure what happened, but I really appreciate your help.

I think in the next couple of days, I will try to install a Windows version on this Laptop.
If it works I will leave it like this.
If it doesn't I'll trash the laptop.

Again, thank you for your huge support on this, I really appreciated it!
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio issues: internal speakers not working, mic/jack still recognized and working.

Post by MrEen »

I hate giving up, but this is looking like some strange issue that isn't normal. Please let us know if Windows works properly, and if it does, then try a Live ISO of any Linux Distro and see if it works there as well. I just can't understand what is (not) happening.

I'm happy to help any time I can, even when we don't get things fixed. It still helps me for future troubleshooting.

Good luck! And stay healthy! :D

EDIT: I just realized we never did try changing the pin for the speaker in HDAJackRetask. Do you want to try that?

EDIT2: Does this play on the speakers: aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav

EDIT3: What does this return: ls -la /var/lib/gdm3
I'm back to suspecting GDM and wondering if we can still fix this. Might need to see ls -l /var/lib and lsof/dev/snd/* as well.

Forget the last edit. GDM wasn't touching the sound card on the last couple of curl runs.

EDIT3.1: Just so I can see the D0-D3 changes, please run the curl command with headphones attached and music playing.

EDIT4: Oh boy, can you tell I hate giving up?!? Let's see ls -l /lib/firmware and if hda-jack-retask.fw is there, then cat /lib/firmware/hda-jack-retask.fw please.
Locked

Return to “Sound”