Navigation

    全志在线开发者论坛

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

    T113的Tina 使用udev自动挂载U盘 就是挂载不上去

    其它全志芯片讨论区
    3
    4
    1661
    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.
    • Y
      ysc3650145 LV 4 last edited by

      T113的Tina 使用udev自动挂载U盘 就是挂载不上去

      而且有在/etc/udev/rules.d/10-tf.rules添加的内容如下
      KERNEL=="sd[a-z]", SUBSYSTEM=="block", ACTION=="add", RUN+="/etc/udev/storage/add-usb.sh %k $env{ACTION}"
      KERNEL=="sd[a-z]
      ", SUBSYSTEM=="block", ACTION=="remove", RUN+="/etc/udev/storage/remove-usb.sh %k $env{ACTION}"
      现在这个脚本add-usb.sh都有添加了 感觉就是,没有触发这个udev的事件 各位大佬指教下哦

      L 2 Replies Last reply Reply Quote Share 1
      • L
        KoGu LV 5 @ysc3650145 last edited by

        @ysc3650145 检查一下脚本权限

        1 Reply Last reply Reply Quote Share 1
        • L
          KoGu LV 5 @ysc3650145 last edited by

          @ysc3650145 可以贴10-tf.rules和两个脚本的代码出来看看吗?

          1 Reply Last reply Reply Quote Share 1
          • E
            embfly LV 5 last edited by

            您好,这个问题我也遇到了,我遇到的问题是udevd服务无法开启,既然这个服务都无法开启,那么肯定是不能实现自动挂载u盘的。

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

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

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