libusb / hidapi

A Simple cross-platform library for communicating with HID devices
https://libusb.info/hidapi/
Other
1.69k stars 399 forks source link

HIDAPI error: ReadFile(0x00000005) denied access #614

Closed HM281099 closed 1 year ago

HM281099 commented 1 year ago

development environment: windows11

occurs when I read the data, how to solve it,

thanks

Youw commented 1 year ago

What kind of device are you trying to open/read?

Youw commented 1 year ago

How do you ensure you really do have permissions to read from that device?

HM281099 commented 1 year ago
  thans for this reply

reason: HIDAPI won't work keyboards and mic on windows,

the development device is similar to the above devices

by modifying the device descriptor to a user-defined device , solve it.