Navigation

    全志在线开发者论坛

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

    T113进入低功耗模式如何使用指定的GPIO唤醒

    Linux
    2
    2
    1692
    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.
    • J
      Jacky502 LV 5 last edited by

      目前T113使用system("echo mem > /sys/power/state");命令进入低功耗后可以用adc按键唤醒,但是目前需要使用指定的gpio唤醒,这个功能要怎么配置呢

      WhycanService 1 Reply Last reply Reply Quote Share 0
      • WhycanService
        WhycanService LV 8 @Jacky502 last edited by

        @jacky502

        &keyboard0 {
        	key0 = <210 0x160>;
        	wakeup-source;
        	status = "okay";
        };
        

        注册gpio-keys 绑定键值,或者gpio-keys增加wakeup-source;

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

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

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