This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How can software know the status of CHRG_DET_N.
I want to judge the USB connection type (PC USB or AC adapter USB) by CHRGE_DET_N in Linux kernel.