<br><br><div class="gmail_quote">On Fri, Oct 15, 2010 at 7:06 PM, <span dir="ltr"><<a href="mailto:zonque@gmail.com">zonque@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
From: Daniel Mack <<a href="mailto:daniel@caiaq.de">daniel@caiaq.de</a>><br>
<br>
---<br>
src/Makefile.am | 3 +-<br>
.../alsa/mixer/profile-sets/90-pulseaudio.rules | 3 +<br>
.../native-instruments-korecontroller.conf | 85 ++++++++++++++++++++<br>
3 files changed, 90 insertions(+), 1 deletions(-)<br>
create mode 100644 src/modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf<br></blockquote><div><br>Just wanted to make sure this isn't lost. Can anyone apply that patch?<br><br>Thanks,<br>Daniel<br>
<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
diff --git a/src/Makefile.am b/src/Makefile.am<br>
index e55c31c..87f1178 100644<br>
--- a/src/Makefile.am<br>
+++ b/src/Makefile.am<br>
@@ -1100,7 +1100,8 @@ dist_alsaprofilesets_DATA = \<br>
modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \<br>
modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \<br>
modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \<br>
- modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf<br>
+ modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \<br>
+ modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf<br>
<br>
if HAVE_UDEV<br>
dist_udevrules_DATA = \<br>
diff --git a/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules b/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules<br>
index 7a425b5..2c3821b 100644<br>
--- a/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules<br>
+++ b/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules<br>
@@ -22,7 +22,10 @@ KERNEL!="card*", GOTO="pulseaudio_end"<br>
<br>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1978", ENV{PULSE_PROFILE_SET}="native-instruments-audio8dj.conf"<br>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="0839", ENV{PULSE_PROFILE_SET}="native-instruments-audio4dj.conf"<br>
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1010", ENV{PULSE_PROFILE_SET}="native-instruments-audio6dj.conf"<br>
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1021", ENV{PULSE_PROFILE_SET}="native-instruments-audio10dj.conf"<br>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="baff", ENV{PULSE_PROFILE_SET}="native-instruments-traktorkontrol-s4.conf"<br>
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="4711", ENV{PULSE_PROFILE_SET}="native-instruments-korecontroller.conf"<br>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0763", ATTRS{idProduct}=="2012", ENV{PULSE_PROFILE_SET}="maudio-fasttrack-pro.conf"<br>
<br>
LABEL="pulseaudio_end"<br>
diff --git a/src/modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf b/src/modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf<br>
new file mode 100644<br>
index 0000000..904357d<br>
--- /dev/null<br>
+++ b/src/modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf<br>
@@ -0,0 +1,85 @@<br>
+# This file is part of PulseAudio.<br>
+#<br>
+# PulseAudio is free software; you can redistribute it and/or modify<br>
+# it under the terms of the GNU Lesser General Public License as<br>
+# published by the Free Software Foundation; either version 2.1 of the<br>
+# License, or (at your option) any later version.<br>
+#<br>
+# PulseAudio is distributed in the hope that it will be useful, but<br>
+# WITHOUT ANY WARRANTY; without even the implied warranty of<br>
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU<br>
+# General Public License for more details.<br>
+#<br>
+# You should have received a copy of the GNU Lesser General Public License<br>
+# along with PulseAudio; if not, write to the Free Software Foundation,<br>
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.<br>
+<br>
+; Native Instruments Kore Controller<br>
+;<br>
+; This card has one stereo pairs of input and two stereo pairs of<br>
+; output, named "Master" and "Headphone". The master channel has<br>
+; an additional Coax S/PDIF connector which is always on.<br>
+;<br>
+; We knowingly only define a subset of the theoretically possible<br>
+; mapping combinations as profiles here.<br>
+;<br>
+; See default.conf for an explanation on the directives used here.<br>
+<br>
+[General]<br>
+auto-profiles = no<br>
+<br>
+[Mapping analog-stereo-master-out]<br>
+description = Analog Stereo Master Channel<br>
+device-strings = hw:%f,0,0<br>
+channel-map = left,right<br>
+<br>
+[Mapping analog-stereo-headphone-out]<br>
+description = Analog Stereo Headphone Channel<br>
+device-strings = hw:%f,0,1<br>
+channel-map = left,right<br>
+direction = output<br>
+<br>
+[Mapping analog-stereo-input]<br>
+description = Analog Stereo<br>
+device-strings = hw:%f,0,0<br>
+channel-map = left,right<br>
+direction = input<br>
+<br>
+[Profile output:analog-stereo-all+input:analog-stereo-all]<br>
+description = Analog Stereo Duplex Master Output, Headphones Output<br>
+output-mappings = analog-stereo-master-out analog-stereo-headphone-out<br>
+input-mappings = analog-stereo-input<br>
+priority = 100<br>
+skip-probe = yes<br>
+<br>
+[Profile output:analog-stereo-master+input:analog-stereo-input]<br>
+description = Analog Stereo Duplex Master Output<br>
+output-mappings = analog-stereo-master-out<br>
+input-mappings = analog-stereo-input<br>
+priority = 40<br>
+skip-probe = yes<br>
+<br>
+[Profile output:analog-stereo-headphone-out+input:analog-stereo-input]<br>
+description = Analog Stereo Headphones Output<br>
+output-mappings = analog-stereo-headphone-out<br>
+input-mappings = analog-stereo-input<br>
+priority = 30<br>
+skip-probe = yes<br>
+<br>
+[Profile output:analog-stereo-master]<br>
+description = Analog Stereo Master Output<br>
+output-mappings = analog-stereo-master-out<br>
+priority = 3<br>
+skip-probe = yes<br>
+<br>
+[Profile output:analog-stereo-headphone]<br>
+description = Analog Stereo Headphones Output<br>
+output-mappings = analog-stereo-headphone-out<br>
+priority = 2<br>
+skip-probe = yes<br>
+<br>
+[Profile input:analog-stereo-input]<br>
+description = Analog Stereo Input<br>
+input-mappings = analog-stereo-input<br>
+priority = 1<br>
+skip-probe = yes<br>
<font color="#888888">--<br>
1.7.1<br>
<br>
</font></blockquote></div><br>