# WhatCable

在 Apple Silicon Mac 上检查 USB-C 线缆能力、扩展坞拓扑及充电和链路瓶颈。

> 这是 OpenNavo 上 WhatCable 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/whatcable>

- **最新版本**: `1.5.1`
- **开发者**: Darryl Morley
- **主页**: <https://github.com/darrylmorley/whatcable>
- **分类**: [驱动与硬件](https://opennavo.com/zh/categories/drivers)
- **安装**: `brew install --cask whatcable`
- **近 30 天安装**: 1,185
- **Homebrew**: 可以安装，应用会自行更新
- **下载地址**: <https://github.com/darrylmorley/whatcable/releases/download/v1.5.1/WhatCable.zip>
- **SHA-256**: `7a018941f6588da240bb34a98cce4f2ec98a16c9521d57c142c816a09fd5d418`
- **附带命令**: whatcable

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "uk.whatcable.whatcable"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "WhatCable.app"
      ],
      "target": "/Applications/WhatCable.app"
    },
    "phase": "install",
    "sources": [
      "WhatCable.app"
    ],
    "target": "/Applications/WhatCable.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/WhatCable.app/Contents/Helpers/whatcable"
      ],
      "target": "$HOMEBREW_PREFIX/bin/whatcable"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/WhatCable.app/Contents/Helpers/whatcable"
    ],
    "target": "$HOMEBREW_PREFIX/bin/whatcable",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Scripts/M4RUJ7W6MP.uk.whatcable.whatcable",
            "~/Library/Application Scripts/uk.whatcable.whatcable.widget",
            "~/Library/Application Support/WhatCable",
            "~/Library/Caches/com.bitmoor.whatcable",
            "~/Library/Caches/uk.whatcable.whatcable",
            "~/Library/Containers/uk.whatcable.whatcable.widget",
            "~/Library/Group Containers/M4RUJ7W6MP.uk.whatcable.whatcable",
            "~/Library/HTTPStorages/com.bitmoor.whatcable",
            "~/Library/HTTPStorages/uk.whatcable.whatcable",
            "~/Library/Preferences/com.bitmoor.whatcable.plist",
            "~/Library/Preferences/uk.whatcable.whatcable.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

WhatCable 是一款 macOS 菜单栏工具，并附带用于检查 USB-C 线缆、已连接设备拓扑和充电行为的命令行工具。它可帮助排查扩展坞、存储速度慢、显示器或充电问题，区分 Mac 端口、线缆和设备各自的能力。它读取 IOKit 提供的端口和电源信息，包括可用时的线缆电子标记数据，但不会对线缆进行电气认证。

### 安装与支持的硬件
解压官方 ZIP 文件，并将 WhatCable.app 移至“应用程序”，或使用 `brew install --cask whatcable`。确切的 1.4.0 ZIP 文件大小为 17,166,182 字节。发布方要求使用 macOS 14 或更高版本及 Apple Silicon；Intel Mac 无法提供线缆报告所需的 USB-C 端口控制器数据。需要可用的 USB-C 连接和受支持的硬件数据。未说明固定的最低内存要求。并非所有无源线缆都带有电子标记，扩展坞、适配器和固件也可能限制 macOS 能报告的信息。

### 功能与付费诊断
基础应用会报告线缆速度和供电能力、已连接设备，以及通俗易懂的链路或充电瓶颈信息。可选的 Pro 功能包括实时功率测量、协商与显示诊断，以及已保存的线缆历史记录。代码仓库中的代码默认采用 MIT 许可，而专有的 WhatCablePlugins 子树另有权利保留条款。Pro 需要单独购买许可；核心免费且开源，并不意味着所有捆绑功能都不受限制或免费。价格和条款请参阅当前 Pro 页面。

### 权限、账户与网络
发布方称，应用通过 IOKit 在本地读取信息，无需辅助守护进程或特殊权限。常规线缆检查在本地完成，无需云账户。应用会定期联系 GitHub 检查更新。报告线缆问题时，应用会打开一则预填了硬件能力数据的 GitHub 议题；只有在你提交后，这些数据才会发送，并且提交后将公开。“贡献诊断数据”是另一项单独的选择加入操作，会发送匿名化的端口和电源详情。分享前请检查这些数据；使用 GitHub 或激活 Pro 还需要满足各自的账户和网络要求。

### 安全解读结果
协商得到的充电功率并不总是当前功耗：电池已充满、设置了充电上限或充电器未启用，都可能导致充电功率较低或为零。线缆标称能力、实际实时链路和设备最大能力是不同的指标。认证是自愿的，未列出的 USB-IF 标识并不自动意味着线缆有问题。应将判定结果视为诊断依据，而非避免电气损坏的保证，也不能替代实物检查。官方截图显示的是 1.3.0，因此其布局仅供参考，并非精确的 1.4.0 截图。

