Hey, After discussing this with Andrzej, I'm no closer to being able to get this working...
I'm trying to run adbd (the service that would usually run on an Android phone in developer mode) on a stock distribution, on a device that used to run Windows 8 (and now a Fedora). This is my version of adbd: https://github.com/hadess/adbd/ This is the systemd service file I eventually want to use, but I'm running those commands "by hand" right now, and they fail in the same way. https://github.com/hadess/adbd/blob/master/adbd.service I'm getting this error from adbd: OPENING /dev/usb-ffs/adb/ep0 [ /dev/usb-ffs/adb/ep0: writing strings failed: errno=16] Which comes from this error message: https://github.com/hadess/adbd/blob/master/adb/usb_linux_client.c#L275 It looks like this can only happen if the gadget FS was already registered: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/gadget/legacy/g_ffs.c#n301 Any ideas? Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html