This question already has an answer here:
- Headphone jack not working? 11 answers
No sound via headphones (headset)
I've recently started using Ubuntu (Dual boot with Windows 10) The earphone works on other devices/Windows without any issues. I've even tried to not boot up with earphones plugged in. Laptop: ASUS S56C The internal speakers work fine.