Hi,
has someone managed to connect a Linux device to IOIO v1? What I am going to do is connection a Kobo Mini to the IOIO. With a modified kernel (for OTG mode on the Kobo), communicating with the IOIO-OTG works fine, just like on a normal Linux-PC. But is there a way to connect a IOIO v1 to this device, when the Kobo is in gadget mode?
Some ideas:
* Using the Android Composite USB kernel driver with Open Accessory support. I already tried to port this driver to the Kobo Kernel, but I didn't get it working.
* Implementing a simpler USB gadget driver (maybe in userspace, using Linux USB GadgetFS) on the Kobo, which supports a subset of the Open Accessory protocol. Which functionality would be neccessary for this?
https://source.android.com/accessories/aoa.html descibes the Accessory protocol. Would it be sufficient to implement a USB gadget with PID 0x2D00 / VID 0x18D1 and two bulk endpoints for reading and writing? Does the USB interface and endpoints require any special attributes, do I need to implement any control transfers?
* Using the Linux Gadget Serial Driver (g_serial) which turns the Kobo into a CDC/ACM device (this works fine to establish a serial connection between a PC and the Kobo). But it seems that this would reqire changes to the IOIO firmware, because it only support CDC/ACM in gadget mode, right?
Regards
Felix