You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Add USB-C Port Power & Cable Bottleneck Diagnostics.
#2000
Feature Request: Add USB-C Port Power & Cable Bottleneck Diagnostics to mo status
Motivation / 背景
When monitoring Mac hardware health and power status via mo status (or the Menu Bar status panel), users often encounter slow charging or throttled external SSD speeds without realizing the culprit is a mismatched USB-C cable (e.g., using a 60W USB 2.0 charging cable on a 100W charger or Thunderbolt drive).
Inspired by WhatCable, macOS on Apple Silicon natively exposes USB Power Delivery (USB-PD) negotiation states and cable e-marker metadata via public IOKit APIs—requiring no root privileges, no background daemon, and zero external dependencies.
Proposed Integration / 建議方案
Instead of adding a separate command, integrate lightweight port diagnostics directly into the existing Status / Power section:
Active Port Summary: Show negotiated wattage/voltage/current for active USB-C ports (e.g., USB-C Port 1: 96W · USB4 40Gbps).
Bottleneck Warning (Only when throttled): Surface a concise warning when the cable is the weak link:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Feature Request: Add USB-C Port Power & Cable Bottleneck Diagnostics to
mo statusMotivation / 背景
When monitoring Mac hardware health and power status via
mo status(or the Menu Bar status panel), users often encounter slow charging or throttled external SSD speeds without realizing the culprit is a mismatched USB-C cable (e.g., using a 60W USB 2.0 charging cable on a 100W charger or Thunderbolt drive).Inspired by WhatCable, macOS on Apple Silicon natively exposes USB Power Delivery (USB-PD) negotiation states and cable e-marker metadata via public
IOKitAPIs—requiring no root privileges, no background daemon, and zero external dependencies.Proposed Integration / 建議方案
Instead of adding a separate command, integrate lightweight port diagnostics directly into the existing Status / Power section:
USB-C Port 1: 96W · USB4 40Gbps).! Cable limiting charging speed (Cable: 60W / 3A, Charger: 100W)! Cable limiting link speed (USB 2.0 cable on high-speed device)Why it fits Mole / 契合點
mo statushardware/power insights without bloating the CLI command surface.IOKiton Apple Silicon (macOS 14+), keeping Mole fast and dependency-free.中文簡述:
建議在現有的
mo status(及 Mac 原生版狀態面板)電源/硬體資訊中,加入類似 WhatCable 的輕量級 USB-C 端口與線材瓶頸提示。透過 Apple Silicon 原生IOKit讀取 USB-PD 協商狀態與線材 e-marker 規格(無需 root 或額外依賴),僅在出現「線材限制充電功率」或「線材限制外接硬碟傳輸速率」時給出簡潔提醒,不增加額外指令負擔。All reactions