Regarding @shinyblue , on my configuration (lightdm/unity), sounds seems to work in all cases (new kernel 4.4.0-28-generic).
Only caveat I want to mention is that System Settings->Sound->Output shows two options with headphone connected, and selecting "Speakers. Built-in Audio" just mutes and produces no sound.
I'm tempted to report that last caveat in a new bug, but I'm not sure if it was one of the original problems reported by @ivan.koptiev and he didn't realize about this current limitation.
Regarding @shinyblue , on my configuration (lightdm/unity), sounds seems to work in all cases (new kernel 4.4.0-28-generic).
Only caveat I want to mention is that System Settings- >Sound- >Output shows two options with headphone connected, and selecting "Speakers. Built-in Audio" just mutes and produces no sound.
I'm tempted to report that last caveat in a new bug, but I'm not sure if it was one of the original problems reported by @ivan.koptiev and he didn't realize about this current limitation.