none
USB-OTG: Set fix to host- or function-mode RRS feed

  • Question

  • Hi,

    is it possible in WEC2013 to decide fix, if a OSB-OTG-port is allowed to be in host- or in function-mode?

    Perhaps set it fix in the registry?

    Tx

    Markus

    Thursday, April 16, 2015 10:21 AM

Answers

  • The registry setting is as :

    IF BSP_USB_HSOTG_CLIENT
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UsbOtg\USBFN]
        "Prefix"="UFN"
        "Dll"="usbfn.dll"
        "Index"=dword:1
        "Order"=dword:22
        "MemBase"=dword:xxxxxxx
        "MemLen"=dword:xxxxxx
        "Irq"=dword:xx
        "Priority256"=dword:64
        "OTGSupport" = dword:0
        "OTGGroup"="01"
        "BusIoctl"=dword:2a0048
        "IClass"= multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
    ENDIF BSP_USB_HSOTG_CLIENT
    ; @CESYSGEN ENDIF CE_MODULES_USBFN

    ; @CESYSGEN IF CE_MODULES_USBHOST
    IF BSP_USB_HSOTG_HOST
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UsbOtg\Hcd]
       "Prefix"="HCD"
       "Dll"="hcd_hsotg.dll"
       "Order"=dword:15
       "Class"=dword:0c
       "SubClass"=dword:03
       "ProgIF"=dword:20
       "MemBase"=dword:xxxxxxx
       "MemLen"=dword:xxxxxxx
       "irq"=dword:xx
       "HcdCapability"=dword:4      ;HCD_SUSPEND_ON_REQUEST
       "OTGSupport"=dword:0
       "OTGGroup"="01"
       "UseExistingSettings"=dword:0
    ENDIF BSP_USB_HSOTG_HOST
    ; @CESYSGEN ENDIF CE_MODULES_USBHOST


    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Friday, April 17, 2015 6:15 AM