Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Issue 2824039: Use the HWID from the firmware as the hardware class, if available. (Closed)

Created:
10 years, 5 months ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
Randall Spangler, vb
CC:
chromium-os-reviews_chromium.org, Luigi Semenzato, sosa
Base URL:
ssh://git@chromiumos-git/metrics.git
Visibility:
Public.

Description

Use the HWID from the firmware as the hardware class, if available. BUG=3089 TEST=gmerge'd on device, ran with and without an hwid file.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix HWID path. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -24 lines) Patch
M hardware_class View 1 1 chunk +44 lines, -24 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
petkov
I'm not sure if that's the file location of the HWID file. Also, it's important ...
10 years, 5 months ago (2010-06-29 19:10:44 UTC) #1
Randall Spangler
http://codereview.chromium.org/2824039/diff/1/2 File hardware_class (right): http://codereview.chromium.org/2824039/diff/1/2#newcode18 hardware_class:18: readonly HWID_PATH=/sys/bus/acpi/chromehw/hwid /sys/bus/platform/devices/chromeos_acpi/HWID
10 years, 5 months ago (2010-06-29 21:29:46 UTC) #2
petkov
PTAL http://codereview.chromium.org/2824039/diff/1/2 File hardware_class (right): http://codereview.chromium.org/2824039/diff/1/2#newcode18 hardware_class:18: readonly HWID_PATH=/sys/bus/acpi/chromehw/hwid On 2010/06/29 21:29:46, Randall Spangler wrote: ...
10 years, 5 months ago (2010-06-29 21:39:35 UTC) #3
Randall Spangler
LGTM
10 years, 5 months ago (2010-06-29 22:14:20 UTC) #4
petkov
10 years, 5 months ago (2010-06-30 17:03:19 UTC) #5
On 2010/06/29 22:14:20, Randall Spangler wrote:
> LGTM

Thanks for the review. I'm pushing this. Please ensure that different hardware
platforms running Google's firmware have different HWIDs.

Powered by Google App Engine
This is Rietveld 408576698