Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am nearly as much of a noob about Linux/Ubuntu as one can be... currently dual booting side-by-side with Win 7 Pro 64 bit. That being said... system has a 5.1 surround sound card. The main regular port (green) used if you have one analog plug doesnt work properly with Windows....Realtek HD Audio drivers provide a simple work around... just plug said analog plug into another one of the 5.1 ports (say, blue). Then assign the port as "Front Speakers".

That works fine for Windows 7. How do I do the same reassignment/redirect for Ubuntu? I have no sound at this point and the computer is near inaccesible (wires go through the floor to the basement where the computer is) so switching cables back and forth isnt much of an option...

Thanks in advance for any viable help.

share|improve this question

If I understand your question correctly, you would like to remap the channels on your soundcard?

You can write your own pulseaudio profile-set for your sound card. See my post about this on

This was for my sound card

Save the code as /usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-komplete-audio6.conf

auto-profiles = no

[Mapping main-stereo-out]
description = Main stereo output
device-strings = hw:%f,0
channel-map = front-left,front-right,aux0,aux1,aux2,aux3
direction = output

[Profile output:stereo]
description = Main Stereo Output
output-mappings = main-stereo-out
input-mappings =
priority = 80
skip-probe = false

and create a new file for udev rules, for example


and paste the following (but replace the xxxx and yyyy with correct hardware ids, you can list them with lsusb):

SUBSYSTEMS=="usb", ATTRS{idVendor}=="xxxx", ATTRS{idProduct}=="yyyy", ENV{PULSE_PROFILE_SET}="native-instruments-komplete-audio6.conf"

From what I see the idVendor for Native Instruments is 17cc. You can see the existing configurations for other NI cards in /lib/udev/rules/90-pulseaudio.rules file.

After you have created these two files, disconnect your card, run

sudo service udev restart
share|improve this answer
Please include all of the major steps from the link. Should the linked site go down, or the post be deleted, your post would be worthless. – hexafraction Aug 13 '12 at 19:23
I did it, thanks for the comment! – jeremija Aug 13 '12 at 19:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.