whatcable icon indicating copy to clipboard operation
whatcable copied to clipboard

[Bug] Missed likely cable limit: identified Apple 96W adapter capped at 60W, cable swap restores 94W

Open rcross opened this issue 2 weeks ago • 2 comments

What's wrong

An Apple adapter identified by WhatCable as 96W USB-C Power Adapter only advertised/negotiated 60W (20V × 3A) with the original cable. WhatCable did not suggest the cable or cable identification as a possible limit.

Replacing only the cable on the same adapter and USB-C port changed the advertised and negotiated maximum to 94W (20V × 4.7A). This is evidence that the original cable/connection was involved, although its actual rating and whether the problem was cable capability, contact, or e-marker communication remain unknown.

Both captures have an unread cable identity: Present, but not read on this connection. macOS usually reads it above 3A or over Thunderbolt.

There is also a contradictory CLI summary: it says "Connected / Connect a charger to identify the cable.", despite the same JSON containing the Apple adapter identity, connectionActive: true, USB-PD source options, and a negotiated power contract. This remains reproducible with the replacement cable at 94W.

Expected: When the identified adapter has a nominal rating above 60W but the current offer/contract is capped at 3A and cable capability is unknown, explain that the cable or its identification may be limiting available power and suggest testing a known 5A cable. Distinguish the adapter's nominal identity from the power offered on this connection. Do not infer a definite 60W cable rating from an unread e-marker, or infer nominal wattage from arbitrary product strings without validation.

The summary should also acknowledge available charger/contract evidence, or explain conflicting system telemetry, rather than simply ask for a charger to be connected.

Mac model

MacBook Pro, Apple M3 Max (Mac15,8).

macOS version

27.2, build 26B123 (from sw_vers).

WhatCable version

1.5.0, CLI at /opt/homebrew/bin/whatcable.

Cable

Original and replacement cable brand/model/claimed specifications unknown. Their ratings were not decoded by WhatCable.

What's plugged into the other end?

Official Apple 96W USB-C power adapter, connected on Port-USB-C@1. WhatCable reports model 0x7002, hardware version 1.0, identity source uvdm. Adapter identity/serial was the same across captures; serial omitted for privacy.

Steps and observations

  1. With the original cable, run whatcable --json --no-usb-probe, then whatcable --json --raw --no-usb-probe: USB-PD maximum and negotiated power are 60W, identity unread, no cable warning.
  2. Replace the cable, retaining the same charger and Mac port.
  3. Run whatcable --json --no-usb-probe: USB-PD maximum and negotiated power rise to 94W; identity is still unread.
  4. Repeat with normal deep probing enabled, whatcable --json --raw: 94W and the contradictory "Connect a charger" summary persist. Thus the current summary symptom is not specific to --no-usb-probe.

These are PD contract/capability readings, not measured instantaneous consumption. The original cable has not been reinserted for an A/B/A test.

Before: original-cable JSON excerpt

Selected actual fields from the original capture, with serials and unrelated ports omitted. This is an excerpt, not a complete raw dump.

{
  "name": "Port-USB-C@1",
  "accessory": {
    "name": "96W USB-C Power Adapter",
    "model": "0x7002",
    "hardwareVersion": "1.0",
    "source": "uvdm"
  },
  "headline": "Connected",
  "subtitle": "Connect a charger to identify the cable.",
  "status": "unknown",
  "cable": {
    "activeLayoutContradiction": false,
    "endpoint": "SOP'",
    "vendorID": 0,
    "vendorName": "No vendor reported"
  },
  "bulletGroups": [
    {
      "header": "What the cable's e-marker reports",
      "lines": [],
      "source": "emarker",
      "state": "Present, but not read on this connection. macOS usually reads it above 3A or over Thunderbolt."
    }
  ],
  "powerSources": [
    {
      "maxPowerW": 60,
      "name": "USB-PD",
      "negotiated": {
        "currentA": 3,
        "powerW": 60,
        "voltageV": 20
      },
      "options": [
        {
          "currentA": 3,
          "powerW": 60,
          "voltageV": 20
        },
        {
          "currentA": 3,
          "powerW": 45,
          "voltageV": 15
        },
        {
          "currentA": 3,
          "powerW": 27,
          "voltageV": 9
        },
        {
          "currentA": 3,
          "powerW": 15,
          "voltageV": 5
        }
      ]
    }
  ]
}

After: replacement-cable raw JSON

Actual whatcable --json --raw capture, filtered to the charger port. Adapter serial redacted; unrelated ports and devices omitted.

