Running ADB on a "stock" distribution (g_ffs)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux