Skip to content
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

Manage non-hub USB-C port power? #350

Closed
xanoni opened this issue Jun 7, 2021 · 1 comment
Closed

Manage non-hub USB-C port power? #350

xanoni opened this issue Jun 7, 2021 · 1 comment

Comments

@xanoni
Copy link

xanoni commented Jun 7, 2021

Hello everyone, I'm trying to power on/off the USB-C ports of a MacBook Pro 16" (2019, Big Sur 11.4). Does this tool allow me to do that? Do I even need a special tool?

I played around with uhubctl (2.4.0-12-g69c444b7), but it only showed me ports on USB hubs, but not the normal ports. Thank you.

@mvp
Copy link
Owner

mvp commented Jun 7, 2021

uhubctl can work by enumerating USB hubs, and if they advertise per-port power switching, then it can control port power.

However, USB-C ports on Macbook Pro are somewhat weird. First off, they are primarily Thunderbolt ports, and USB support is their secondary function. Also, these ports are not explicitly attached to any USB hub. It makes these ports invisible for uhubctl.

If you have external USB hub that has USB-C ports, uhubctl should be able to enumerate them and control their port power.

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

2 participants