On my Sony Vaio VGN-FZ140E I've got the same problem. No sound on the headphones and the speaker doesn't turn off when I plug in the phone.
The modifications suggested didn't work... I still got the sound out of the speakers and now sound on the phones.
lspci shows: 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
On my Sony Vaio VGN-FZ140E I've got the same problem. No sound on the headphones and the speaker doesn't turn off when I plug in the phone.
The modifications suggested didn't work... I still got the sound out of the speakers and now sound on the phones.
lspci shows:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)