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

Issue 2534213002: Fix initial USB enumeration on Linux to return all devices. (Closed)

Created:
4 years ago by Reilly Grant (use Gerrit)
Modified:
4 years ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2924
Project:
chromium
Visibility:
Public.

Description

Fix initial USB enumeration on Linux to return all devices. This patch fixes an issue where the first enumeration of USB devices on Linux would only return a single device and observers would not be notified of additional devices. This was because the logic to determine if enumeration callbacks should be called was checking only that all previously seen devices (of which there was only one at that point) were ready and not that the sysfs tree had been completely walked. BUG=662486 Review-Url: https://codereview.chromium.org/2523403002 Cr-Commit-Position: refs/heads/master@{#434718} (cherry picked from commit 5c30282c70ec5f7f92129589fbbc84fef5738454) Committed: https://chromium.googlesource.com/chromium/src/+/d26a894642fb6aca8c30b25753372d6814fbcb4e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M device/usb/usb_service_linux.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 2 (1 generated)
Reilly Grant (use Gerrit)
4 years ago (2016-11-29 20:30:36 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d26a894642fb6aca8c30b25753372d6814fbcb4e.

Powered by Google App Engine
This is Rietveld 408576698