Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] HDA Intel PCH sound card doesn't work with ALSA.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
avdb
n00b
n00b


Joined: 16 Aug 2020
Posts: 65
Location: Netherlands

PostPosted: Sat Aug 22, 2020 3:35 pm    Post subject: [SOLVED] HDA Intel PCH sound card doesn't work with ALSA. Reply with quote

I have a PC with the "HDA Intel PCH" sound card and after 2 days of troubleshooting my sound still doesn't want to work. At this point I think I nearly tried every possible solution from my problem without success.

    I tried checking if the cord was plugged in correctly.
    I checked if the proper USE flags for ALSA were enabled.
    I checked if the alsasound service was running.
    I checked my kernel configuration to see if I selected the correct kernel modules.
    I checked lsmod to see if the correct kernel modules were being loaded.
    I tried messing around with .asoundrc in my home folder and added 2 lines to /etc/modprobe.d/alsa.conf.


All without luck.

Here's the output of "aplay -L":

Code:
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
surround21:CARD=HDMI
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=HDMI
    4.0 Surround output to Front and Rear speakers
surround41:CARD=HDMI
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=HDMI
    5.0 Surround output to Fronull
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
surround21:CARD=HDMI
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=HDMI
    4.0 Surround output to Front and Rear speakers
surround41:CARD=HDMI
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=HDMI
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=HDMI
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=HDMI
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
nt, Center and Rear speakers
surround51:CARD=HDMI
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=HDMI
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers


Output of "aplay --list-devices":

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC8Ou87-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Output of "lsmod | greo snd":

Code:
snd_hda_codec_realtek    98304  1
snd_hda_codec_generic    61440  2 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel          32768  0
snd_intel_dspcfg       16384  1 snd_hda_intel
snd_hda_codec         102400  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           65536  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm                86016  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
snd                    73728  5 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
led_class              16384  3 input_leds,snd_hda_codec_realtek,hid_sony


Output of "cat .config | grep SND_HDA":

Code:
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_HDMI is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048


Last edited by avdb on Sun Aug 23, 2020 11:17 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Aug 22, 2020 7:46 pm    Post subject: Reply with quote

Saten-san

Do you want analogue sound from the 3.5mm jacks or HDMI sound from a display device?

What is the content of /proc/asound/devices ?

snd_hda_intel sound cards can operate at both 44.1kHz and 48.0kHz sample rates but only one at time.
All muteable HDMI, S/PDIF on controls with IEC in their names must be muted if you want sound from the 3.5mm jacks.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Sat Aug 22, 2020 7:52 pm    Post subject: Reply with quote

Hi Saten-san.

I thing, that I use the same driver as you need
Code:
# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

My kernel configurations works for years
Code:

# cat /usr/src/linux/.config|grep SND_HDA
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64

But to be sure, please send us output of
Code:
lsmod|grep audio -i
Back to top
View user's profile Send private message
avdb
n00b
n00b


Joined: 16 Aug 2020
Posts: 65
Location: Netherlands

PostPosted: Sat Aug 22, 2020 8:04 pm    Post subject: Reply with quote

The 3.5mm jack. I don't even remember having an HDMI port in my PC.

Output of /proc/asound/devices:

Code:
  2: [ 1]   : control
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 1]: digital audio playback
  6: [ 0- 2]: digital audio capture
  7: [ 0]   : control
 33:        : timer


NeddySeagoon wrote:
Saten-san

Do you want analogue sound from the 3.5mm jacks or HDMI sound from a display device?

What is the content of /proc/asound/devices ?

snd_hda_intel sound cards can operate at both 44.1kHz and 48.0kHz sample rates but only one at time.
All muteable HDMI, S/PDIF on controls with IEC in their names must be muted if you want sound from the 3.5mm jacks.
Back to top
View user's profile Send private message
avdb
n00b
n00b


Joined: 16 Aug 2020
Posts: 65
Location: Netherlands

PostPosted: Sat Aug 22, 2020 8:06 pm    Post subject: Reply with quote

You have a few more modules enabled compared to mine. Will try to just enable everything in HD-audio as well.

Output of "lsmod | grep audio -i":

Code:
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek


apiaio wrote:
Hi Saten-san.

