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