Report vid and pid for hid-based touch controllers
Currently, pid is sometimes reported by individual touch updater
scripts. Given that vid and pid is useful for debugging purposes, there
is a need for a more persistent place to log the vid and pid. This
change adds an entry to the touch-report file that includes the vid, pid
and the updater tool to be run.
This CL addresses the issue only for hid based devices. A follow on CL
will tackle devices with custom drivers.
BUG=b:383639165
TEST=CQ
TEST=Run \
`cros build-packages --board=${BOARD} chromeos-base/touch_updater \
&& cros deploy ${DUT} chromeos-base/touch_updater \
&& ssh ${DUT} reboot` \
then validated vid and pid in firmware report file on DUT.
Change-Id: I58de2decbaa2eda906ee3a373d7d0c75812f50b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/touch_updater/+/6579856
Reviewed-by: Aseda Aboagye <[email protected]>
Commit-Queue: Henry Barnor <[email protected]>
Reviewed-by: Ray Xu <[email protected]>
Tested-by: Henry Barnor <[email protected]>
3 files changed