commit | 2d49b6ea316fde78a6a7e1e62a1fa26d49c61d96 | [log] [tgz] |
---|---|---|
author | Emil Lundmark <lndmrk@chromium.org> | Tue Aug 29 13:58:23 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Wed Aug 30 14:06:29 2017 |
tree | 25797acf5078eda129ced0fc23155b1264f24a6c | |
parent | d1657dda42865b76537fad2c5068563f437151c5 [diff] |
Check return values when storing peripheral info Without these checks, in rare cases, this could trigger huddly-updater to perform a control transfer to a device that didn't exist and thus segfault. BUG=chromium:752708 TEST=Plug/unplug the device until "failed to store peripheral info" is written to /var/log/messages. A segfault should not occur. Change-Id: I2402df0405652d81ea2c488a6c3dbfd935424ad6 Reviewed-on: https://chromium-review.googlesource.com/641590 Commit-Ready: Emil Lundmark <lndmrk@chromium.org> Tested-by: Emil Lundmark <lndmrk@chromium.org> Reviewed-by: Jiwoong Lee <porce@chromium.org>
Huddly-updater is a utility to upgrade the huddly camera firmware.
TODO: The GNU C library, libusb 1.0 and libudev are required.
At the root of the repository,
$ make
Alternatively at Chromium OS development environment,
$ emerge-$${BOARD} huddly-updater
$ huddly-updater --help
It will also provide assistant tools to query the firmware version of the firmware installed in the huddly camera, that of a binary blob file.