device: gs101: add speaker health stats am: c6bf998960 am: 44d6ea9d7d am: 15ab37bb2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556 Change-Id: I667532637dcc0221f8c81f592f3490eeef3118d7
This commit is contained in:
commit
53b66fddf0
1 changed files with 6 additions and 1 deletions
|
@ -40,7 +40,12 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
|
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
|
||||||
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
|
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
|
||||||
.EEPROMPath = "/dev/battery_history",
|
.EEPROMPath = "/dev/battery_history",
|
||||||
.MitigationPath = "/sys/devices/virtual/pmic/mitigation"};
|
.MitigationPath = "/sys/devices/virtual/pmic/mitigation",
|
||||||
|
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
|
||||||
|
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
|
||||||
|
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat"
|
||||||
|
};
|
||||||
|
|
||||||
const struct UeventListener::UeventPaths ueventPaths = {
|
const struct UeventListener::UeventPaths ueventPaths = {
|
||||||
.AudioUevent = "/devices/virtual/amcs/amcs",
|
.AudioUevent = "/devices/virtual/amcs/amcs",
|
||||||
.WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id"};
|
.WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id"};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue