View previous topic :: View next topic |
Author |
Message |
hunky l33t
Joined: 19 Nov 2003 Posts: 910 Location: Alaska
|
Posted: Sat Sep 26, 2020 8:19 am Post subject: HDA Intel PCH sound quit working [SOLVED] |
|
|
A couple weeks ago after an update my sound from HDA Intel PCH, ALC1150 Analog quit working. I have been reading but can't wrap my head around what I should do. I have USE -pulseaudio in my make.conf but looks like it has been pulled in. Not sure when. My configuration is the chipset sound cards (analog, digital, HDMI), plus a Scarlett USB interface that works fine. Don't use the HDMI or Digital, I don't believe. I do have Jack installed for Ardour.
What I noticed in poking around that Audacity (has always worked when I had problems with Firefox web browser audio) suddenly no longer has the ability to pick the Analog card - it isn't in the drop down list of audio devices - Just the HDMI, Digital, Scarlett, and Pulse. I have google-chrome installed as a browser too and awhile ago it abandoned the Intel analog driver and started using the Scarlett interface, on its own.
I have the HDA Intel driver built into the kernel.. not a module.
Code: | # lsmod
Module Size Used by
vboxnetadp 28672 0
vboxnetflt 32768 0
x86_pkg_temp_thermal 16384 0
vboxdrv 421888 2 vboxnetadp,vboxnetflt
|
Code: | # cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xefd34000 irq 45
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xefd30000 irq 46
2 [USB ]: USB-Audio - Scarlett 2i2 USB
Focusrite Scarlett 2i2 USB at usb-0000:00:14.0-9.3, high speed
|
Code: | # cat /proc/asound/devices
1: : sequencer
2: [ 0- 3]: digital audio playback
3: [ 0- 0]: hardware dependent
4: [ 0] : control
5: [ 1- 0]: digital audio playback
6: [ 1- 0]: digital audio capture
7: [ 1- 1]: digital audio playback
8: [ 1- 2]: digital audio capture
9: [ 1- 0]: hardware dependent
10: [ 1] : control
11: [ 2- 0]: digital audio playback
12: [ 2- 0]: digital audio capture
13: [ 2] : control
33: : timer
|
Code: | # aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=HDMI,DEV=0
HDA Intel HDMI, Generic Digital
HDMI Audio Output
usbstream:CARD=HDMI
HDA Intel HDMI
USB Stream Output
default:CARD=PCH
HDA Intel PCH, ALC1150 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC1150 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC1150 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
default:CARD=USB
Scarlett 2i2 USB, USB Audio
Default Audio Device
sysdefault:CARD=USB
Scarlett 2i2 USB, USB Audio
Default Audio Device
front:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
Front output / input
surround21:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=USB,DEV=0
Scarlett 2i2 USB, USB Audio
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=USB
Scarlett 2i2 USB
USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: USB [Scarlett 2i2 USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
This has worked for years with this computer:
Code: | # less /usr/src/linux/.config | grep CONFIG_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=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
# 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 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 is not set
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048
|
I have no /etc/asound.conf but I did a .asoundrc based on something I was reading on getting jack working and using the card 1 as default, though I have tried other files as evidenced by the commented out lines in this file:
.asoundrc:
Code: | pcm.!default {
type plug
slave {
pcm "hw:1,0"
}
}
ctl.!default {
type hw
card 1
}
#defaults.pcm.!card PCH
#defaults.pcm.!device 1
#defaults.pcm.!ctl PCH
#pcm.!default {
#type hw
#card 1
#device 0
#}
|
Code: | # speaker-test -t wav -c 2
speaker-test 1.2.3
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2/work/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:1090:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
|
So I'm thinking I need a good .asoundrc file or perhaps an /etc/asound.conf?
thanks - JD
Last edited by hunky on Sun Sep 27, 2020 5:46 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Sat Sep 26, 2020 8:45 am Post subject: |
|
|
hunky,
Your /proc/asound/devices says that your analogue sound is now card1
In you should see all the controls.
Card0 looks like HDMI, as its output only and card2 some form of headset, as its stereo in/out.
Code: | pulse
PulseAudio Sound Server | so pulseaudio is still running.
As you have Code: | default:CARD=USB
Scarlett 2i2 USB, USB Audio
Default Audio Device | your present default card is card2, so you must have something somewhere doing that as alsa uses card0 by default.
Find that 'something somewhere' and change it to default to card1. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
hunky l33t
Joined: 19 Nov 2003 Posts: 910 Location: Alaska
|
Posted: Sat Sep 26, 2020 9:26 am Post subject: |
|
|
Thanks much NeddySeagoon for helping out.
It does confuse me that I have
Code: | default:CARD=PCH
HDA Intel PCH, ALC1150 Analog
Default Audio Device
|
and
Code: | default:CARD=USB
Scarlett 2i2 USB, USB Audio
Default Audio Device |
Quote: | Find that 'something somewhere' and change it to default to card1. |
No idea how or where to look. I would think it would be a asound.conf file I don't have or the .asoundrc file, which I tried to make the Card 1, Device 0 the default. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Sat Sep 26, 2020 1:36 pm Post subject: |
|
|
hunky,
As root, create /etc/asound.conf containing
Code: | defaults.pcm.card 1
defaults.ctl.card 1 |
Then test. This file is read by alsa every time you play something.
/etc/asound.conf is a system wide setting it will be overridden by ~/.asound.conf if it exits. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
hunky l33t
Joined: 19 Nov 2003 Posts: 910 Location: Alaska
|
Posted: Sat Sep 26, 2020 7:14 pm Post subject: |
|
|
Quote: | As root, create /etc/asound.conf containing
Code:
defaults.pcm.card 1
defaults.ctl.card 1
|
So simple.. I should have tried that before but got lost in the alsa config wiki pages...
It seems to let speaker test work, and even youtubes on Firefox v.80 works again. Chrome still uses the Scarlett which is fine - I could probably fix that somehow if I googled it, but don't mind - not an issue.
Still can't get audacity to recognize the default card 1 for playback- doesn't include it in the devices list. Interesting that it does have the card in the Recording drop down list. When I'm doing a recording session, it is nice to have the recording device the Scarlett and the ability to monitor (playback) through the Card 1. But not a show stopper and perhaps if I dig deeper I can figure it out. First googling didn't produce.
You are a generous person - thanks so much for helping all us users. /jd |
|
Back to top |
|
|
|
|
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
|
|