Update the udev rule for a new sis firmware

BUG=chromium:763133
TEST=Test on my guado, verify the firmware is upgraded after a hot plug
of Mimo.
CQ-DEPEND=CL:*568201

Change-Id: I03a93c0970f71fb1a0a20dba685e8af381b8ac75
Reviewed-on: https://chromium-review.googlesource.com/915002
Commit-Ready: Zhongze Hu <frankhu@google.com>
Tested-by: Zhongze Hu <frankhu@google.com>
Reviewed-by: Ege Mihmanli <egemih@google.com>
1 file changed
tree: 8897d6b14c5a6bf736d329d046581d0872be8a73
  1. conf/
  2. src/
  3. .gitignore
  4. common.mk
  5. LICENSE
  6. Makefile
  7. README.md
README.md

SiS Firmware Updater

Description

The code was proviced by SiS and modified by Google. Modifications include:

  • Cleaning the code according to Google C++ coding style. Eliminating compiling errors.
  • Adding a feature that the updater can take the device name from input parameters. Blinded search is only required when input device name is invalid.
  • Adding a feature that the updater will compare FW version before actual update. If the FW versions on device and in Chrome OS are same, the updater will terminate.
  • Adding a input flag specifying whether the device is in recovery mode (FW update fails last time). The flag value is determined by VID from udev rule.

Requirements

On Linux, should run as root.

Build

At the root of the repository: make.

Under Chrome OS development enviroment: emerge-${BOARD} sis-updater.

How to use

Just run ./sis-updater.