i have a different workaround....if interested, read on.
i was lucky enough to buy the gigabyte Z77X-UD5H and use it with ubuntu 12.04 64bit and encounter the exact problem described in this thread. i also tried the BIOS F14 rom update and that does not fix the issue.
so i dorked around with various things (3.5 kernel, hda-jack-sense-test, hda_analyzer <- cool program btw, and hda-jack-retask) i even looked over a alc898 datasheet(yikes). but i'm not really an alsa guy so i was fumbling around more than anything.
i found an interesting workaround to this issue. my computer sits on the floor so plugging the headphone into the back is really not an option.
my solution:
i used hda-jack-retask to override my front pink mic port (0x19) to headphone. so now, when i'm playing music over my regular speakers and i want to plug in my headphones, i just plug them into the front pink mic jack. when i do that, it mutes my speakers and plays my music through the headphones. yay!!
steps i took:
1. install hda-jack-retask (google it if you dont know how)
2. run it as sudo
3. select codec "realtek alc898" (should be the default)
4. locate entry "Pink Mic, Front Side Pin ID: 0x19"
5. click override checkbox and select "Headphone" from the dropdown
6. apply
7. profit
good luck. hopefully that inspires better workarounds or a true fix for the issue. i'd be happy to work with other devs using hda_analyzer or whatever. just point me in a direction since i'm not an alsa guy.
i have a different workaround....if interested, read on.
i was lucky enough to buy the gigabyte Z77X-UD5H and use it with ubuntu 12.04 64bit and encounter the exact problem described in this thread. i also tried the BIOS F14 rom update and that does not fix the issue.
so i dorked around with various things (3.5 kernel, hda-jack- sense-test, hda_analyzer <- cool program btw, and hda-jack-retask) i even looked over a alc898 datasheet(yikes). but i'm not really an alsa guy so i was fumbling around more than anything.
i found an interesting workaround to this issue. my computer sits on the floor so plugging the headphone into the back is really not an option.
my solution:
i used hda-jack-retask to override my front pink mic port (0x19) to headphone. so now, when i'm playing music over my regular speakers and i want to plug in my headphones, i just plug them into the front pink mic jack. when i do that, it mutes my speakers and plays my music through the headphones. yay!!
steps i took:
1. install hda-jack-retask (google it if you dont know how)
2. run it as sudo
3. select codec "realtek alc898" (should be the default)
4. locate entry "Pink Mic, Front Side Pin ID: 0x19"
5. click override checkbox and select "Headphone" from the dropdown
6. apply
7. profit
good luck. hopefully that inspires better workarounds or a true fix for the issue. i'd be happy to work with other devs using hda_analyzer or whatever. just point me in a direction since i'm not an alsa guy.