I thing, that I use the same driver as you need
Code:
# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

My kernel configurations works for years
Code:

# cat /usr/src/linux/.config|grep SND_HDA
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64

But to be sure, please send us output of
Code:
lsmod|grep audio -i
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Sat Aug 22, 2020 8:15 pm    Post subject: Reply with quote

Sorry Saten-san.

I thought output of
Code:
lspci|grep audio -i

My foult
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Aug 22, 2020 8:31 pm    Post subject: Reply with quote

Saten-san,

You have two sound cards, one of which is not properly supported by your kernel as it only has a control entry.
Your analogue sound card is OK though.

In alsamixer, go along all the mute switches and set them to [MM]
Check that you have not missed any. Don't forget to scroll right to get to them all. Thats the right arrow key.

Unmute Front, Master and PCM [OO] only and set the sliders to about 70%, now test.
This should get stereo from the front speakers only.
Add surround and the other bits later.

Do you have an /etc/asound.conf or a ~/asound.conf file?
Its possible to remap sound cards there. Don't do that as your default sound card is correct.

Do you pass snd_hda_intel any options when it loads?

Please post the output of
Code:
lspci -nnk
so we can see what your other sound card is.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
avdb
n00b
n00b


Joined: 16 Aug 2020
Posts: 65
Location: Netherlands

PostPosted: Sun Aug 23, 2020 8:53 am    Post subject: Reply with quote

NeddySeagoon wrote:
Saten-san,

You have two sound cards, one of which is not properly supported by your kernel as it only has a control entry.
Your analogue sound card is OK though.

In alsamixer, go along all the mute switches and set them to [MM]
Check that you have not missed any. Don't forget to scroll right to get to them all. Thats the right arrow key.

Unmute Front, Master and PCM [OO] only and set the sliders to about 70%, now test.
This should get stereo from the front speakers only.
Add surround and the other bits later.

Do you have an /etc/asound.conf or a ~/asound.conf file?
Its possible to remap sound cards there. Don't do that as your default sound card is correct.

Do you pass snd_hda_intel any options when it loads?

Please post the output of
Code:
lspci -nnk
so we can see what your other sound card is.


Here you go.

Output of 'lspci -nnk":

Code:
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
   Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor DRAM Controller [1043:8534]
   Kernel driver in use: hsw_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
   Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller [8086:041e] (rev 06)
   DeviceName:  Onboard IGD
   Subsystem: ASUSTeK Computer Inc. 4th Generation Core Processor Family Integrated Graphics Controller [1043:8534]
   Kernel driver in use: i915
   Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
   Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [1043:8534]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB xHCI [1043:8534]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family MEI Controller [1043:8534]
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB EHCI [1043:8534]
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller [1043:8576]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
   Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 [8086:8c18] (rev d5)
   Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB EHCI [1043:8534]
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1f.0 ISA bridge [0601]: Intel Corporation H81 Express LPC Controller [8086:8c5c] (rev 05)
   Subsystem: ASUSTeK Computer Inc. H81 Express LPC Controller [1043:8534]
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [1043:8534]
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family SMBus Controller [1043:8534]
   Kernel driver in use: i801_smbus
   Kernel modules: i2c_i801
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
   Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8554]
   Kernel driver in use: r8169
04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
   Subsystem: ASUSTeK Computer Inc. ASM1042A USB 3.0 Host Controller [1043:85bf]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sun Aug 23, 2020 9:13 am    Post subject: Reply with quote

Saten-san,

You do indeed have two audio devices.
Code:
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
   Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [1043:8534]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller [1043:8576]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel


The first one looks to be a part of your CPU, so I guess its a part of your embedded video card.
This is intended to generate your HDMI audio.
You have CONFIG_SND_HDA_CODEC_HDMI=y its codec configured too but its not in /proc/asound/devices.

The second sound card is your analogue sound card. It can do digital sound too but has its own digital output.
Its called HDMI too but is not in the same connector as your video signal.

Sound cards are enumerated by the kernel in PCI bus order, so your video card should be card0 and your analogue card card1.

Run
Code:
alsamixer -c0
How many controls do you have?
Run
Code:
alsamixer -c1
Are there more or less controls now?
Your analogue sound card will have the most controls.
We need to know which card is which.

