[ubuntu] No detection of my jack and hdmi sound

view story

http://ubuntuforums.org – I have an alienware m14x specs http://www.alsa-project.org/db/?f=69...6844ddb5dcf84b the problem is that i inly get sound of one audio jack, and i have 2, also when i plug the hdmi it dosent work the audio. For my graphics card im using project bumblebee. Also when i connect somtehing to the jack it dosent auto mutes the speakers and plays the speakers with the earphones when connected to the only working jack, so what i do is open alsamixer and mute it manually. The second problem is that it dosent read my microphone jack. anything would help !!!! thanks (Hardware)