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

libusb_init() fails due to non-existence of physical USB controllers on cloud-hosted servers #21

Open
shaju-mv opened this issue Jan 12, 2024 · 0 comments

Comments

@shaju-mv
Copy link
Collaborator

Certain cloud-hosted linux server configurations do not have a physical USB controller (e.g they employ a TCP-based mechanism to interface with emulator devices).
Under such conditions, libusb_init() fails (ref: https://android.googlesource.com/platform/external/libusb/+/refs/heads/upstream-master/libusb/os/linux_usbfs.c#298) which is surprising.
Ask: Instead of allowing libusb_init() to proceed, an appropriate error (other than LIBUSB_ERROR_OTHER) can potentially be useful for cloud-top users (with a specialized kernel configuration).

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

1 participant