|
From: Xiaofan C. <xia...@gm...> - 2016-03-16 00:55:05
|
On Tue, Mar 15, 2016 at 10:23 PM, Antão Almada <ant...@gm...> wrote: > I'm using the Gritzman fork (https://github.com/Gritzman/libusb), based on > the OPENNI fork, that fixes the known Android file descriptor and SELinux > issues. Root is not required. In any case, I do not think you should rely on this fork, the base version of libusb 1.0.9 is too old. > I'm using Android USB Accessory mode where the connected device is > the host and implements Android Open Accessory (AOA). My app is not > running on the host and the issue now is that the device does not show > up in the device enumeration... :( In that case,your issue has nothing to do with libusb. libusb is only for the host side. But your Android device is not the host in this mode. You should forget about libusb in this case. > I'm going through all this because using the Android public API I'm > getting too many ENODEV errors. Unfortunately this is a known > Android bug (feature?) so I'm trying to find a workaround. You'd better debug your host device. -- Xiaofan |