On Jan 13, 2015, at 1:11 PM, Edgar Fuß <[email protected]> wrote:

> src/Makefile uses -lIOKit, which doesn’t work on recent versions of OS X. It 
> should be using -framework IOKit instead.
> On a related note, I don’t understand why it quotes CoreFoundation (on the 
> same line).

To be honest, it should be using the output of `libusb-config --libs` instead 
(which implicitly addresses both of those points).

But once you do that, you are still fighting the OS X USB HID drivers. At one 
point, it was possible to install a "codeless KEXT" to prevent the kernel HID 
drivers from binding to the USB device, but I am not sure if that is still an 
option. At the very least, it probably requires a developer certificate.

You may want to check out the HIDAPI project instead - if I recall correctly, 
it uses the native HID interface on OS X (probably on Windows as well).

-- 
- Charles Lepple
http://ghz.cc/charles/



_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to