commit | a411ff306c0315956424aefb417e43211492355f | [log] [tgz] |
---|---|---|
author | Stefan Adolfsson <sadolfsson@chromium.org> | Thu Aug 31 20:48:24 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri Sep 01 19:39:26 2017 |
tree | d7005691841e62a64017a5ef2e409d3396b058c0 | |
parent | b50725074114a789a044305947f4aa3b2880c2bd [diff] |
Fix issue with upgrade running when not needed If a touch event was generated while the application was running it could be interpreted as a result of a I/O command. If that happened when reading current firmware version, a new upgrade would be triggered even if it was running the latest version. This made the touch unresponsive for up to a minute. Fix the issue by only accepting io responses with HID report id 10. BUG=b:65224683 TEST=Ran using udev-rule and manually with --recovery both with touching and without touching the display. Change-Id: I6eb1a2286944fd85d1f1763c7d2e716a1f204cae Reviewed-on: https://chromium-review.googlesource.com/645811 Commit-Ready: Stefan Adolfsson <sadolfsson@chromium.org> Tested-by: Zhongze Hu <frankhu@google.com> Reviewed-by: Zhongze Hu <frankhu@google.com>
The code was proviced by SiS and modified by Google. Modifications include:
On Linux, should run as root.
At the root of the repository: make
.
Under Chrome OS development enviroment: emerge-${BOARD} sis-updater
.
Just run ./sis-updater
.