Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't find device (KK S88 MK2) #2

Open
inspiredearth opened this issue Aug 28, 2022 · 5 comments
Open

Doesn't find device (KK S88 MK2) #2

inspiredearth opened this issue Aug 28, 2022 · 5 comments

Comments

@inspiredearth
Copy link

Hi there ...
First off, thanks very much for your work on this. It's really fantastic to see. I came across this via your thread on the old NI forums.

I have installed this on a MacBook Air M1. I have a NI KK S88 MK2 keyboard installed and working.

When I run qKontrol it tells me no device is found ("No Komplete Kontrol MK2 keyboard could be found. Please check if the device is turned on and connected to the PC! The program will be closed now").

Do you have any suggestions? Is it that this doesn't work on M1 / Silicon devices? Or anything else you can suggest?

Thanks so much...
Jonathan

@GoaSkin
Copy link
Owner

GoaSkin commented Aug 28, 2022

Hello,

another possible reason may be a wrong / changed USB ID. When the program is being opened, it scans the USB bus for devices with the vendor ID 0x17cc and the device IDs 0x1610 (49 Keys), 0x1620 (61 Keys) and 0x1630 (88 Keys). Please find out if the IDs really match! To find it out, please run "About Your Mac" in the apple many, click the details button and there check the details of your USB device. If it is different, I have to add another ID in the code.

If the hardcoded ID (0x1630) is right, the M1 processor may be the reason. In this case, someone should try to recompile the program as an M1 binary and try out if the problem is solved if the program is run as a native M1 application. Possibly, the used library (libHid) cannot scan for USB devices through the CPU emulator. But I don't know because I am still on Intel and so I actually cannot find out this by myself.

At last, the problem my be that the application which was compiled on El Capital isn't perfectly upward compatible to the most recent version of macOS. In this case, re-compiling should also solve this.

@inspiredearth
Copy link
Author

Hi there ...
Thanks for the consideration on this.

Here's the data coming through on the USB:

KOMPLETE KONTROL S88 MK2:

  Product ID:	0x1630
  Vendor ID:	0x17cc
  Version:	0.59
...

So that all looks fine.

I am happy to compile on my M1 computer. I have Xcode installed. Would just need some instructions on how to go about it. Is that something you can point me in the right direction for?

Cheers ... Jonathan

@GoaSkin
Copy link
Owner

GoaSkin commented Aug 28, 2022

Just go to the main page of the Github project and scroll down there to the build instructions. You need to install the QT framework and two small libs using brew.

To download QT, go there: https://www.qt.io/offline-installers and select QT 5.12, because the existing binaries are built with this version and I never tested if it works with newer versions too.

Regarding the two other libraries which need to be downloaded using brew, you will probably get never versions. Therefore it may be possible that you need to modify the path to the header files in the source code.

@inspiredearth
Copy link
Author

It looks like the libhidapi package is not longer available on Homebrew.
Any thoughts on that?

jonathan@Jonathan-MBA /Users/jonathan $ brew install libhidapi
Warning: No available formula with the name "libhidapi". Did you mean libhid or libdap?
==> Searching for similarly named formulae...
These similarly named formulae were found:
libhid                                                                     libdap
To install one of them, run (for example):
  brew install libhid
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

@GoaSkin
Copy link
Owner

GoaSkin commented Aug 29, 2022

Try 'brew install hidapi'. Seems to be renamed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants