What I've tried till now:
1) sudo apt-get install build-essential linux-headers-
uname -ralsa-base alsa-firmware-loaders alsa-oss alsa-source alsa-tools alsa-tools-gui alsa-utils alsamixergui
- Doesn't Work
2) Tried this answer. -Doesn't work.
3) Installation of realtek driver failed.
/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.c:1065:22: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
"Compiled on " __DATE__ " for kernel %s"
tried fixing it by modifying acore/info.patch from
"Compiled on " __DATE__ " for kernel %s"
to
"Compiled on __DATE__ for kernel %s"
Then i got another error which i couldn't fix.
/acore/timer.c:394:3: error: implicit declaration of function
‘do_posix_clock_monotonic_gettime’ [-Werror=implicit-function-declaration]
do_posix_clock_monotonic_gettime(&tstamp);
Kept trying this everytime with same results.
cat /proc/asound/card0/codec* | grep codec cat: '/proc/asound/card0/codec*': No such file or directory
My ALSA Information.