Ubuntu: How can I disable a built-in microphone?



Question:

How can I stop a built-in microphone from working?

sudo modprobe -r snd_hda_intel  

does not work.


Solution:1

https://linoxide.com/linux-how-to/disable-webcam-microphone-linux/ has the answer but following its instructions speakers are turning off too. That is the security lack.


Solution:2

If using Pulseaudio, go to Pulseaudio Volume Control configuration tab:

pavucontrol -t 5  

Find audio device and change setting from 'Duplex' (recording and playback) to 'Playback'

Alternatively, mute microphone input in ALSA:

alsamixer  

use F6 to select correct sound device
use F4 to show capture devices
left-right arrow keys to select sub-device
use down arrow to reduce all recording levels to 0
'M' on keyboard toggles mute - {MM] when muted, [OO] unmuted


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »