Hello! I'm attempting to build kernel for mk802 (A10, 1Gb) with working g_ether and g_mass_storage/g_file_storage modules.I dealed with linux versions 2.6.36, 3.0.36, 3.0.57, 3.4.24, CodeSourcery's toolchains 2010.09 and 2011.03, but no luck.In some cases, I have compiler errors, or successfully kernel builds, but gadget usb modules do not work.
Need Your advice to do solve it! Thanks!--
Dear Hackers.Please, take a look what is my problem.
On Tue, May 14, 2013 at 2:05 PM, Dmitriy Alekseev <deathon...@gmail.com> wrote:
I cross compiled, installed to special directory on PC and then copied it to /lib/modules on device's rootfs.
Helllo,
I have hackberry Allwinner A10 and I tried to get working g_serial or g_printer gadgets.
I built latest version of linux-sunxi 3.4.61+ (I have in menuconfig enabled OTG support and all gadgets) and after call:
insmod /lib/modules/3.4.61+/drivers/usb/gadget/g_printer.ko idVendor=0x154f idProduct=0x1300
Error: could not insert module /lib/modules/3.4.61+/drivers/usb/gadget/g_printer.ko: No such device
dmesg shows:
couldn't find an available UDC
[ 1082.173700] Printer Gadget: usb_gadget_probe_driver ffffffed
same is for another gadget
Is there problem in my steps or in udc driver? Thank you for response. Josef
Thank you for response.
Can you send me link to testing OTG driver? A have now latest version from linux-sunxi repository.
I tried to load g_ether driver and got same result:
"couldn't find an available UDC"
It seems OTG doesn't switch to device mode?
thank you
Josef