Audio device disabled and replaced by dummy audio after using hdajackretask

After some modification on hdajackretask, which previously worked but disabled my audio card after reboot(in both dual of windows 10 and ubuntu).

Ubuntu will reports an error of codecs not found and windows will return an error of device moved.

In my case, this problem is solved through editing /etc/modprobe.d/alsa-base.conf in that the desired audio card is marked with index=-2.

By changing the index of the desired interface to ‘1’,(in my case, the one with intel in it because I am using snd-hda-intel ) and adding options snd-hda-intel model=auto, the problem is resolved after reboot.

2017/7/11