sound is working fine with all the options but one.
I can not switch to headphone alone.

as far as my internal speakers are on, my headphone also receives the input and works fine but of not much use
.
but when I switch to headphone alone by enabling,
sound preferences-->output-->analog headphones,
both internal speakers and headphones stops responding.