Collect display info in debugd |
||||
Issue descriptionPreviously, debugd called xrandr to get display info (see src/log_tool.cc), but that has since been removed. I plan to write a command line tool called e.g. "display-info" that gets display info from the file system. It will be built as part of Debugd. It will print out the info for each connector (potentially in JSON format): name (e.g. eDP-1) status (connected/disconnected) Specific EDID fields (for external displays): - Manufacturer - Model number - Serial number (pending privacy review) Then, I plan to add this tool to the list of logging commands in Debugd's log_tool.
,
Jun 12 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/d49ec68d6d41bfc24378164e0549d4b6275e7cdc commit d49ec68d6d41bfc24378164e0549d4b6275e7cdc Author: Simon Que <sque@chromium.org> Date: Mon Jun 12 17:45:48 2017 debugd: Install drm_display_info BUG= chromium:731133 TEST=emerge debugd successfully CQ-DEPEND=CL:527820 Change-Id: I184439b7b8d159445dbe0c287e8bc727ee7833a7 Reviewed-on: https://chromium-review.googlesource.com/527559 Commit-Ready: Simon Que <sque@chromium.org> Tested-by: Simon Que <sque@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/d49ec68d6d41bfc24378164e0549d4b6275e7cdc/chromeos-base/debugd/debugd-9999.ebuild
,
Jun 13 2017
The tool already exists and is called "modetest". Let's not implement another copy.
,
Jun 15 2017
,
Jun 21 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/6bc2a23d4954f749cf5775ae71ece4d9da85aa7d commit 6bc2a23d4954f749cf5775ae71ece4d9da85aa7d Author: Simon Que <sque@chromium.org> Date: Wed Jun 21 04:57:00 2017 Revert "debugd: Add drm_display_info helper tool" This reverts commit 2d87f75d3c5ddf1f06ad32e4cfb2e8b480f1135a. Reason for revert: No longer needed, using modetest instead. Bug: chromium:731133 Change-Id: I47c9484c4cfff6e6a01fc27293057dda8d82ac49 Reviewed-on: https://chromium-review.googlesource.com/541062 Commit-Ready: Simon Que <sque@chromium.org> Tested-by: Simon Que <sque@chromium.org> Reviewed-by: Simon Que <sque@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org> [delete] https://crrev.com/806171b51a74d4eea3528f4ae9b8eadb2741503c/debugd/src/helpers/drm_display_info.cc [modify] https://crrev.com/6bc2a23d4954f749cf5775ae71ece4d9da85aa7d/debugd/debugd.gyp [delete] https://crrev.com/806171b51a74d4eea3528f4ae9b8eadb2741503c/debugd/src/helpers/drm_display_info_reader.cc [delete] https://crrev.com/806171b51a74d4eea3528f4ae9b8eadb2741503c/debugd/src/helpers/drm_display_info_reader.h [delete] https://crrev.com/806171b51a74d4eea3528f4ae9b8eadb2741503c/debugd/src/helpers/drm_display_info_reader_test.cc
,
Aug 8 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Jun 12 2017