Sound doesn't work

RockyLinux8.4 can not detect the sound device.
Also it didn’t seem to work with the ‘teams’.

Also it could be that the kernel 4.x version didn’t umount the HDD during reboot or had some other file handling issues and there was lot of bad inodes to fix and some files were corrupted on the HDD.
Now I’m using kernel 5.15.

Replacing distro kernel with something else does not tell whether the kernel, hardware, or configuration had issue.

You do realize that nobody can seek for solutions as long as we know nothing about your sound device?

If I check this in the dualboot system LinuxMint, it gives:
jari@cosmo:~$ inxi -A
Audio: Device-1: Intel Cannon Point-LP High Definition Audio driver: sof-audio-pci
Sound Server: ALSA v: k5.11.0-38-generic
I couldn’t finish the booting to the RockyLinux last time…
After I got booting to rocky linux with the 4.x kernel, I find that:
[jari@cosmo ~]$ inxi -A
Audio: Device-1: Intel Cannon Point-LP High Definition Audio driver: sof-audio-pci
Sound Server-1: ALSA v: k4.18.0-305.25.1.el8_4.x86_64 running: yes
Sound Server-2: PulseAudio v: 14.0-rebootstrapped running: yes

but the sound device didn’t appear in the settings and does not work with teams, etc.

Here is some more information (from shutdow logs enabled from kernel):