gs101: dumpstate: Dump function without debugfs am: 2492fbf3b0 am: f9847e3046
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776177 Change-Id: I63669c3154ca77b73b808188d90e980b0ad7ce6b
This commit is contained in:
commit
3b4a75b995
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