Just got a new laptop, Asus U52F, awesome machine, but just as with any new hardware, there are few glitches.
The major one for me was, that the headphones did not work at all – got sound playing only from the speakers, with headphones jack plugged in or not.
The sound card is
$ lspci | grep Audio 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset \ High Definition Audio (rev 06)
and the chipset is
$ cat /proc/asound/card0/codec#0 | grep Codec Codec: Realtek ALC259
The solution is simple – just add this to the /etc/modprobe.d/alsa-base.conf file, and restart:
options snd-hda-intel model=auto position_fix=0