I want to disable the internal Microphone on my laptop and the internal Webcam completely that they're no longer selectable, and no longer available?
I will only use my external Webcam, and my external (USB) headset.
The internal audio should still be available for playback.
In both cases kernel drivers may be loaded for both, the internal sound card, and the webcam to be recognized by Ubuntu. We can find out which drivers are loaded by the following command in a terminal:
From this list we can see which of these kernel modules may be responsible for our (specific) hardware (e.g. an Intel sound card may need the
Blacklisting these kernel module will stop this device from being recognized by your system. To do so we edit the file
/etc/modprobe.d/blacklist.confas root to add the following line:
See also: How can I control which sound card Ubuntu uses for playback?
In case we still need the internal audio card for playback audio we can just mute the input microphone source, e.g by running
alsamixerin a terminal.