EmbeddedController icon indicating copy to clipboard operation
EmbeddedController copied to clipboard

EC returns a CCI Error when querying for GET_CABLE_PROPERTY (0x11)

Open mowoe opened this issue 4 months ago • 0 comments

Hi,

Since some time, i noticed that USB PD was not working anymore for me. I saw that dmesg contained some errors coming out of the ucsi_acpi part of the kernel:

[  124.935295] ucsi_acpi USBC000:00: unknown error 0
[  124.935306] ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)

I patched the ucsi kernel module to see whats going on. There i saw that the EC sets the CCI_Error Bit:

[  126.487451] UCSI DBG: command:=0x40011 opcode:=0x0011 connector:=0x0004
[  126.505393] UCSI DBG: cmd=0x40011 opcode=0x11 connector=0x4 has returned a CCI Error (0x40000000), CCI: 0xc0000000, (1073741824)!
[  126.567404] ucsi_acpi USBC000:00: unknown error 256
[  126.567414] UCSI DBG: ret=0xfffffffb
[  126.567416] ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)

I am on the newest firmware (03.06), but what is interesting is that the PD Controller versions are reported as 0.0, but i dont know if that was ever correct.

Unfourtunately, i dont have a way to directly attach to the SWD/UART interface of the EC right now, so im a bit hesitant to do some firmware hacking myself.

Any help would be appreciated, thanks in advance!

mowoe avatar Sep 08 '25 16:09 mowoe