摘要 |
A method and an electronic device for determining headset line sequence are disclosed in this application, where a third pin and a fourth pin on a headset plug are connected to a direct-current power supply to form a power supply branch, and a bias resistor is connected onto the power supply branch in series. This application obtains a second voltage between the third pin and the fourth pin, compares the second voltage with a preset first threshold, and according to a comparison result, determines a signal type of a signal transmitted by the third pin and a signal type of a signal transmitted by the fourth pin.
|