{
  "version": "1.5.0",
  "ports": [
    {
      "accessory": {
        "hardwareVersion": "1.0",
        "model": "0x7002",
        "name": "96W USB-C Power Adapter",
        "serialNumber": "<REDACTED>",
        "source": "uvdm"
      },
      "billboardDevicePresent": false,
      "bulletGroups": [
        {
          "header": "What the cable's e-marker reports",
          "lines": [],
          "source": "emarker",
          "state": "Present, but not read on this connection. macOS usually reads it above 3A or over Thunderbolt."
        }
      ],
      "bullets": [
        "Present, but not read on this connection. macOS usually reads it above 3A or over Thunderbolt."
      ],
      "cable": {
        "activeLayoutContradiction": false,
        "endpoint": "SOP'",
        "vendorID": 0,
        "vendorName": "No vendor reported"
      },
      "className": "AppleHPMInterfaceType10",
      "connectionActive": true,
      "device": {
        "pdRevision": "PD 2.0",
        "productID": 0,
        "vendorID": 0,
        "vendorName": "No vendor reported"
      },
      "headline": "Connected",
      "name": "Port-USB-C@1",
      "pdCapable": true,
      "powerSources": [
        {
          "maxPowerW": 94,
          "name": "USB-PD",
          "negotiated": {
            "currentA": 4.7,
            "powerW": 94,
            "voltageV": 20
          },
          "options": [
            {
              "currentA": 4.7,
              "powerW": 94,
              "voltageV": 20
            },
            {
              "currentA": 3,
              "powerW": 45,
              "voltageV": 15
            },
            {
              "currentA": 3,
              "powerW": 27,
              "voltageV": 9
            },
            {
              "currentA": 3,
              "powerW": 15,
              "voltageV": 5
            }
          ]
        },
        {
          "maxPowerW": 8,
          "name": "Brick ID",
          "options": [
            {
              "currentA": 1.5,
              "powerW": 7.5,
              "voltageV": 5
            }
          ]
        },
        {
          "maxPowerW": 15,
          "name": "TypeC",
          "options": [
            {
              "currentA": 3,
              "powerW": 15,
              "voltageV": 5
            }
          ]
        }
      ],
      "rawProperties": {
        "AccessoryMode": "0",
        "ActiveCable": "0",
        "AppLoaded Count": "1",
        "AuthorizationRequired": "0",
        "AutoMatched": "0",
        "Boot Flags": "61 03 10 00 01 60 04 1E 01 60 04 1E",
        "BuiltIn": "1",
        "CFBundleIdentifier": "com.apple.driver.AppleHPM",
        "CFBundleIdentifierKernel": "com.apple.driver.AppleHPM",
        "ConnectionActive": "1",
        "ConnectionCount": "5",
        "Description": "Port-USB-C@1",
        "DisplayPortPinAssignment": "0",
        "FW Version": "00 87 20 00",
        "FeaturesEnabled": "[TRM, LDCM, Power In]",
        "FeaturesSupported": "[TRM, LDCM, Power In]",
        "HChk": "63 00 FE FE FE FE",
        "HPDAsserted": "0",
        "HPM Mode Block Active": "0",
        "IOAccessoryActivePowerMode": "1",
        "IOAccessoryDetect": "1",
        "IOAccessoryID": "-1",
        "IOAccessoryManagerAllowedFeatures": "0",
        "IOAccessoryManagerSleepPower": "0",
        "IOAccessoryManagerType": "3",
        "IOAccessoryPowerCurrentLimits": "[0, 0, 0, 0, 0]",
        "IOAccessoryPowerMode": "3",
        "IOAccessoryPrimaryDevicePort": "1",
        "IOAccessorySleepPowerCurrentLimit": "0",
        "IOAccessorySupportedPowerModes": "[1, 3]",
        "IOAccessoryUSBActive": "1",
        "IOAccessoryUSBConnectString": "None",
        "IOAccessoryUSBConnectType": "0",
        "IOAccessoryUSBConnectTypePublished": "0",
        "IOAccessoryUSBModeType": "4",
        "IOAccessoryUSBSuperSpeedActive": "0",
        "IOClass": "AppleHPMInterfaceType10",
        "IOFunctionParent000001D6": "",
        "IOGeneralInterest": "IOCommand is not serializable",
        "IOMatchCategory": "IODefaultMatchCategory",
        "IOMatchedAtBoot": "1",
        "IOPersonalityPublisher": "com.apple.driver.AppleHPM",
        "IOPowerManagement": "{CapabilityFlags: 32768, ChildrenPowerState: 2, CurrentPowerState: 2, DevicePowerState: 2, MaxPowerState: 2}",
        "IOProbeScore": "110",
        "IOProviderClass": "AppleHPMDeviceHAL",
        "IOUserClientClass": "IOAccessoryManagerUserClient",
        "LDCMPin": "1",
        "LDCMPinDescription": "Reference",
        "LDCM_LiquidDetected": "0",
        "LDCM_MeasurementStatus": "0",
        "LDCM_MeasurementStatusDescription": "No Error",
        "LDCM_MitigationsEnabled": "0",
        "LDCM_State": "1",
        "LDCM_StateDescription": "Idle",
        "LDCM_UserOverrideActive": "0",
        "Metadata": "{}",
        "OpticalCable": "0",
        "Overcurrent Count": "0",
        "Pin Configuration": "{rx1: 2, rx2: 0, sbu1: 0, sbu2: 0, tx1: 1, tx2: 0}",
        "Plug Event Count": "9",
        "PlugOrientation": "1",
        "PortDescription": "Port-USB-C@1",
        "PortNumber": "1",
        "PortType": "2",
        "PortTypeDescription": "USB-C",
        "SOP UVDM Update Count": "0",
        "SOPMfgString": "iPad",
        "SOPPID": "71 02",
        "SOPVID": "05 AC",
        "TransportsActive": "[CC]",
        "TransportsProvisioned": "[CC]",
        "TransportsSupported": "[CC, USB2, USB3, CIO, DisplayPort]",
        "TransportsUnauthorized": "[]",
        "UserAuthorizationStatus": "0",
        "UserAuthorizationStatusDescription": "Not Required"
      },
      "status": "unknown",
      "subtitle": "Connect a charger to identify the cable.",
      "thunderboltSwitchIndex": 0,
      "transports": {
        "active": [
          "CC"
        ],
        "provisioned": [
          "CC"
        ],
        "supported": [
          "CC",
          "USB2",
          "USB3",
          "CIO",
          "DisplayPort"
        ]
      },
      "trust": {
        "contradiction": false,
        "tier": "amber"
      },
      "type": "USB-C"
    }
  ]
}

