gary-rowe / hid4java

A cross-platform Java Native Access (JNA) wrapper for the libusb/hidapi library. Works out of the box on Windows/Mac/Linux.
MIT License
229 stars 71 forks source link

Exception in thread "main" java.lang.IllegalStateException: Device has not been opened #76

Closed hungthuanmk closed 4 years ago

hungthuanmk commented 5 years ago

I am trying to open and read RFID Reader on Windows 10. It seems that this problem has been mentioned in some same issues, I hope there is a fixed version or manually fix instruction to solve that, looking forward to hearing updates soon, thanks!

wzskyline commented 5 years ago

same Exception in thread "main" java.lang.IllegalStateException: Device has not been opened i want open keybord device vendorId=0x4d9, productId=0x1503,

MoshiPlaner commented 5 years ago

Same issue. When trying to open the device it throws an error. Help would be appreciated "Device not initialised"

Ktar5 commented 4 years ago

Getting same thing

gary-rowe commented 4 years ago

New libraries have been provided on the develop branch that should fix this. Since it's likely a duplicate of #81 I'll close this issue and continue research there.