This has been tested on Ubuntu 20.04
Clone this repo or download the files manually then run
chmod +x script.sh
./script.sh
- Get a working copy of
asound.state
, the alsa file responsible for audio levels - Copies it alsa's directory
- Registers it permanently
- Speakers (you can increase volume to a dangerous level)
- Headphones (same rule applies)
- Speaker to Headphones switch on Headphones plug-in
- Internal mic (as other users tested, it registers only when blowing on it, at full volume just once, binary style)
- Headphones mic (such as built-in mic in headphones)