A short background: I use DWM instead of a desktop environment, and I had the simplest setup for the audio, only with the alsamixer installed. It was easy to understand what was being controlled and by whom, specifically with amixer controlling everything. However, 1 or 2 years ago it became mandatory to install pulseaudio in order to have audio in firefox. Although I havent noticed at the time, I suspect that it was when everything became a mess.
I used to have Headphone as a amixer control, such that the command "amixer set Headphone toggle" worked flawlessly. Now it is not there anymore:
Code: Select all
~> amixer controls
numid=4,iface=MIXER,name='Master Playback Switch'
numid=3,iface=MIXER,name='Master Playback Volume'
numid=2,iface=MIXER,name='Capture Switch'
numid=1,iface=MIXER,name='Capture Volume'
~>
Code: Select all
~> amixer set Capture toggle
Simple mixer control 'Capture',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 65536
Mono: Capture 65536 [100%] [on]
~> amixer set Capture toggle
Simple mixer control 'Capture',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 65536
Mono: Capture 65536 [100%] [off]
~>
Code: Select all
~> amixer set Master toggle
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 63056 [96%] [off]
Front Right: Playback 63056 [96%] [off]
~> amixer set Master toggle
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 63056 [96%] [on]
Front Right: Playback 63056 [96%] [on]
~>
Thank you all for your attention.

