I have a monitor with built-in speakers and headphone & microphone ports. I plug a 3.5mm jack cable into the motherboard's onboard microphone port, and the other end into the monitor, then I can either plug headphones (with separate mic & audio jacks) into the mic & audio jacks on the monitor to listen through headphones, or keep the audio jack disconnected to have audio come out through the speakers.
All was working well until yesterday when I plugged a HDMI cable into my GPU to run a second output to my TV to watch movies on the main TV with audio. Now, I have no audio on the PC. In Volume Control>Output Devices>HD-Audio Generic Analog Stereo, port options are Line Out (Unplugged) and Headphones (Unplugged). If I boot to Windows (10) it works as normal. If I plug the headphone jack directly into the line out port, Volume Control recognises that, changes to Line Out (Plugged In) and it works. But I don't understand why it'll no longer give me the option to output audio and input microphone via the microphone port? While I've got the headphones plugged into the line out port (with audio working), Volume Control>Input Devices>HD-Audio Generic Analog Stereo, port is Rear Microphone (plugged in)... but there's nothing plugged into the rear microphone. For clarity: if I unplug the (working) headphones from the line out and instead plug in the jack to the monitor (into the Line Out), Volume Control still says Line Out is plugged in... but there's no sounds from the monitor speakers & if I plug the headphones into the monitor headphone port, no sound from them either.
Grateful if anyone has any ideas / thoughts about what might be causing this and what I might do to get back to how things were yesterday? Thanks in advance.
Edit: full disclosure, might not be relevant but plugging the HDMI in seemed to precipitate various problems including setting my home directory to being owned by root, which required fsck from recovery mode, then chmod of various folders. Possibly some config files were disturbed during this event? (e.g. ~./config/pulse ? I don't know much about this stuff at all)
$ pactl list short modules 0 module-device-restore 1 module-stream-restore 2 module-card-restore 3 module-augment-properties 4 module-switch-on-port-available 5 module-udev-detect 6 module-alsa-card device_id="2" name="usb-Salix_Corp._Trust_Webcam-02" card_name="alsa_card.usb-Salix_Corp._Trust_Webcam-02" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1" 7 module-alsa-card device_id="0" name="pci-0000_07_00.1" card_name="alsa_card.pci-0000_07_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1" 8 module-alsa-card device_id="1" name="pci-0000_09_00.3" card_name="alsa_card.pci-0000_09_00.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1" 9 module-native-protocol-unix 10 module-default-device-restore 11 module-rescue-streams 12 module-always-sink 13 module-intended-roles 14 module-suspend-on-idle 15 module-console-kit 16 module-systemd-login 17 module-position-event-sounds 18 module-role-cork 19 module-filter-heuristics 20 module-filter-apply 21 module-switch-on-connect 22 module-x11-publish display=:0.0 23 module-x11-cork-request display=:0.0 24 module-x11-xsmp display=:0.0 session_manager=local/Poseidon:@/tmp/.ICE-unix/1296,unix/Poseidon:/tmp/.ICE-unix/1296