Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hid_write and building libusb in Linux #486

Open
Bobrov88 opened this issue Jan 19, 2024 · 1 comment
Open

Hid_write and building libusb in Linux #486

Bobrov88 opened this issue Jan 19, 2024 · 1 comment

Comments

@Bobrov88
Copy link

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!

@Youw
Copy link

Youw commented Jan 19, 2024

Please see #468 and consider closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants