Hi douteiful, great! Would you mind to help to bring the change to the Mixxx repository?
Do you have a contact to the hidapi developers? They may help to pick a suitable version for a Mixxx release or a cherry-pick. But first of all, we need a Launchpad bug to track this issue. Please report your issue and findings here https://bugs.launchpad.net/mixxx/+filebug Or do we have already one? Thank you very much, Daniel 2015-09-25 2:14 GMT+02:00 douteiful <electrik.pers...@gmail.com>: > Hi again, > > I made it work! > > It seems there is something wrong with the internal version of the hidapi > library used by Mixxx (lib/hidapi-0.8.0-pre). The hid_enumerate() function > wasn't returning the Traktor S2 MK2 at all. > > What I did was to clone the hidapi-0.8.0-rc tag from hidapi's official git > and built Mixxx with it instead (by putting it in the lib/ directory and > renaming the source files). I re-compiled and now Mixxx detects my Traktor > S2 MK2! I can enable it and it even outputs the input of the controller > with --controllerDebug, so it seems to be working properly so far. > > I haven't looked closely into the library source, but the problem is > somewhere in the internal version that you're currently using in the repo. > We should either update the library and/or allow the user to use the system > version (which is TODO as I've seen). > > Here's the log with it working (I added the Seen line while I was > experimenting, please ignore it). > > I hope it helps. > > Be wrote: > >> Can you attach the whole mixxx.log after opening controller preferences? >> >> >> On Sep 21, 2015 1:00 AM, douteiful <electrik.pers...@gmail.com> wrote: >> >>> >>> Hi all, >>> >>> I have a NI Traktor Kontrol S2 MK2 controller, which according to the >>> wiki is HID compliant (unlike the MK1), and I'd like to contribute >>> creating a HID mapping for it. >>> >>> It's detected as a HID device in Mixxx under Windows (even if the >>> official NI drivers are not installed), but no matter what I do I can't >>> make it show up in Mixxx under Linux. >>> >>> After adding the udev rules suggested in the wiki, my USB mouse showed >>> up in the Mixxx's configuration panel as a HID device, but the Traktor >>> S2 MK2 just refuses to appear. >>> >>> Distributions tested: Debian Sid (amd64), Linux Mint, Crossfade >>> Mixxx versions tested: 1.11, 1.12 beta, latest git >>> >>> Same result in every case: only my USB mouse shows up, but not the >>> Traktor S2 MK2. >>> >>> dmesg output after turning the controller on: >>> >>> [ 6362.621988] usb 1-4: new high-speed USB device number 3 using >>> ehci-pci >>> [ 6362.754736] usb 1-4: New USB device found, idVendor=17cc, >>> idProduct=1320 >>> [ 6362.754748] usb 1-4: New USB device strings: Mfr=12, Product=7, >>> SerialNumber=13 >>> [ 6362.754756] usb 1-4: Product: Traktor Kontrol S2 MK2 >>> [ 6362.754762] usb 1-4: Manufacturer: Native Instruments >>> [ 6362.754767] usb 1-4: SerialNumber: 6D874030 >>> [ 6362.765198] hid-generic 0003:17CC:1320.0002: hiddev0,hidraw1: USB HID >>> v1.10 Device [Native Instruments Traktor Kontrol S2 MK2] on >>> usb-0000:00:12.2-4/input3 >>> [ 6362.884222] usbcore: registered new interface driver snd-usb-audio >>> >>> >>> If you need any more information please let me know. I'm willing to do >>> any tests. >>> >>> Thank you for your hard work on Mixxx 1.12, and thanks in advance for >>> any help. >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Get Mixxx, the #1 Free MP3 DJ Mixing software Today >>> http://mixxx.org >>> >>> >>> Mixxx-devel mailing list >>> Mixxx-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel >>> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel >
------------------------------------------------------------------------------
_______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel