GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
361 stars 21 forks source link

Type-C - Type-C connection issues #3891

Closed bitrate16 closed 2 months ago

bitrate16 commented 2 months ago

Device: pixel 7 Pro GOS Version: Latest by issue date (202408600

Issue: When connecting this device to powerbank/charged ssupporting PD/QC, device tends to conenct-disconnect multiple times in a row like if being plugged-unplugged. This is annoying when trying to charge phone because it requires observing the phone until it stops "jumping" and starts charging mormally (because sometimes it just tries to charge AC charger and discharges instead of charging). Also, when conencted to PD supporting port of laptop, they can't distinguish who will charge and who will be charged (really charged my laptop from phone over PD??) - so no usb tethering nor file transfer works - just infinite connect-disconnect sequence like if plugging-unplugging.

My assumption is that this issue is related to type-c role mode when both devices can charge and can be charged and also both ignore each other.

Is it possible to allow force sink-only or source-only mode without breaking data transfer but to stop phone from trying to charge laptop or AC?

thestinger commented 2 months ago

These sound like non-compliant chargers. Pixels are handling things properly.

thestinger commented 2 months ago

My assumption is that this issue is related to type-c role mode when both devices can charge and can be charged and also both ignore each other.

They're meant to have proper priorities configured though and they figure out which one the user likely wants charged.