首页 > 其他分享 >高通平台功耗 - How_to_determine_wakeup_trigger_from_suspend_caused_by_PMIC_IRQ

高通平台功耗 - How_to_determine_wakeup_trigger_from_suspend_caused_by_PMIC_IRQ

时间:2024-09-03 17:20:51浏览次数:11  
标签:kernel suspend How caused PM8941 indicates adb irq debug

[ 366.151054] gic_show_resume_irq: 222 triggered

This debug message in the kernel log indicates that a PMIC SPMI IRQ was the wakeup trigger from suspend.

To enable additional debug message printing use the following cmds.

adb root
adb wait-for-devices
adb shell mount -t debugfs none /sys/kernel/debug
adb shell “echo 8 > /proc/sys/kernel/printk”
adb shell “echo ‘func qpnpint_handle_irq +p’ > /sys/kernel/debug/dynamic_debug/control”
Once the device wakes up from suspend, messages like the ones below will get printed out.

Example #1:

[ 26.935784] qpnpint_handle_irq: spec slave = 0 per = 18 irq = 0
slave = 0 indicates that it is PM8941. per = 18 indicates that it is PM8941 peripheral 0x12. If we look this up in the PM8941 register document it corresponds to SMBB_BAT_IF_PERPH. Looking at register 0x1218 indicates that irq = 0 corresponds to the BAT_PRES IRQ.

Example #2:

[ 23.708495] qpnpint_handle_irq: spec slave = 0 per = 19 irq = 1
slave = 0 indicates that it is PM8941. per = 19 indicates that it is PM8941 peripheral 0x13. If we look this up in the PM8941 register document it corresponds to SMBB_USB_CHGPTH_PERPH Looking at register 0x1318 indicates that irq = 1 corresponds to the USBIN_VALID IRQ.

标签:kernel,suspend,How,caused,PM8941,indicates,adb,irq,debug
From: https://blog.csdn.net/bsp_linux_dev/article/details/141828267

相关文章

  • uni-app v-if条件渲染和v-show的选择对比
    一,v-ifv-if 指令用于条件性地渲染一块内容。这块内容只会在指令的表达式返回真值时才被渲染代码示例:<template> <viewclass=""> <viewv-if="shop">京东</view> <viewv-else>淘宝网</view> </view></template><scriptsetup>impor......
  • v-if条件渲染和v-show的选择对比
    一,v-ifv-if指令用来条件渲染一块内容,内容只会在指令表达式满足条件时或者为true时才被渲染,v-if=为“false”或者不满足条件时不会显示内容。代码示例:<template> <viewclass="box"> <viewv-if="true">张三</view> <viewv-if="1===1">周一</view> <v......
  • Lecture 03 How to build a Game World
    Lecture03HowtobuildaGameWorldEverythingisaGameObject(GO)面向对象的方式有些GO之间并没有清晰的继承关系Unreal中的UObject、Unity中的Object并不是这里讲的GameObject概念,而是更类似如C#中的Object,用于确定任何对象的生命周期需要的句柄Unreal中的GameOb......
  • v-if与v-show的区别和v-for的列表渲染
    1.v-if与v-show的区别和用法1.v-if的用和注意事项当我们需要做一个因为客户做出了不同的选择出现了不同的结果或者选择,但是这些结果或者选项又都是在我们同一个的页面的时候需要我们使用什么组件。我们可以去Vue.js去了解一下这种类型的组件比如我们的v-if、v-else、v-else-......
  • 安卓11报错:Failed to resolve: com.github.xxxx:14.0 Show in Project Structure dial
    本篇文章主要讲解,安卓11版本情况下项目运行报错Failedtoresolve:com.github.getActivity:Toaster:14.0ShowinProjectStructuredialogAffectedModules:app的主要原因及解决办法。作者:任聪聪独立博客:https://rccblogs.com/631.html日期:2024年8月28日具体......
  • SciTech-Mathmatics-Probability+Statistics: How to Read and Interpret a Regressio
    HowtoReadandInterpretaRegressionTableBYZACHBOBBITTPOSTEDONMARCH20,2019https://www.statology.org/read-interpret-regression-table/Instatistics,regressionisatechniquethatcanbeusedtoanalyzetherelationshipbetweenpredictorvariabl......
  • 关于ctfshow的web题目的文件包含题目的思考
    今日深思两个题目ctfshow的web方向的web3和web4开始有疑惑了:<?phpinclude($_GET['url']);?>这两个题目都是这句话我一眼看上去是文件包含,我发现访问到一些目录下的文件,比如etc/passwd,是能够回显的第三题的write_up是利用php伪协议去实现渗透第四题的write_up是利用网站nig......
  • WPF C# split picture into small pieces and show in grid cells
    usingSystem;usingSystem.Collections.Generic;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windows.Data;usingSystem.Windows.Documents;using......
  • 使用 Nuxt 的 showError 显示全屏错误页面
    title:使用Nuxt的showError显示全屏错误页面date:2024/8/26updated:2024/8/26author:cmdragonexcerpt:摘要:本文介绍Nuxt.js中的showError方法用于显示全屏错误页面,包括其参数类型及使用方式,并演示了如何在页面中捕获并展示错误,还介绍了useError用于管理共享错误状......
  • [Javascript] How to do big integers sum
    /***Bigintegersum*Usingstringstorepresentbigintegers*@param{string}a*@param{string}b*@returns{string}*/functionbigIntSum(a,b){constmaxLength=Math.max(a.length,b.length);constaStr=a.padStart(maxLength,"0&......