Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    V831 为什么OTG还是不能开机自动切换到HOST呢?

    其它全志芯片讨论区
    1
    2
    2157
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      ubuntu LV 7 last edited by

                      usbc0:usbc0@0{
                              usb_port_type = <1>;
                              usb_detect_type = <0>;
                              usb_detect_mode = <0>;
                              usb_id_gpio;
                              usb_det_vbus_gpio;
                              usb_drv_vbus_gpio;
                              usb_host_init_state = <0>;
                              status = "okay";
                      };
      

      ***usb_port_type ***:

      0 device only
      1 host only
      2 OTG

      1 Reply Last reply Reply Quote Share 0
      • U
        ubuntu LV 7 last edited by

        c9ac1d68-98b5-40b3-8e9e-b0561d38b1ef-dd1d521d1d61e206e08c8cf0e5930d6.png

        usb_host_init_state = <0>;

        改为

        usb_host_init_state = <1>;

        搞定了!

        usb_host_init_state:

        In host only mode, host port initialization state; 0 do not initialize; 1 initializatie USB

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策