To reconfigure PulseAudio modules, first copy the module configuration file to your home folder
(If there are any problems, you can delete the new configuration file and revert to the original system file and default settings)
cp /etc/pulse/default.pa ~/.config/pulse/default.pa
Then open the new file in a text editor (Iuse nano as an example but any text editor you have will do
nano ~/.config/pulse/default.pa
Find this section (line 35-40) and add the static sinks and sources
### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
load-module module-alsa-sink hw:PCH,0 name='Output'
load-module module-alsa-source hw:PCH,0 name='Microphone'
load-module module-alsa-source hw:PCH,1 name='Line'
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
And then comment out the sections for module-udev-detect and module-detect with a #
(Lines 46-48 and 50-51)
### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Use the static hardware detection module (for systems that lack udev support)
#load-module module-detect
#.endif
Save the file and exit the text editor
Then restart PulseAudio to load the new configuration
systemctl --user restart pulseaudio
PulseAudio will not show any complete audio cards or profiles, but should show the 2 input sources and 1 output sink