libusb / hidapi

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

Is it possible to replicate this behaviour using libusb on linux? #613

Closed GobGeeklord closed 1 year ago

GobGeeklord commented 1 year ago

Hi there,

I'm trying to implement a card reader controller for a reader which only have official support for windows, but i'm trying to figure it out if there is any way to implement the behaviour using libusb: sending commands, and read the result.

This is what i can see from a usb sniffing session:

There is a SET_REPORT request/response (where we post 3 bytes as the command identifier) and then a GET_REPORT request/response (With the response from the reader)

image

Is there any way to have this working? libusb, hidapi

Thanks in advance

Youw commented 1 year ago

Maybe there is, hard to tell.

But this is not a support forum - this is an issue tracker for HIDAPI library. Unless you have an issue/but/suggestion/improvement to HIDAPI implementation - this is not a place for questions like this.