hid_device_info->interface_number zero on macOS 13.3 #527
-
I've noticed comment here: https://github.com/libusb/hidapi/blob/master/mac/hid.c#L543
But, after upgrading to macOS 13.3 the result changes to flowing:
My mission it to discriminate 3 different components on my USB gadget, and the interface number was the key that I rely on. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Would you be able to modify HIDAPI locally and print all |
Beta Was this translation helpful? Give feedback.
-
I have created an issue based on this discussion. I can reproduce the issue under macOS 13.3.1 on my Mac Mini M1. From my test, libusb works fine to find the interface number. Maybe we can take some reference from libusb code. |
Beta Was this translation helpful? Give feedback.
-
This is more a bug report than a discussion in a first place. |
Beta Was this translation helpful? Give feedback.
I have created an issue based on this discussion. I can reproduce the issue under macOS 13.3.1 on my Mac Mini M1. From my test, libusb works fine to find the interface number. Maybe we can take some reference from libusb code.