I recently installed Slackware 10.2 on my laptop. I installed the newest version of ALSA, specifying intel8x0 as my card. It works fine, but I'm wanting to mute the speakers when it detects that headphones are plugged into the headphone jack on the side. I found a few things on enabling 5.1 sound (and I'm guessing what I want to do is fairly similar), which involved editing ~/.asoundrc, but I didn't find anything showing how to do that specifically. The only outputs in alsamixer are Master (which effects both the speakers and the headphones) and PCM, which obviously doesn't do anything.
Anyone have experience with this?