If you can detach the kernel HID driver for libusb to communicate with the device that would be great.I've had a breakthrough. Basically, you use the libusb backend by replacing "hidapi-hidraw" by "hidapi-libusb" inside "Makefile-Debug.mk". Search for the following:
Code:# Link Libraries and Options LDLIBSOPTIONS=`pkg-config --libs hidapi-hidraw` # Build Targets .build-conf: ${BUILD_SUBPROJECTS} "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidapi_test ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidapi_test: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidapi_test ${OBJECTFILES} ${LDLIBSOPTIONS} ${OBJECTDIR}/hidtest.o: hidtest.cpp ${MKDIR} -p ${OBJECTDIR} ${RM} "$@.d" $(COMPILE.cc) -g `pkg-config --cflags hidapi-hidraw` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/hidtest.o hidtest.cpp