You are not logged in.

#1 2021-03-27 12:13:06

spchee
Member
Registered: 2019-09-05
Posts: 3

Trying to change audio output volume using amixer from terminal.

I recently uninstalled pulse audio and have been trying to set up JACK instead. I'm currently running my audio through a Focusrite Scarlett Solo v2. My firefox and mpd audio seems to work fine when I'm running JACK. (Haven't tried any other applications)

I was trying to change my output volume using amixer in the terminal, but I can't get any of the card numbers or anything to change the volume with as:
$ amixer scontrols 
doesn't return anything.

Nothing returns for running
$ amixer
either.

$ amixer controls returns

numid=3,iface=CARD,name='Internal Validity'
numid=2,iface=PCM,name='Capture Channel Map'
numid=1,iface=PCM,name='Playback Channel Map'

So if I do try and run amixer -c 0 set Master 0% for example, it returns: amixer: Unable to find simple control 'Master',0.

I'm also not sure if this is related, but speaker-test also doesn't seem to work as it gets the error

ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Device or resource busy

However when I stop JACK, it starts working.

$ aplay /usr/share/sounds/alsa/Rear_Center.wav
returns the following:

aplay: main:830: audio open error: Device or resource busy

However when I disable JACK, it starts working all of a sudden.

The output of $ cat /proc/asound/cards is:

0 [USB            ]: USB-Audio - Scarlett Solo USB
                      Focusrite Scarlett Solo USB at usb-0000:00:14.0-8, high speed
1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7220000 irq 129
2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf7080000 irq 17
3 [VirMIDI        ]: VirMIDI - VirMIDI
                      Virtual MIDI Card 1

Last edited by spchee (2021-03-27 12:14:04)

Offline

#2 2021-03-27 13:47:56

spchee
Member
Registered: 2019-09-05
Posts: 3

Re: Trying to change audio output volume using amixer from terminal.

Ok so I've just tried reinstalling PulseAudio and am just going to bother with PulseAudio now.

Offline

Board footer

Powered by FluxBB