Navigation

    全志在线开发者论坛

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

    cat ...usbc0@0/usb_device为什么能开启usb_device模式

    MR Series
    2
    2
    746
    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.
    • W
      wonderxue LV 2 last edited by

      小白求教,为什么使用cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_device能开启usb_device模式。

      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        在这个目录下面 lichee/linux-5.4/drivers/usb/sunxi_usb

        用命令: grep "usb_host" -r . 搜索代码可以看到实现过程的。

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

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

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