My hunch is that your second bullet point is probably the easiest way forward. Indeed, only a pair of bulk endpoints is all it would take. Nothing funny going on otherwise, all the funny stuff has to do with how to put an Android device into the AOA mode, but it doesn't apply in your case, since you can be in AOA mode constantly.
On Tue, Apr 28, 2015 at 6:58 AM, Felix Hädicke <[email protected]> wrote: > 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 > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
