[pulseaudio-discuss] Native Instruments Audio 2 DJ
Tanu Kaskinen
tanuk at iki.fi
Mon Jul 16 09:30:45 UTC 2018
On Wed, 2018-07-04 at 14:57 +0100, w.stott wrote:
> Hello I'm new here and haven't really used many mailing lists. So I hope
> this is the correct place to ask...
>
> I have a Native Instruments Audio 2 DJ (which is an older version of
> their Audio 2). It's effectively exactly the same thing but a bit more
> rugged and not compatible with iOS devices.
>
> I'm pretty sure it's been discontinued and isn't available anymore.
> However, I have one, and needed it to work with Pulseaudio.
>
> The older model works great with the existing profile, but has a
> different "idProduct" (excuse possibly incorrect jargon).
>
> 041c instead of 041d
>
> Is this something you would be willing to add to PulseAudio as standard?
> From the looks of that file, Native Instruments and you guys have had
> similar fiddlings before.
>
> It would be the addition of a single line in:
> https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules
>
> > ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="041c",
>
> ENV{PULSE_PROFILE_SET}="native-instruments-traktor-audio2.conf" As a
> Github-raised programmer I'm not sure where I would begin to commit this
> into the project without a friendly fork button. Thanks! |
Sorry for the slow reply...
Here's the workflow:
git clone git://anongit.freedesktop.org/pulseaudio/pulseaudio
cd pulseaudio
# do your changes to the code
At this point building and installing and testing your changes would be
nice, but since it's just a simple one character change, that's
probably overkill, so let's skip that part.
git commit -a
Now you have a commit that you need to submit somehow. If you had
already configured git send-email, you'd do just:
git send-email -1
Since you haven't configured git send-email, you can do it based on
these instructions:
https://www.freedesktop.org/wiki/Software/PulseAudio/HowToUseGitSendEmail/
If that seems daunting, just sending an email to this mailing list with
the patch as an attachment works well enough. This command generates
the patch:
git format-patch -1
Now you're not bound to GitHub any more!
--
Tanu
https://www.patreon.com/tanuk
https://liberapay.com/tanuk
More information about the pulseaudio-discuss
mailing list