Asus Chromebox 3 CN65 - Debian - sound card not getting detected

I have an Asus Chromebox 3 / CN65 (with i7-8550U processor - Kaby Lake) that had MrChromebox’s BIOS installed, along with Windows 11. I’ve replaced Windows 11 with Debian 12 + Gnome. I had posted an issue Asus Chromebox 3 CN65 - Debian - audio jack not working earlier back in December - and @WeirdTreeThing’s reply fixed the audio as well.

Unfortunately, I re-installed gnome yesterday by mistake - and now the sound cards are not getting detected! Please help. I’ve tried the steps mentioned in the link above but nothing seems to work.

cat /proc/asound/cards
--- no soundcards ---
lspci -v
00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
	DeviceName: Multimedia audio controller
	Flags: bus master, fast devsel, latency 64, IRQ 255
	Memory at 9122c000 (64-bit, non-prefetchable) [size=16K]
	Memory at 91210000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs

I have run debugging.sh but am not able to attach the gz file here. Please let me know how I can send it

I’ve fixed the sound card issue by doing updates. The audio is working, but the mic is still not functional, though it gets detected

lspci -v

00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
	DeviceName: Multimedia audio controller
	Flags: bus master, fast devsel, latency 64, IRQ 131
	Memory at 9122c000 (64-bit, non-prefetchable) [size=16K]
	Memory at 91210000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_soc_avs
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs

cat /proc/asound/cards

0 [avsrt5663      ]: avs_rt5663 - avs_rt5663
                     Google-Teemo-1.0
1 [hdaudioB0D2    ]: hdaudioB0D2 - hdaudioB0D2
                     Google-Teemo-1.0

arecord -l

**** List of CAPTURE Hardware Devices ****
card 0: avsrt5663 [avs_rt5663], device 1: Headset (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: avsrt5663 [avs_rt5663], device 1: Headset (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: hdaudioB0D2 [hdaudioB0D2], device 1: HDMI1 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: hdaudioB0D2 [hdaudioB0D2], device 2: HDMI2 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: hdaudioB0D2 [hdaudioB0D2], device 3: HDMI3 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

I was able to get the mic working later that day. Facing an odd issue with my setup. I shutdown and restart my CN65 desktop everyday. The audio and mic get detected on some restarts, and don’t get detected at other restarts. Any idea what the issue could be?