BPI-M4 Cannot user Audio Jack

Hi , i tested with ubuntu desktop and raspbian os. I can’t play any audio with the audio jack. HDMI audio is no problem, workes great, but i cannot find a switch for changing output to audio jack. Please help. Thanks