Run
Code:
$ zgrep -i snd_dyn /proc/config.gz
CONFIG_SND_DYNAMIC_MINORS=y

You need that kernel option on.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
avdb
n00b
n00b


Joined: 16 Aug 2020
Posts: 65
Location: Netherlands

PostPosted: Sun Aug 23, 2020 11:17 am    Post subject: Reply with quote

NeddySeagoon wrote:
Saten-san,

You do indeed have two audio devices.
Code:
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
   Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [1043:8534]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
   Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller [1043:8576]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel


The first one looks to be a part of your CPU, so I guess its a part of your embedded video card.
This is intended to generate your HDMI audio.
You have CONFIG_SND_HDA_CODEC_HDMI=y its codec configured too but its not in /proc/asound/devices.

The second sound card is your analogue sound card. It can do digital sound too but has its own digital output.
Its called HDMI too but is not in the same connector as your video signal.

Sound cards are enumerated by the kernel in PCI bus order, so your video card should be card0 and your analogue card card1.

Run
Code:
alsamixer -c0
How many controls do you have?
Run
Code:
alsamixer -c1
Are there more or less controls now?
Your analogue sound card will have the most controls.
We need to know which card is which.

Run
Code:
$ zgrep -i snd_dyn /proc/config.gz
CONFIG_SND_DYNAMIC_MINORS=y

You need that kernel option on.


Forgive me for wasting your time. I just checked alsamixer and I was indeed the idiot that just had his sound muted. At least I figured out how alsamixer works now. Is it normal for alsa to be muted by default?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sun Aug 23, 2020 11:30 am    Post subject: Reply with quote

Saten-san,

Yes. It saves damaging your speakers, headphones and/or hearing if you are careless.

If you want your mixer settings preserved across reboots, add alsasound to the default runlevel and start the alsasound service.
The handbook says to use the boot level but when my system won't come up, I have bigger problems than no sound.

You are not an idiot. You have just gained experience.
Experience is what you get just after you needed it :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ndegz
n00b
n00b


Joined: 27 Jan 2022
Posts: 1

PostPosted: Thu Jan 27, 2022 6:54 am    Post subject: Reply with quote

I have the same issue and it's been bugging me for a while. Can i get your assistance on this....i have gone through this thread and still have the same issue. For me i only have one audio device.
here is my output for lspci -nnk
[/code]
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1904] (rev 08)
Subsystem: Acer Incorporated [ALI] Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [1025:105a]
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
Subsystem: Acer Incorporated [ALI] Skylake GT2 [HD Graphics 520] [1025:105a]
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP USB 3.0 xHCI Controller [1025:105a]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP Thermal subsystem [1025:105a]
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP Serial IO I2C Controller [1025:105a]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP Serial IO I2C Controller [1025:105a]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP CSME HECI [1025:105a]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP SATA Controller [AHCI mode] [1025:105a]
Kernel driver in use: ahci
Kernel modules: ahci
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 [8086:9d18] (rev f1)
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP LPC Controller [1025:105a]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP PMC [1025:105a]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP HD Audio [1025:105a]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
Subsystem: Acer Incorporated [ALI] Sunrise Point-LP SMBus [1025:105a]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: Foxconn International, Inc. QCA6174 802.11ac Wireless Network Adapter [105b:e09d]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
Back to top
View user's profile Send private message
colin0purcell
n00b
n00b


Joined: 29 Feb 2024
Posts: 1

PostPosted: Thu Feb 29, 2024 4:55 pm    Post subject: Reply with quote

I am having this issue where I need audio to play out of the 3.5mm audio jack. I can use a USB to 3.5mm jack to play audio. I do not understand how to mute the other devices to be able to play out of the audio jack. I know nothing about linux or using terminals so a very basic guide would be much appreciated.

NeddySeagoon wrote:
Saten-san

Do you want analogue sound from the 3.5mm jacks or HDMI sound from a display device?

What is the content of /proc/asound/devices ?

snd_hda_intel sound cards can operate at both 44.1kHz and 48.0kHz sample rates but only one at time.
All muteable HDMI, S/PDIF on controls with IEC in their names must be muted if you want sound from the 3.5mm jacks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum