hw:1,0
You can now test the speakers by playing any audio file in Music Manager.
The track control buttons are already set up and ready to use. However, the volume up, volume down, and mute buttons need to be reconfigured.
Create a file called .Xmodmap by opening a terminal window and typing nano -w .Xmodmap then cut and paste the following:
keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 160 = XF86AudioMute
Then type ctrl-o to save followed by enter then ctrl-x to exit the editor
Now we need to install and configure xbindkeys by typing the following in a terminal window:
sudo aptitude install xbindkeys xbindkeys --defaults > .xbindkeysrc
Edit .xbindkeysrc by typing
nano -w .xbindkeysrc
and then all the following lines to the end of the file
"amixer -c1 sset PCM 3-" XF86AudioLowerVolume "amixer -c1 sset PCM 3+" XF86AudioRaiseVolume "amixer -c1 sset PCM toggle" XF86AudioMute
Now type ctrl-o and enter to save then ctrl-x to exit as before.
These settings will cause a single button push to vary the volume setting by 3dB, this value worked well for me after some experimentation, but you might prefer something different, like 5dB, 8dB, etc…
Now load xbindkeys by typing it in the terminal window and all the buttons should work.
To have xbindkeys load automaticaly at boot see the how to on running a script at startup.