sysfs-platform-wilco-ec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. What: /sys/bus/platform/devices/GOOG000C\:00/boot_on_ac
  2. Date: April 2019
  3. KernelVersion: 5.3
  4. Description:
  5. Boot on AC is a policy which makes the device boot from S5
  6. when AC power is connected. This is useful for users who
  7. want to run their device headless or with a dock.
  8. Input should be parseable by kstrtou8() to 0 or 1.
  9. What: /sys/bus/platform/devices/GOOG000C\:00/build_date
  10. Date: May 2019
  11. KernelVersion: 5.3
  12. Description:
  13. Display Wilco Embedded Controller firmware build date.
  14. Output will a MM/DD/YY string.
  15. What: /sys/bus/platform/devices/GOOG000C\:00/build_revision
  16. Date: May 2019
  17. KernelVersion: 5.3
  18. Description:
  19. Display Wilco Embedded Controller build revision.
  20. Output will a version string be similar to the example below:
  21. d2592cae0
  22. What: /sys/bus/platform/devices/GOOG000C\:00/model_number
  23. Date: May 2019
  24. KernelVersion: 5.3
  25. Description:
  26. Display Wilco Embedded Controller model number.
  27. Output will a version string be similar to the example below:
  28. 08B6
  29. What: /sys/bus/platform/devices/GOOG000C\:00/usb_charge
  30. Date: October 2019
  31. KernelVersion: 5.5
  32. Description:
  33. Control the USB PowerShare Policy. USB PowerShare is a policy
  34. which affects charging via the special USB PowerShare port
  35. (marked with a small lightning bolt or battery icon) when in
  36. low power states:
  37. - In S0, the port will always provide power.
  38. - In S0ix, if usb_charge is enabled, then power will be
  39. supplied to the port when on AC or if battery is > 50%.
  40. Else no power is supplied.
  41. - In S5, if usb_charge is enabled, then power will be supplied
  42. to the port when on AC. Else no power is supplied.
  43. Input should be either "0" or "1".
  44. What: /sys/bus/platform/devices/GOOG000C\:00/version
  45. Date: May 2019
  46. KernelVersion: 5.3
  47. Description:
  48. Display Wilco Embedded Controller firmware version.
  49. The format of the string is x.y.z. Where x is major, y is minor
  50. and z is the build number. For example: 95.00.06