I just ran headlong into this same issue on Ubuntu 16.04 LTS using Audacity 2.1.2 on my Dell XPS15. When inserting a jack, I get a dialogue box asking whether I have a headphone, headset, or mic inserted (apparently an external amp with speakers should be considered 'headphones', but that's a different issue). It all works fine, until I start audacity. Also, when closing audacity, it still doesn't work.
The same workaround still works: switch the mic source to something else but the headphone. Which IMHO isn't a fix, it is a cludgy, confusing workaround. Judging by the dialogue box, this is really more of an Audacity issue, and not so much alsa-driver, but I thought to mention it here as well. $ dpkg -l audacity ii audacity 2.1.2-1 amd64 fast, cross-platform audio editor $ uname -a Linux AF-XPS-15-9550 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257956 Title: Headphones stopped working after use of Audacity. They are detected, but no sound is produced. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1257956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs