Discussion:
[gentoo-user] alsa not working with hda intel sound card
(too old to reply)
John Covici
2023-11-08 20:00:02 UTC
Permalink
Hi all.

I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.

If I use a usb sound card I have things work fine, but not the one on
the motherboard. Here is the card spec using the listpci.

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 157
Memory at a2430000 (64-bit, non-prefetchable)
[size=16K]
Memory at a2000000 (64-bit, non-prefetchable)
[size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific
Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl

Any suggestions would be appreciated.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici wb2una
***@ccs.covici.com
Dale
2023-11-08 20:30:01 UTC
Permalink
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
If I use a usb sound card I have things work fine, but not the one on
the motherboard. Here is the card spec using the listpci.
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 157
Memory at a2430000 (64-bit, non-prefetchable)
[size=16K]
Memory at a2000000 (64-bit, non-prefetchable)
[size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific
Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
Any suggestions would be appreciated.
I'm going to mention this because I've done this myself, more than
once.  Are you sure you have enabled, unmuted, the controls in all the
places that control it?  I recall my first install.  I think I had to
unmute the sound in three places before I had sound.  I seem to recall
at least these possibilities in more recent memory.  Kmix if using KDE,
ALSA, possibly pipewire which is kinda new and I'm not sure what
desktops use or don't use it.  You could have pulseaudio as well.  Jack
I think is another one but never used it so not sure.  Of course, there
could be others as well.  The bad thing is, it only takes one to disable
the sound.  The upgrade could have triggered something. 

Also, make sure you run the tool to update config changes, just in case
it has something waiting and is needed. 

That may or may not help but thought it worth a mention.  Just in case. 
;-) 

Dale

:-)  :-) 
John Covici
2023-11-08 20:40:02 UTC
Permalink
Everything is unmuted, verified with amixer and even alsami

-----Original Message-----
From: Dale <***@gmail.com>
Sent: Wednesday, November 8, 2023 3:26 PM
To: gentoo-***@lists.gentoo.org
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
If I use a usb sound card I have things work fine, but not the one on
the motherboard. Here is the card spec using the listpci.
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 157
Memory at a2430000 (64-bit, non-prefetchable)
[size=16K]
Memory at a2000000 (64-bit, non-prefetchable)
[size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific
Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
Any suggestions would be appreciated.
I'm going to mention this because I've done this myself, more than
once. Are you sure you have enabled, unmuted, the controls in all the
places that control it? I recall my first install. I think I had to
unmute the sound in three places before I had sound. I seem to recall
at least these possibilities in more recent memory. Kmix if using KDE,
ALSA, possibly pipewire which is kinda new and I'm not sure what
desktops use or don't use it. You could have pulseaudio as well. Jack
I think is another one but never used it so not sure. Of course, there
could be others as well. The bad thing is, it only takes one to disable
the sound. The upgrade could have triggered something.

Also, make sure you run the tool to update config changes, just in case
it has something waiting and is needed.

That may or may not help but thought it worth a mention. Just in case.;-)

Thanks for the quick response. Everything is unmuted, verified with amixerr and even alsamixer. This is just in a virtual console, no gui involved.
Jude DaShiell
2023-11-08 21:00:02 UTC
Permalink
If pipewire is used, and wireplumber isn't already on the machine it's
time to install it and allow the install to remove a soon deprecated
pipewire-media-manager package. That may help.
If pulseaudio is used could be pulseaudio --cleanup-shm needs doing.
In either case, I'd first run alsactl init then amixer set Master 100%
unmute and check volume levels. If good alsactl store may also help or
throw an error.
Perhaps plug a headset into the onboard sound card and listen to see if
it's doing anything at all before doing any of this so you have a
baseline. Somehow the card could have got disabled.
This is why I bought a crystal cs usb sound card I can plug into a usb-a
port and still have sound no matter what the computer thinks it's doing.
Saved my bacon a few times.

You could also be having jackd problems in which case I can't help you
since I haven't the necessary jackd degree.


-- Jude <jdashiel at panix dot com> "There are four boxes to be used in
defense of liberty: soap, ballot, jury, and ammo. Please use in that
order." Ed Howdershelt 1940.
Post by John Covici
Everything is unmuted, verified with amixer and even alsami
-----Original Message-----
Sent: Wednesday, November 8, 2023 3:26 PM
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
If I use a usb sound card I have things work fine, but not the one on
the motherboard. Here is the card spec using the listpci.
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 157
Memory at a2430000 (64-bit, non-prefetchable)
[size=16K]
Memory at a2000000 (64-bit, non-prefetchable)
[size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific
Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
Any suggestions would be appreciated.
I'm going to mention this because I've done this myself, more than
once. Are you sure you have enabled, unmuted, the controls in all the
places that control it? I recall my first install. I think I had to
unmute the sound in three places before I had sound. I seem to recall
at least these possibilities in more recent memory. Kmix if using KDE,
ALSA, possibly pipewire which is kinda new and I'm not sure what
desktops use or don't use it. You could have pulseaudio as well. Jack
I think is another one but never used it so not sure. Of course, there
could be others as well. The bad thing is, it only takes one to disable
the sound. The upgrade could have triggered something.
Also, make sure you run the tool to update config changes, just in case
it has something waiting and is needed.
That may or may not help but thought it worth a mention. Just in case.;-)
Thanks for the quick response. Everything is unmuted, verified with amixerr and even alsamixer. This is just in a virtual console, no gui involved.
Michael
2023-11-08 20:30:01 UTC
Permalink
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
If I use a usb sound card I have things work fine, but not the one on
the motherboard. Here is the card spec using the listpci.
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 157
Memory at a2430000 (64-bit, non-
prefetchable)
Post by John Covici
[size=16K]
Memory at a2000000 (64-bit, non-prefetchable)
[size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific
Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel,
snd_soc_skl
Post by John Covici
Any suggestions would be appreciated.
Have you walked through the obvious first, e.g. dmesg does not complain of
missing firmware and alsamixer, or pactl, or the desktop's audio mixer GUI,
(e.g. kmix), do not show a muted headphone jack output?

There's also a chance the HDMI channel is configured as the default output
device, rather than PCM. In this case 'aplay --list-devices' will shed some
light and you can set your default device in ~/.asoundrc.
John Covici
2023-11-08 20:40:02 UTC
Permalink
The kernel I am using is 6.1.60-gentoo


-----Original Message-----
From: John Covici <***@ccs.covici.com>
Sent: Wednesday, November 8, 2023 2:54 PM
To: gentoo-***@lists.gentoo.org
Subject: [gentoo-user] alsa not working with hda intel sound card

Hi all.

I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.

If I use a usb sound card I have things work fine, but not the one on
the motherboard. Here is the card spec using the listpci.

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 157
Memory at a2430000 (64-bit, non-prefetchable)
[size=16K]
Memory at a2000000 (64-bit, non-prefetchable)
[size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific
Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl

Any suggestions would be appreciated.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici wb2una
***@ccs.covici.com
Michael Orlitzky
2023-11-08 21:40:02 UTC
Permalink
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?
John Covici
2023-11-08 22:20:01 UTC
Permalink
-----Original Message-----
From: Michael Orlitzky <***@gentoo.org>
Sent: Wednesday, November 8, 2023 4:32 PM
To: gentoo-***@lists.gentoo.org
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?

Yep, all there. I may try with older kernel and see if that makes a difference, but I suspect alsa.
Todd Goodman
2023-11-09 12:40:01 UTC
Permalink
Post by John Covici
-----Original Message-----
Sent: Wednesday, November 8, 2023 4:32 PM
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?
Yep, all there. I may try with older kernel and see if that makes a difference, but I suspect alsa.
FWIW, I lost sound on one machine when I moved to the 6.x kernel series.

I only did a little bit of debugging off and on and never got it back.

It was an Intel HDA.

Booting a 5.x kernel had sound.

I always figured it was a kernel config issue but I did have the codec
enabled and everything else I checked.

Todd
Lee
2023-11-09 22:00:01 UTC
Permalink
OP: Are the cards listed in 'aplay -l' ?

Lee 😎
Post by John Covici
Post by John Covici
-----Original Message-----
Sent: Wednesday, November 8, 2023 4:32 PM
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?
Yep, all there. I may try with older kernel and see if that makes a
difference, but I suspect alsa.
FWIW, I lost sound on one machine when I moved to the 6.x kernel series.
I only did a little bit of debugging off and on and never got it back.
It was an Intel HDA.
Booting a 5.x kernel had sound.
I always figured it was a kernel config issue but I did have the codec
enabled and everything else I checked.
Todd
John Covici
2023-11-09 22:00:02 UTC
Permalink
Yep, the card is listed as the first one.


From: Lee <***@gmail.com>
Sent: Thursday, November 9, 2023 4:53 PM
To: gentoo-user <gentoo-***@lists.gentoo.org>
Subject: Re: [gentoo-user] alsa not working with hda intel sound card

OP: Are the cards listed in 'aplay -l' ?
Lee 😎
Post by John Covici
-----Original Message-----
Sent: Wednesday, November 8, 2023 4:32 PM
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?
Yep, all there. I may try with older kernel and see if that makes a difference, but I suspect alsa.
FWIW, I lost sound on one machine when I moved to the 6.x kernel series.

I only did a little bit of debugging off and on and never got it back.

It was an Intel HDA.

Booting a 5.x kernel had sound.

I always figured it was a kernel config issue but I did have the codec
enabled and everything else I checked.

Todd
Lee
2023-11-09 22:30:01 UTC
Permalink
And have you checked that nothing is muted in alsamixer?

Lee 😎
Post by John Covici
Yep, the card is listed as the first one.
*Sent:* Thursday, November 9, 2023 4:53 PM
*Subject:* Re: [gentoo-user] alsa not working with hda intel sound card
OP: Are the cards listed in 'aplay -l' ?
Lee 😎
Post by John Covici
-----Original Message-----
Sent: Wednesday, November 8, 2023 4:32 PM
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?
Yep, all there. I may try with older kernel and see if that makes a
difference, but I suspect alsa.
FWIW, I lost sound on one machine when I moved to the 6.x kernel series.
I only did a little bit of debugging off and on and never got it back.
It was an Intel HDA.
Booting a 5.x kernel had sound.
I always figured it was a kernel config issue but I did have the codec
enabled and everything else I checked.
Todd
John Covici
2023-11-10 02:30:01 UTC
Permalink
Yep, If I use another sound card everything is fine.


From: Lee <***@gmail.com>
Sent: Thursday, November 9, 2023 5:23 PM
To: gentoo-user <gentoo-***@lists.gentoo.org>
Subject: Re: [gentoo-user] alsa not working with hda intel sound card

And have you checked that nothing is muted in alsamixer?
Lee 😎

On Thu, Nov 9, 2023, 1:57 PM John Covici <***@ccs.covici.com <mailto:***@ccs.covici.com> > wrote:
Yep, the card is listed as the first one.


From: Lee <***@gmail.com <mailto:***@gmail.com> >
Sent: Thursday, November 9, 2023 4:53 PM
To: gentoo-user <gentoo-***@lists.gentoo.org <mailto:gentoo-***@lists.gentoo.org> >
Subject: Re: [gentoo-user] alsa not working with hda intel sound card

OP: Are the cards listed in 'aplay -l' ?
Lee 😎
Post by John Covici
-----Original Message-----
Sent: Wednesday, November 8, 2023 4:32 PM
Subject: Re: [gentoo-user] alsa not working with hda intel sound card
Post by John Covici
Hi all.
I have run into a problem, where I am getting no sound out of the jack
on my sound card. I think this happened since the last major reboot
after my world update.
The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?
Yep, all there. I may try with older kernel and see if that makes a difference, but I suspect alsa.
FWIW, I lost sound on one machine when I moved to the 6.x kernel series.

I only did a little bit of debugging off and on and never got it back.

It was an Intel HDA.

Booting a 5.x kernel had sound.

I always figured it was a kernel config issue but I did have the codec
enabled and everything else I checked.

Todd
Loading...