I can confirm that your patch fixes the pulseaudio jack detection on my Elitebook 8540w running gentoo.
Thanks. ** Attachment added: "alsa-info elitebook" https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1060729/+attachment/3371064/+files/alsa-info.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060729 Title: [Lenovo X200s] Headphone Jacks state error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1060729/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs