New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 903022 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Enable ChromeOS USB autosuspend for "Made by Google" audio devices

Project Member Reported by nkolluru@google.com, Nov 8

Issue description

Chrome Version: (copy from chrome://version)
71.0.3578.39 (Official Build) beta (64-bit)

OS: (e.g. Win10, MacOS 10.12, etc...)
ChromeOS platform 1131.23.0 (Official Build) beta-channel REDACTED

What steps will reproduce the problem?
(1) Plug in a 2018 Google 3.5mm-to-USBC adapter or a 2018 Google USBC Pixel3 headset
(2) Monitor power consumption using a USBC sniffer
(3) Wait for a period of time for headset to sleep

What is the expected result?
(4) The USB device is suspended and pwer consumption goes down.

What happens instead?
(4) Device does not suspend properly and power consumption remains high.


NOTE:
This applies to other products as well, which are not named here for various reasons. Discussion with experts suggests a straightforward resolution may be possible.



Please use labels and text to provide additional information.

If this is a regression (i.e., worked before), please consider using the
bisect tool (https://www.chromium.org/developers/bisect-builds-py) to help
us identify the root cause and more rapidly triage the issue.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.
 
Cc: bleung@chromium.org dnschn...@chromium.org
Components: OS>Kernel>Audio>External
Owner: bleung@chromium.org
Assigned to bleung@ per request.
Components: OS>Kernel>Power
Labels: M-72
Status: Assigned (was: Untriaged)
Platform version is 11151.23.0, an M71 build.

I'll target the change for M72.
For my own notes.

Vid:pid for the 3.5mm adapter :  idVendor=18d1, idProduct=5034
Vid:pid for the USB-C digital headset : idVendor=18d1, idProduct=5033
Project Member

Comment 6 by bugdroid1@chromium.org, Nov 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/d30b0a8b681ffe7d102472107a8b91ae5965d636

commit d30b0a8b681ffe7d102472107a8b91ae5965d636
Author: Benson Leung <bleung@chromium.org>
Date: Thu Nov 15 10:16:31 2018

power: Add 2018 Google audio accessories to whitelist

Also includes one not made by Google that seems to be pretty good.

Signed-off-by: Benson Leung <bleung@chromium.org>

BUG= chromium:903022 
TEST=Attach each of the three devices added to Pixel Slate. Check in
/sys/bus/usb/devices that the device in question's power/runtime_status
settles on "Suspended" and power consumption is ~2.5mA as measured by
an inline meter.

Change-Id: I71966157e0e191bc0fdbc1b0700114005d07f62e
Reviewed-on: https://chromium-review.googlesource.com/1325399
Commit-Ready: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>

[modify] https://crrev.com/d30b0a8b681ffe7d102472107a8b91ae5965d636/power_manager/udev/gen_autosuspend_rules.py

Status: Fixed (was: Assigned)

Sign in to add a comment