Re: ucsi_acpi GET_CONNECTOR_STATUS failed (-5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just managed to get some more details. The bug definitely originates from `ucsi_handle_connector_change`. Within this function it is the second call to ucsi_send_command with UCSI_GET_CONNECTOR_STATUS that fails (Step 4).

`ucsi_send_command` calls `ucsi_exec_command` internally, which does the synchronous write and following read. Within `ucsi_exec_command` the check on line 134 fails:

if (cci & UCSI_CCI_COMMAND_COMPLETE)

Hope this is of some help.

Ulrich




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux