Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: Ted87 on October 27, 2015, 05:23:00 PM

Title: Problem with using sunxi usb-gadget
Post by: Ted87 on October 27, 2015, 05:23:00 PM
I have Olinuxino A13 and I follow this instruction - http://linux-sunxi.org/USB_Gadget and accroding it I must enable

Device Drivers  --->
    USB support  --->
       
Title: Re: Problem with using sunxi usb-gadget
Post by: JohnS on October 28, 2015, 12:46:38 PM
You may have to hunt through the various kernel versions (btw, you've not even said which you tried) to find which if any do as you want.

Linux on AW is a WIP of course...


John
Title: Re: Problem with using sunxi usb-gadget
Post by: Gerrit on October 28, 2015, 03:17:29 PM
Quote from: Ted87 on October 27, 2015, 05:23:00 PM
I have Olinuxino A13 and I follow this instruction - http://linux-sunxi.org/USB_Gadget and accroding it I must enable

Device Drivers  --->
    USB support  --->
       
  •     SUNXI USB2.0 Dual Role Controller support --->
               
  •     Sunxi USB2.0 Manager
                       USB0 Controller support (otg support) --->
                               (*) otg support


    However, in current menuconfig (of sunxi) in USB support there is no "SUNXI USB2.0 Dual Role Controller support". Please, say where it is now or what I should do to work with usb gudget.
It is where they say it is, which kernel version do you use and where did you get it ?

Prompt: SUNXI USB2.0 Dual Role Controller support                                                                             │ 
  │   Defined at drivers/usb/sunxi_usb/Kconfig:10                                                                                 │ 
  │   Depends on: USB_SUPPORT [=y] && (ARCH_SUN4I [=n] || ARCH_SUN5I [=y] || ARCH_SUN7I [=n]) && USB_MUSB_SUNXI [=n]=n