You are not logged in.

#1 2014-03-13 14:50:29

TheKC
Member
Registered: 2014-03-13
Posts: 8

[Solved] No audio with Intel HDA

I can't seem to get audio on my fresh (first) install of Arch. I had sound when I had ubuntu/trisquel installed, but when I switched to archlinux I can't seem to figure how to get it to work.

I have already unmuted my speakers/etc. in alsamixer. I can hear my system beep/makerandomnoises when I, for example, try to hit tab/autofill and nothing is there to fill in terminal; or when I try to backspace and there is nothing left to delete and it results in a beep (not sure if that matters).

The sound cards that alsamedia shows are; Intel HDA PCH, and Intel HDA HDMI.

lspci -nn:

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM86 Express LPC Controller [8086:8c49] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
03:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5289] (rev 01)
04:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0a)

Last edited by TheKC (2014-03-15 12:02:19)

Offline

#2 2014-03-13 15:04:48

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] No audio with Intel HDA

What have you tried? What is in asound.conf?  Output for aplay -l  and aplay -L ? How are you unmuting? Through alsamixer?

https://wiki.archlinux.org/index.php/Ad … chitecture
https://wiki.archlinux.org/index.php/PulseAudio

PS.  Welcome to arch.

Offline

#3 2014-03-13 15:12:47

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

Yes, I was using alsamixer to unmute.

Besides unmute, I haven't done much. I don't know where asound.conf is located.


aplay -L:

ull
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
sysdefault:CARD=PCH
    HDA Intel PCH, VT1802 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, VT1802 Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, VT1802 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, VT1802 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, VT1802 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, VT1802 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, VT1802 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#4 2014-03-13 15:15:09

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [Solved] No audio with Intel HDA

Typical problem, HDMI is the default, but you want Analog to be. This works for sure: https://bbs.archlinux.org/viewtopic.php … 3#p1344743

Offline

#5 2014-03-13 15:28:05

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

So I did what the link said, and I still have nothing sad

Last edited by TheKC (2014-03-13 15:31:16)

Offline

#6 2014-03-13 15:41:40

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] No audio with Intel HDA

TheKC wrote:

Besides unmute, I haven't done much. I don't know where asound.conf is located.

Then can you read the wiki I linked?  It even tells you how to setup alsa which it sounds like you didn't.  First, set it up.  Then ask a specific question on what isn't working.

If you follow it, it asks you to test sound, then set default order as gusar mentioned albeit with more info, and setup your asound.conf or .asound.rc which is important!  We encourage each other to solve the problems ourselves or at least make an effort prior to asking for help.  In this case, you haven't even read the wiki which should of been the first step.

Last edited by frank604 (2014-03-13 15:44:34)

Offline

#7 2014-03-13 15:48:54

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

You're right, I am working on it. Thanks!

Offline

#8 2014-03-13 16:54:19

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

I did all the wiki said, and no dice sad

cat /etc/asound.conf

pcm. !default {
	type hw
	card PCH
}
ctl. !default {
	type hw
	card PCH
}

Offline

#9 2014-03-13 19:27:16

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] No audio with Intel HDA

Not sure if it matters but try without the space between . and !
Also, the wiki states that if there are more than one device with the same name, do not identify with name tags "PCH".  SInce you have two named "PCH"

 pcm.!default {
type hw
card 1
device 0
}

etc etc.

Offline

#10 2014-03-14 00:36:55

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

I tried it, with and without the spaces, reboted, nothing. Hmmm.

Offline

#11 2014-03-14 00:57:34

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] No audio with Intel HDA

TheKC wrote:

I tried it, with and without the spaces, reboted, nothing. Hmmm.

I am going to assume you changed the config to what I wrote and used that to modify the ctl.!default as well.

Can you remove ~/.asoundrc
Then add into /etc/asound.conf

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

This selects: "card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]" for your sound.

Reboot and check to make sure it is unmuted https://wiki.archlinux.org/index.php/Ad … e_channels
And then run

speaker-test -c 2

Offline

#12 2014-03-14 01:36:35

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

This is what I get with alsamixer now sad

alsamixer
cannot open mixer: Invalid argument

Also, I really appreciate you taking the time to help me.

Last edited by TheKC (2014-03-14 01:37:02)

Offline

#13 2014-03-15 12:01:21

TheKC
Member
Registered: 2014-03-13
Posts: 8

Re: [Solved] No audio with Intel HDA

I solved it!

Like I said, I had sound, but only in the shell. My sound wasn't working when I started X. So I reinstalled arch, and still the same issue. But, after installing pulseaudio, and rebooting, sound now works in X big_smile.

Offline

Board footer

Powered by FluxBB