来源：[官方项目与隐私](https://github.com/darrylmorley/whatcable)、[Pro](https://whatcable.uk/pro)、[许可](https://github.com/darrylmorley/whatcable/blob/main/LICENSE)、[确切版本](https://github.com/darrylmorley/whatcable/releases)。

## 系统要求

- macOS 14 起 · 应用版本: 1.5.1 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 核查于 2026-12-01
  - <https://github.com/darrylmorley/whatcable/releases/download/v1.5.1/WhatCable.zip>
  - SHA-256: `7a018941f6588da240bb34a98cce4f2ec98a16c9521d57c142c816a09fd5d418`

## WhatCable 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/darrylmorley/whatcable> · 是否开源: 是 — <https://github.com/darrylmorley/whatcable> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask whatcable`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask whatcable`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Scripts/M4RUJ7W6MP.uk.whatcable.whatcable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Scripts/uk.whatcable.whatcable.widget` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Support/WhatCable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/com.bitmoor.whatcable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/uk.whatcable.whatcable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Containers/uk.whatcable.whatcable.widget` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Group Containers/M4RUJ7W6MP.uk.whatcable.whatcable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/com.bitmoor.whatcable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/uk.whatcable.whatcable` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/com.bitmoor.whatcable.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/uk.whatcable.whatcable.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 1.5.1 (2026-11-24)

### Cable limits on Apple chargers, a solid window, and fixes from your reports

#### Charging

- **WhatCable now spots when the cable may be what's limiting an Apple charger** (#672, thanks @rcross). If a charger rated well above 60 W only offers 3 A and the cable's details couldn't be read, the card says "Cable may be limiting charging speed" and suggests a cable rated for 5 A, 100 W or more.
- **A charger that's plugged in but not being used now reads "Charger connected"**, not "Connect a charger". This happens when a charge-limit app holds your Mac on battery. It waits a few seconds before showing, so it doesn't flash as you plug in or unplug.

#### Displays

- **No more false "Monitor can do more than it is set to" warning** when a monitor offers both 4K at 50 Hz and 4K at 60 Hz (#677, thanks @haxsmert). The best mode is now the one that draws the most pixels per second.

#### App

- **New setting: a solid background for the menu bar window** (#562, suggested by @jimmyorz). The see-through background could get uncomfortably bright over light windows.
- **The window remembers its position and size** across launches (#522, thanks @PeterGi9313thub).
- **Accessibility tools that press the menu bar icon now open it** (#632, thanks @charlessnow).

#### Pro terminal dashboard

- **Correct colours and no flicker in Terminal.app** (#579, thanks @official-Cromatin). The dashboard uses 256 colours unless your terminal says it supports full colour. To force full colour, run it with `COLORTERM=truecolor`.
- The dashboard is now translated.

#### Translations

- Persian added, contributed by @aliafshany. Italian updates from @bovirus and Traditional Chinese updates from @jimmyorz.
- Five strings that always showed in English are now translated.

#### Cables

- The cable database now holds 157 entries, up from 145.
- The cable report form shows the fingerprint as a proper table, contributed by @salt-lick.
- The README now explains how to put the bundled `whatcable` command on your PATH with `/etc/paths.d` (#439, thanks @MSSEsq).

#### For scripts that read WhatCable's output

- `whatcable --json` and `--bench-report` pick the display's top mode the new way: the declared mode with the most picture pixels per second (width x height x refresh), not the highest pixel clock. So a CTA 4K at 50 Hz no longer outranks a reduced-blanking 4K at 60 Hz. `--bench-report` captures are now `schemaVersion` 4. `topDetailedTimingPixelClockHz`, `topDetailedTimingRefreshHz` and `topModeSource` keep their names and types.
- `whatcable --json` `charging.bottleneck` and `--bench-report` `diagnostics.charging.kind` have a new value, `possibleCableLimit`. It comes with two new integer fields: `chargerRatedW` (the rating in the charger's Apple name) and `offeredW` (its top offer now). Both are left out for every other value. With this value, `--bench-report`'s `negotiatedW` is the live contract and `chargerW` is the rating. The change only adds things, so `schemaVersion` stays 4, but code that switches on the value should handle it.

## 资料与来源

- <https://opennavo.com/zh/apps/whatcable>
- <https://opennavo.com/zh/apps/whatcable/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/whatcable.rb> · 核查于 2026-12-01
- <https://formulae.brew.sh/cask/whatcable>
- <https://github.com/darrylmorley/whatcable> · 核查于 2026-11-13
