Power cycle USB ports trough permission_broker

Fizz (and future CfM devices) now have firmware that allows the root
USB hub to power cycle individual ports trough ACPI. For security
purposes, the actual power cycling is delegated to permission_broker
via DBus.

Guado will still have to use it's GPIO hack since its firmware doesn't
support power cycling trough the hub.

BUG=b:78207285
TEST=Verify that `echo "<3>uvcvideo: Failed AUTOTEST" >> /dev/kmsg`
will trigger huddly-monitor to power cycle a connected Huddly.
CQ-DEPEND=CL:1099161,CL:1095255,CL:1095219

Change-Id: Id96b282aeeebfe209a951b69f7668d2570f7a395
Reviewed-on: https://chromium-review.googlesource.com/1099165
Commit-Ready: Armando Miraglia <armax@chromium.org>
Tested-by: Armando Miraglia <armax@chromium.org>
Reviewed-by: Armando Miraglia <armax@chromium.org>
Reviewed-by: Zhongze Hu <frankhu@google.com>
6 files changed
tree: 69ea091cc770d27a286e9c42c2b40b49b2d7cb2e
  1. camera-monitor/
  2. conf/
  3. init/
  4. mimo-monitor/
  5. cfm-device-monitor.gyp
  6. LICENSE
  7. OWNERS
  8. PRESUBMIT.cfg
  9. README.md
README.md

CFM Device Monitor

Source code for CFM peripheral monitors which check the status of CFM devices and guarantee their liveness.