You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a DS6878 Barcode Scanner (in HID mode) on OS X. I am running the example code which enumerates the devices allows me to see attached and detached events. However, open always returns false, and my OS retains ownership of the interface. hidDevice.getLastErrorMessage() returns Device not initialised.
The text was updated successfully, but these errors were encountered:
Just a quick check - is your device running as a keyboard/mouse in Windows? There is a note in the README covering this:
Check that the usage page is not 0x06 which is reserved for keyboards and mice. Windows opens these devices for its exclusive use and thus hid4java cannot establish its own connection to them. You will need to use the lower level usb4java library for this.
I am using a DS6878 Barcode Scanner (in HID mode) on OS X. I am running the example code which enumerates the devices allows me to see attached and detached events. However,
open
always returns false, and my OS retains ownership of the interface.hidDevice.getLastErrorMessage()
returnsDevice not initialised
.The text was updated successfully, but these errors were encountered: