I have Ubuntu 15.04 x64 running on a Gigabyte GA-Z87X-UD4H with Realtek ALC898. The audio works mostly out of the box and the device is detected as my card1 (card0 is IntelHDA). The problem I'm having is with the front panel.
Firstly, front panel detection does not work at all. Second of all, when I manually select the headphones plugged in the front panel, I get sound from my speakers as well.
So I decided to install the latest alsa drivers from Ubuntu's official page here. But as you can see, they don't have a version pre-built.
Thus, I decided to build Realtek drivers from source, but I get an error when compiling - ERROR LOG.
I am hoping someone can help me diagnose the compilation error, so I can try and install the driver. Thank you in advance.