Source observations (possible explanation, not a verified fix)

At v1.5.0 ChargingDiagnostic.swift, lines 137–151, the cable-limit warning requires a decoded cable VDO wattage strictly below the charger maximum. An unread cable VDO skips this condition, and the current source maximum can already be reduced to 60W.

PortSummary.swift, lines 898–910 applies the same requirement to the cable-limit headline suffix. The observed "Connect a charger" text is in the systemPowerUnavailable branch near lines 1147–1160; the underlying reason for entering that branch on this Mac has not been established.

How often does this happen?

The original 60W condition was observed in two consecutive CLI captures before the cable swap. The replacement's 94W condition and missing/contradictory summary have persisted across multiple subsequent captures. No app UI comparison performed.

Related issues

Possibly related to #421 (60W/e-marker guidance) and #578 (missing e-marker despite a >3A contract). This report adds an identified 96W Apple adapter, an observed 60W → 94W change after a cable swap, and contradictory charger detection text.

rcross avatar Nov 16 '26 14:11 rcross

Fixed in v1.5.1.

darrylmorley avatar Nov 24 '26 10:11 darrylmorley

1.5.1 is out with both fixes from this report.

Cable hint. When an Apple charger rated well above 60W offers only 3A and the cable's details couldn't be read, the charging card now says "Cable may be limiting charging speed". It suggests a cable rated for 5A, 100W or more. The wording is hedged on purpose, because nothing was read from the cable itself. The rating comes from the charger's Apple name ("96W USB-C Power Adapter"), and the hint isn't shown for other names.

"Connect a charger" with a charger attached. This showed when the Mac ran on battery while a powered charger had a live contract, for example with a charge-limit app holding it off. The port card now says "Charger connected" and explains that the Mac isn't drawing power from it. It waits a few seconds before showing, so it doesn't flash as you plug in or unplug.

I don't have an Apple charger or a charge-limit app here, so neither has been tested on real hardware yet. If you can, please:

  1. Update to 1.5.1 and connect the 96W adapter with the original cable. The card should show the cable hint.
  2. Swap to the replacement cable. The hint should go away at 94W.
  3. If "Connect a charger" still appears in any state, say whether a charge-limit app was running, and attach whatcable --json --raw from that moment.

This issue closes automatically with the release. Please reopen it if either part doesn't behave as described.

darrylmorley avatar Nov 24 '26 10:11 darrylmorley