It's still not completely solved. I am running Mint 13 Maya:
Problem A) as saepia said - one has to manually add "options snd-hda-intel ..." and do some "alsa force-reload" or restart to fix the "1. speaker ->2. headphone insertion ->3. speaker-not-working-anymore" issue
Problem B) but still the "Speaker" volume 0% <= Ss1 <= 100% of 1. is not remembered, but instead it goes to 100% on 3.
Problem C) and the "Speaker" volume (curiously adjusting the headphone volume as well) 0% <= Sh2 <= 100% of 2. is not remembered on "->4. headphone insertion"
=> it seems the logical<->physical relationship between the "Soundcard elements": "Speaker" and "PCM" is not correctly mapped by the driver:
State X) currently:
State Xs) no headphone inserted: "Speaker", "PCM" and "Master" add up to the resulting volume of the notebook speakers VS
=> thus 3. is actually quite bad here since it may significantly increase speaker volume VS3 in opposition to VS1 (=VS3-(1-Ss1))
State Xh) headphone inserted: "Speaker", "PCM" and "Master" add up to the resulting volume of the headphone VH
=> thus 2./4. are actually quite bad here since they may significantly lower the headphone volume VH2/VH4 (VH4=VH2-Sh2)
=>
Solution Y1) driver behaviour should be: B and C "Speaker" volume should not be touched at all on headphone insertion/removal, which would also eliminate the problem of the "remembering of the speaker/headphone volume"
maybe some existing "model=???" other than "auto" may already do Y1 ... if I find time I'll play with this
It's still not completely solved. I am running Mint 13 Maya:
Problem A) as saepia said - one has to manually add "options snd-hda-intel ..." and do some "alsa force-reload" or restart to fix the "1. speaker ->2. headphone insertion ->3. speaker- not-working- anymore" issue
Problem B) but still the "Speaker" volume 0% <= Ss1 <= 100% of 1. is not remembered, but instead it goes to 100% on 3.
Problem C) and the "Speaker" volume (curiously adjusting the headphone volume as well) 0% <= Sh2 <= 100% of 2. is not remembered on "->4. headphone insertion"
=> it seems the logical<->physical relationship between the "Soundcard elements": "Speaker" and "PCM" is not correctly mapped by the driver:
State X) currently:
State Xs) no headphone inserted: "Speaker", "PCM" and "Master" add up to the resulting volume of the notebook speakers VS
=> thus 3. is actually quite bad here since it may significantly increase speaker volume VS3 in opposition to VS1 (=VS3-(1-Ss1))
State Xh) headphone inserted: "Speaker", "PCM" and "Master" add up to the resulting volume of the headphone VH
=> thus 2./4. are actually quite bad here since they may significantly lower the headphone volume VH2/VH4 (VH4=VH2-Sh2)
=>
Solution Y1) driver behaviour should be: B and C "Speaker" volume should not be touched at all on headphone insertion/removal, which would also eliminate the problem of the "remembering of the speaker/headphone volume"
maybe some existing "model=???" other than "auto" may already do Y1 ... if I find time I'll play with this