-
Notifications
You must be signed in to change notification settings - Fork 902
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
Problem Mac OSX with Digitizer + Bulk report ID #295
Comments
On Windows, when I scan for devices with VID/PID I got 2 results. So on Windows for now I get :
And I choose to only connect to :
But on MAC I didn't get 2 results, so is there any workaround ? |
Make sure you're using the latest from git (git clone). I don't know the answer for your device. See what stepping through the code with a debugger can tell you. |
Thank you for your response. I've made some printf, on Windows : On mac : Maybe it can help you a little, maybe I have a problem with my device :( |
What is that supposed to tell me? Those look like two different devices. |
Yeah but it's not. I don't know, do you ever see a device with an interface not recognized on MAC (and maybe Linux) ? What you will look after ? |
I haven't seen anything that behaves like that, but you've given me very little information. |
You might just be running into an issue with this use case on the mac. From what you're saying, either you can talk to the digitizer or the system can talk to the digitizer. This kind of thing is not really what HIDAPI is designed for. It's designed to communicate with custom devices, not intercept information from standard input/output devices. The fact that this works as a side effect on some devices on some platforms doesn't mean results are guaranteed. For example, you can't open keyboards and mice on windows, and there's nothing I can do about it. It's an edge case that varies by platform. |
I have 4 report ID on my device :
On Windows I see 3 HID usb device :
So I understand now why I can only see 2 interfaces on Windows (no mouse = col2). Maybe the "vendor defined" interface is not available with hidapi? |
Vendor defined is what HIDAPI is designed for. Report ID's are not HID devices or interfaces. It's a different concept. See the HID specification. |
This might be wildly off-topic but don't some devices have the ability to change the device numbers they respond to depending on whether they have been "initialised" by some usually system driver - which in one of your cases could be happening in the "back-ground" before you get to see the device? |
Ok now I think I see the problem. I have only one interface, which contain 3 logical devices, with 4 report ID.
|
And I think I found my problem, line 706 of hid.c for Mac :
Why this option is set by default ? To avoid some conflicts ? |
Here the pull request for this issue : #297 |
To prevent a device from being opened twice. |
Hi,
I have a problem using an USB HID graphic tablet (which succeed with the compliance USB Software) with multiple report ID :
1 is HID Mouse, 2 HID Digitizer, 3 and 4 are IN/OUT Bulk.
On windows, no problems.
On Mac, when I'm connected, the digitizer won't have any effect on my cursor, it just stop working.
When I disconnect, it's ok.
What's is the problem ?
I want to be able to use IN/OUT Bulk reports ID, but continue to use the Digitizer.
The text was updated successfully, but these errors were encountered: