Le lundi 31 août 2015 à 06:59 -0700, Iru Cai a écrit : > I'm trying to make my Cubietruck a EHCI gadget debug device with EHCI > Debug Device Gadget. I managed to get mass storage gadget working on > my Cubietruck, so I think the OTG driver is working. However, when I > unload all the gadget modules and load g_dbgp, and attach the > Cubietruck to a device to be debug, I didn't get any messages > from /dev/ttyGS0, and I got kernel messages like: > [sw_udc]: IRQ: > suspend > [sw_udc]: IRQ: reset > [sw_udc]: irq: reset happen, throw away all urb > [sw_udc]: IRQ: suspend > [sw_udc]: IRQ: reset > [sw_udc]: irq: reset happen, throw away all urb > [sw_udc]: IRQ: reset > [sw_udc]: irq: reset happen, throw away all urb > [sw_udc]: Set address 2 > WRN:L1041(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Operation not > supported > WRN:L1041(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Operation not > supported > WRN:L1041(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Operation not > supported > WRN:L1041(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Operation not > supported > WRN:L1041(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Operation not > supported > WRN:L1041(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Operation not > supported > > So I don't know if EHCI debug device gadget is really supported. Can > anyone give some help?
I got it working with the mainline kernel, just build it with sunxi OTG support (not sure all of it was merged). -- Paul Kocialkowski, Replicant developer Replicant is a fully free Android distribution running on several devices, a free software mobile operating system putting the emphasis on freedom and privacy/security. Website: http://www.replicant.us/ Blog: http://blog.replicant.us/ Wiki/tracker/forums: http://redmine.replicant.us/ -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: This is a digitally signed message part
