Jake Lo, Thank you so much you have made my day. Yes, with Layout 11 my internal microphone works indeed and now I have line in also detected. This problem was bothering me for a while. I had checked out your guide and installed the karabiner app but somehow the F6 key is stuck with brightness decrement no matter what the setting. However the brightness of the display does not change. Yes, I have an Intel WIFI card and I am currently using TPlink USB wifi. I will need to get a compatible internal Wifi as you suggested.
Leook, Thanks for your reply, I had AppleALC in S/L/E folder and I removed some of the extra kexts.
Cheers