You are not logged in.

#1 2020-12-26 17:12:04

d.ALT
Member
Registered: 2019-05-10
Posts: 920

[SOLVED] both speaker-test and aplay aren't working (ALSA errors)

As in title.
I cannot test / play sounds via neither speaker-test nor aplay.

$ speaker-test -c 2

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
$ aplay /usr/share/sounds/alsa/Front_Center.wav
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
aplay: main:830: audio open error: No such file or directory

Sound output system and sounds are working good in Plasma and also within all other (also tested outputting multiple simultaneous sources) applications (VLC, YouTube on FireFox / Chromium, Steam, WINE games, ecc...).

Last edited by d.ALT (2020-12-27 08:18:30)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#2 2020-12-26 17:37:32

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

Re: [SOLVED] both speaker-test and aplay aren't working (ALSA errors)

That's to be expected if you use pulse or so and didn't configure the ALSA compat plugin, install pulseaudio-alsa.

If that is insufficient post

aplay -l
sudo fuser -v /dev/snd/*

Offline

#3 2020-12-27 08:18:12

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED] both speaker-test and aplay aren't working (ALSA errors)

V1del wrote:

install pulseaudio-alsa.

It worked, thanks!


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

Board footer

Powered by FluxBB