You are not logged in.

#1 2016-07-27 22:23:56

svenper
Member
Registered: 2015-04-15
Posts: 28

[SOLVED] PCM channel missing from otherwise populated alsamixer

This is how my alsamixer is set up, but does not work. As the wiki said, I tried to unmute the relevant channels, but the curious part is that the PCM channel is missing.

I also tried:

$ amixer sset Master unmute     
amixer: Unable to find simple control 'Master',0
$ amixer sset PCM unmute 
amixer: Unable to find simple control 'PCM',0
$ alsactl init
alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100200" "0x17aa" "0x5105"
Hardware is initialized using a generic method

or rebooting does not help either.

Do I need to install anything else that I've missed?

$ pacman -Qs alsa | grep local/
local/alsa-firmware 1.0.29-1
local/alsa-lib 1.1.1-1
local/alsa-plugins 1.1.1-1
local/alsa-tools 1.1.0-2
local/alsa-utils 1.1.1-1
local/zita-alsa-pcmi 0.2.0-3
$ cat /etc/group | grep audio
audio:x:92:svenper
$ speaker-test -c 2

speaker-test 1.1.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory

Last edited by svenper (2016-08-08 11:08:54)

Offline

#2 2016-07-28 07:08:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [SOLVED] PCM channel missing from otherwise populated alsamixer

PCM doesn't HAVE to be present, depends on your card, I'd wager that your index settings are wrong, and your HDMI card is registered as card 0, post

aplay -l

and read https://wiki.archlinux.org/index.php/Ad … sound_card (might be a bit tricky to implement if both devices are using the same driver, something along the lines of

options snd_hda_intel id=PCM,HDMI index=0,1

should do the trick (aplay -l will give you the id names)

Offline

#3 2016-08-02 11:31:27

svenper
Member
Registered: 2015-04-15
Posts: 28

Re: [SOLVED] PCM channel missing from otherwise populated alsamixer

I tried what you said, but couldn't get it to work. Installing pulseaudio-alsa added the PCM channel and got working audio. I still get the error message about the invalid /sys path, though.

alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100200" "0x17aa" "0x5105"
Hardware is initialized using a generic method

Offline

#4 2016-08-02 11:43:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [SOLVED] PCM channel missing from otherwise populated alsamixer

Now you simply moved the problem to a different layer, and pulse implicitly takes care of this and creates apropriate controls. That said now you should use pulse tools (pactl and/or pacmd or other pulse mixers) to control your volume, because you are going to get conflicts between pulse setting the volume meter and alsa based tools setting the volume on the single pulse pcm they know about, which isn't indicative of what pulse does with your volumes. I'd assume you can ignore the alsactl error.

If the problem is solved for you, don't forget to prepend [SOLVED] or similar by editin the title in your initialn post

Last edited by V1del (2016-08-02 11:44:35)

Offline

#5 2016-08-08 11:08:39

svenper
Member
Registered: 2015-04-15
Posts: 28

Re: [SOLVED] PCM channel missing from otherwise populated alsamixer

Now after a reinstall and proper configuration, I don’t need pulseaudio anymore. I did a slightly modified version of your solution:

/etc/modprobe.d/alsa-base.conf :

options snd-hda-intel id=Generic_1 index=1

I now consider this [SOLVED]. Thanks!

For posterity, I also looked at a similar thread.

Offline

Board footer

Powered by FluxBB