Did you try this?
I have a an517-52, close to your model with ALC295,
and was able to use audio, both speakers and headphones, with layout-id 77, combined with codeccommander.
However, audio is gone after sleep, even I run Jack Fix after wake up,
audio wont come back.
Was your try successful...