Sound Not Working on Mac Headphones - Ubuntu

I plugged in my headphones to my Intel Macbook running Ubuntu Intrepid and nothing…not a sound. I knew there was sound because when I unplugged the headphones, the sound came through without problem.
To get the sound going again, I had to do the following at the command line:
- sudo apt-get install gnome-alsamixer
and then opened - Applications:Sound & Video: GNOME ALSA Mixer
- And turned off MUTE in the SURROUND section as shown in the screenshot above.