How to communicate to USB-HID device on windows? -
i not windows expert , have no development experience in windows driver have doing same in linux.
my system: have hid device (touch screen) recognised windows digitizer , works (needs no additional drivers). hid uses interface 0 interrupt based in endpoint (as in hid device) , touch information sent on interface windows. have interface 1 out , in interrupt endpoint can send 64 bytes of data. , usb devices have end point 0 send control transfers.
my problem have communicate device on interface 0, interface 1 , control endpoint upgrade firmware of touch chips , diagnostic parameters. these things ease using libusb in linux. windows not able thing. please see effort here libusb_open returns 'libusb_error_not_supported' on windows 7
i build tool qt , usb based driver. kindly please suggest me best interface can use usb communication? there way can use mingw?
you can use libusb-win32, api compatible libusb-0.1 in linux. have install driver - in case need filter version of driver, able use hid functionality in os usual. libusb-win32 ships wizard driver creation, generate .inf file device.
driver installation tricky: users not prompted install driver hid compatible devies.
Comments
Post a Comment