diff options
author | Hungyen Weng <hungyenweng@google.com> | 2019-03-29 15:07:07 +0800 |
---|---|---|
committer | Hungyen Weng <hungyenweng@google.com> | 2019-04-08 00:35:55 +0000 |
commit | 944ef261a580f6fe0f52608ad8b60d6ec87533c1 (patch) | |
tree | 44fc819df8c454ae960f700eb37ef49104b6d645 | |
parent | 81ff90e8104f7dfa324fff5fe9e69f62dae1611c (diff) | |
download | bonito-944ef261a580f6fe0f52608ad8b60d6ec87533c1.tar.gz |
Trigger modemstat command when doing dumpstate
Bug: 118760640
Change-Id: I274bfdbf048131df17e7b108db43eaab7c180c68
-rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 1 | ||||
-rw-r--r-- | init.hardware.rc | 2 | ||||
-rw-r--r-- | sec_config | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 529087ba..4075d631 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -317,6 +317,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) { return Void(); } + RunCommandToFd(fd, "Notify modem", {"/vendor/bin/modem_svc", "-s"}, CommandOptions::WithTimeout(1).Build()); RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"}); DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number"); DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present"); diff --git a/init.hardware.rc b/init.hardware.rc index 6b8f78b8..c8ab6ffd 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -628,7 +628,7 @@ service vendor.tftp_server /vendor/bin/tftp_server user root group root system -service modem_svc /vendor/bin/modem_svc +service modem_svc /vendor/bin/modem_svc -q class core user root group system @@ -315,7 +315,7 @@ /* Allow Data dpmd to access QMI DFS */ 48:4294967295:1000:3004 /* QMI vendor specific service from modem */ -231:4294967295:1001 +231:4294967295:1000:1001 /* DIAG */ 4097:4294967295:2002:2950:3009:2901 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */ |