You are not logged in.

#1 2014-12-28 09:14:54

nowcozy
Member
Registered: 2014-12-28
Posts: 2

[SOLVED] Alsamixer and amixer both output "No such file or directory"

Hello Arch forums!

Everything has been going smoothly so far with my Arch installation except for the ALSA audio issues. Both amixer and alsamixer have the following outputs:

$ alsamixer
cannot open mixer: No such file or directory

$ amixer
amixer: Mixer attach default error: No such file or directory

Some Googling/Duckduckgoing/Wiki'ing have shown some answers for other people's problems but none have solved my solution. However it did lead me to investigate some outputs.

$ lspci | grep -i audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
01:00.1 Audio device: NVIDIA Corporation GK110 HDMI Audio (rev a1)
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/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: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ cat /proc/asound/modules
 1 snd_hda_intel
 2 snd_hda_intel

Another interesting thing to note is that both of these have expected output, but not the 0th card:

$ amixer -c 1
http://pastie.org/private/nsz8qoicvoka6zexmlygw
$ alsamixer -c 1
[Normal GUI interface]

I'm quite stumped on this one. Thank you all in advanced.

Last edited by nowcozy (2014-12-28 11:03:47)

Offline

#2 2014-12-28 10:20:52

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED] Alsamixer and amixer both output "No such file or directory"

The default card is card 0. You have no card 0. Perhaps because ALSA doesn't see the first sound card shown by lspci.

What's the output of "cat /proc/asound/cards"?

You could try to do stuff from https://wiki.archlinux.org/index.php/Al … sound_card.

Offline

#3 2014-12-28 11:02:32

nowcozy
Member
Registered: 2014-12-28
Posts: 2

Re: [SOLVED] Alsamixer and amixer both output "No such file or directory"

lucke wrote:

The default card is card 0. You have no card 0. Perhaps because ALSA doesn't see the first sound card shown by lspci.

What's the output of "cat /proc/asound/cards"?

You could try to do stuff from https://wiki.archlinux.org/index.php/Al … sound_card.

So that worked, thanks for that! I'm a little confused as to what "mia" is:

options snd_mia index=0

Offline

#4 2014-12-28 11:40:36

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED] Alsamixer and amixer both output "No such file or directory"

snd_mia and snd_hda_intel are modules for sound cards. Both of the sound cards discovered in your computer are using snd_hda_intel, which would make indexing via modules problematic.

Offline

Board footer

Powered by FluxBB