No audio motherboard jack audio F35

I recent got a deskmini x300 and installed fedora 35 onto it, now after a few days, the audio from the audio jack does not work.

I have confirmed the it is not the jack being faulty due to me dual booting into windows and the audio working correctly. And audio through the HDMI is working correctly. So I guess its something to do with the earphone.

Things that I have tried:

  1. Rebooting the computer boot with the reboot command and through shutting down and pressing the power button.
  2. using dnf swap wireplumber pipewire-media-session and rebooting
  3. using dnf swap --allowerasing pipewire-pulseaudio pulseaudio and rebooting
  4. pulling and replugging in the audio jack

Specs:

  • Ryzen 5600g
  • 16gb ram
  • deskmini x300

Update:

I managed to solve the issue by pulling out the power barrel jack on the Deskmini after shutting down and plugging it back in.

The issue seems to stem from booting into windows previously.

Is there any way of preventing this in the future?