Hi,
Can you say anything about the headphone problem? Plugging -in/-out headphones doesn't have any effect.
It's not easy to say anything definite without having similar laptop at hands, but at the first glance it looks like the model you've selected for your soundcard (model=basic) attaches headphones to the wrong pin complex (Node 0x15 in the output [1]). Node 0x21 seems to be correct one for me, but it is just a guess which you can check by downloading HDA Analyzer GUI tool (python and pygtk are required) from ALSA website [2] and unmuting Node 0x21 output amplifiers manually, without using alsamixer or any other ALSA tool. This wouldn't help to fix your problem once and forever, but may help to see if the guess is correct. If it is, try another model for your soundcard (my impression is that autodetection, i.e. removing model= part altogether usually gives good results - you can even try to do it in a first place, without resorting to HDA Analyzer, and see if that helps). If it's not, try to loop through other pin widgets (0x1a is another suspect) in HDA Analyzer and unmute them while trying to play something in your headphones.
[1] http://www.alsa-project.org/db/?f=3571a643ab90e53100fa319edaa32b8b0dabfd00 [2] http://www.alsa-project.org/main/index.php/HDA_Analyzer
Regards, Valentine