You are not logged in.

#1 2015-07-18 14:21:57

jorden
Member
From: Finland
Registered: 2015-07-18
Posts: 5

[Solved] No sound Alsa Mixer

Hello,

I'm new to Arch and loving it so far apart from my sound has suddenly decided to stop working. No idea what I have done but any help would be much appreciated.
Most recent thing I have done was install spotify-beta from AUR4 via Yaourt.

To help speed things up in regards of the sound see http://www.alsa-project.org/db/?f=04d27 … c3a7272373

The output of

lspci -nn

is:

pcinnout wrote:

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:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:0c03] (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 HM87 Express LPC Controller [8086:8c4b] (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)
00:1f.6 Signal processing controller [1180]: Intel Corporation 8 Series Chipset Family Thermal Management Controller [8086:8c24] (rev 05)
02:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 750M] [10de:0fe4] (rev a1)
06:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 6b)
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader [10ec:5249] (rev 01)

Output of

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: ALC3661 Analog [ALC3661 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Anything else that will help me identify the issue would be much appreciated.

Last edited by jorden (2015-07-18 23:05:56)

Offline

#2 2015-07-18 15:09:10

tsaber
Member
Registered: 2015-04-10
Posts: 27

Re: [Solved] No sound Alsa Mixer

have you tried playing around with amixer?

type amixer in console.

Offline

#3 2015-07-18 15:22:12

jorden
Member
From: Finland
Registered: 2015-07-18
Posts: 5

Re: [Solved] No sound Alsa Mixer

amixer gives me the following output:

Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

alsamixer shows everything is not muted and should be outputting sound but nothing is.

Offline

#4 2015-07-18 15:23:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] No sound Alsa Mixer

Looks like HDMI has decided to become the default on your system. The ALSA wiki page has information about this.

Offline

#5 2015-07-18 15:32:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] No sound Alsa Mixer

When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#6 2015-07-18 15:47:30

jorden
Member
From: Finland
Registered: 2015-07-18
Posts: 5

Re: [Solved] No sound Alsa Mixer

Solved the issue:

  1. Run: cat /proc/asound/modules Gives me the following output:

     0 snd_hda_intel
     1 snd_hda_intel
  2. Identify the card and device number with

    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: ALC3661 Analog [ALC3661 Analog]
      Subdevices: 0/1
      Subdevice #0: subdevice #0

    so in my case card was 1 and device was 0

  3. Create asound.conf in /etc:

    sudo touch /etc/asound.conf
  4. Enter the following in asound.conf:

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

    Where card and device are yours identified from step 1.

  5. Save file and reboot for changes to take affect

--- Update ---

via /usr/share/alsa/alsa.cong

  1. Run: cat /proc/asound/modules Gives me the following output:

     0 snd_hda_intel
     1 snd_hda_intel
  2. Identify the card and device number with

    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: ALC3661 Analog [ALC3661 Analog]
      Subdevices: 0/1
      Subdevice #0: subdevice #0

    so in my case card was 1 and device was 0

  3. Open asound.conf in /usr/share/alsa:

    sudo vim /usr/share/alsa/asound.conf
  4. Find the lines defaults.ctl.card and defaults.pcm.device. Change values to the ones found save and close

  5. Reboot

Last edited by jorden (2015-07-21 16:36:39)

Offline

Board footer

Powered by FluxBB