Skip to content

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

@shaju-mv

Description

@shaju-mv

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions