-
In other words, what can be done with libusb that can't be done with the I'm asking because I'm tasked to develop an app for our device which uses Cypress EZ-USB FX2LP for USB communication. The device works fine on Windows PC thanks to libusb, but on Android things are different:
I'm wondering if more phones would work if I use libusb instead of the Also, any suggestions on how I can check where do things go wrong on those phones? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Oh it seems that the problem is in our hardware design. We just bought a demo kit and it can be recognized on all phones we tested. |
Beta Was this translation helpful? Give feedback.
-
To answer you question someone has to go over the Android USB API and compare it with libusb API (and check what is actually implemented/functional on Android and in what cases). I don't believe anyone ever did so. My best guess is that both should be functionally identical. I'd make a few potential assumptions (didn't really check them):
NOTE: when it comes to device enumeration/open - unless you're on rooted device, libusb (its user) still needs to use Android USB manager - that's the only way to get permission from the OS to open a Device. UPD: and more straightforward answer: |
Beta Was this translation helpful? Give feedback.
To answer you question someone has to go over the Android USB API and compare it with libusb API (and check what is actually implemented/functional on Android and in what cases).
I don't believe anyone ever did so.
My best guess is that both should be functionally identical.
I'd make a few potential assumptions (didn't really check them):