OK. So it's definitely an alsa bug. I recompiled the latest alsa (1.0.15) following https://help.ubuntu.com/community/HdaIntelSoundHowto (just substitute 15 to 14 in the version number used there), and sound works perfetly : from speakers when no headphone plugged, from headphones when plugged.
Is this kind of bug which make sound unusable on a full range of laptops enough to warrant an upgrade to latest alsa ? -- No Sound from Speakers, but Headphones work https://bugs.launchpad.net/bugs/156013 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs