gs101: dumpstate: Dump function without debugfs
*** command '/vendor/bin/sh -c cat /d/regmap/*-0057-pca9468-mains/registers' failed: exit code 1 Bug: 187030022 Test: Check bugreport Change-Id: Iea4225efb87b9793d990c04d950938fe79f71e23 Signed-off-by: Ted Lin <tedlin@google.com>
This commit is contained in:
parent
d8908905aa
commit
0843fe0b0a
1 changed files with 4 additions and 1 deletions
|
@ -363,7 +363,10 @@ void DumpstateDevice::dumpPowerSection(int fd) {
|
|||
" cd /sys/devices/platform/google,charger/;"
|
||||
" for f in `ls bd_*` ; do echo \"$f: `cat $f`\" ; done"});
|
||||
|
||||
RunCommandToFd(fd, "DC_registers dump", {"/vendor/bin/sh", "-c", "cat /d/regmap/*-0057-pca9468-mains/registers"});
|
||||
RunCommandToFd(fd, "DC_registers dump", {"/vendor/bin/sh", "-c",
|
||||
"for f in /d/regmap/*-0057-pca9468-mains ; do "
|
||||
"regs=`cat $f/registers`; echo $f: ;"
|
||||
"echo \"$regs\"; done"});
|
||||
|
||||
RunCommandToFd(fd, "fg_model", {"/vendor/bin/sh", "-c",
|
||||
"for f in /d/maxfg* ; do "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue