Skip to content

Power Brick control #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jcdutton opened this issue Apr 23, 2025 · 0 comments
Open

Power Brick control #64

jcdutton opened this issue Apr 23, 2025 · 0 comments

Comments

@jcdutton
Copy link

Hi,

The FW USB-C PD is a "dual" mode device, in that it can both source and sink power.
This works quite well when one plugs in a "source" mode device or a "sink" mode device.
There is no ambiguity there.
The problem comes when one has a Power Brick that is also a "dual" mode device.

dual mode device <=> dual mode device
Who wins, who charges who?

I would like to add an ectool command so that a user can hint to a particular USB port whether it should act as a source or a sink when it sees a dual mode device.
It allows the user to override unexpected behavior.

I am happy to edit the EC source code myself to implement this feature.
My question is, what command does the EC need to send the USB-C port to change it from being a "dual" mode device to be a "sink" mode only device?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant