I tried the patch in comment #5 and unfortunately it didn't work on my MBP 5,1.
The behavior is exactly the same as with backports-modules-alsa (which I removed before installing ASLA from source, as instructed). No auto muting, and it's impossible to mute the speakers and listen with headphones. Either sound comes through speakers and headphones, or not at all.
I tried the patch in comment #5 and unfortunately it didn't work on my MBP 5,1.
The behavior is exactly the same as with backports- modules- alsa (which I removed before installing ASLA from source, as instructed). No auto muting, and it's impossible to mute the speakers and listen with headphones. Either sound comes through speakers and headphones, or not at all.
Ubuntu 9.10 32bit, all patches until 2010-01-15.