hidapi icon indicating copy to clipboard operation
hidapi copied to clipboard

Hid_write and building libusb in Linux

Open Bobrov88 opened this issue 1 year ago • 1 comments

Hi! I have 2 questions:

  1. I try to send bytes to scanner connecting as HID-device. But hid_write() dosn't send bytes to it, giving a number as a result of successful sending. I say about Linux. In Windows I send bytes with windows.h functions and have success, that means scanner to be OK. Why?
  2. Maybe, hidapi.h I use can't send bytes to scanner, and I must use libusb. Then I ask: how to connect lbusb correctly, what name to be included into #include

Thanx!

Bobrov88 avatar Jan 19 '24 13:01 Bobrov88

Please see #468 and consider closing this issue.

Youw avatar Jan 19 '24 14:01 Youw