Method and electronic device for determining headset line sequence
AssigneeHuawei Device Co., Ltd.
InventorsWenchao Xiao, Jun Yang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Device Co., Ltd.
InventorsWenchao Xiao, Jun Yang
Estimating the term…
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.
A method for determining headset line sequence, wherein a headset comprises a headset plug and a headset line, one end of the headset plug is connected to the headset line of the headset, the headset plug is disposed with a first pin, a second pin, a third pin and a fourth pin sequentially from the other end of the headset plug to the one end connected to the headset line, a signal type of a signal transmitted by the first pin is a left sound channel signal, a signal type of a signal transmitted by the second pin is a right sound channel signal, the third pin and the fourth pin are connected to a direct-current power supply to form a power supply branch, a bias resistor is connected onto the power supply branch in series, and a voltage of the direct-current power supply is a first voltage, the method comprising:
An electronic device for determining headset line sequence, connected to a headset, wherein the headset comprises a headset plug and a headset line, one end of the headset plug is connected to the headset line of the headset, the headset plug is disposed with a first pin, a second pin, a third pin and a fourth pin sequentially from the other end of the headset plug to the one end connected to the headset line, a signal type of a signal transmitted by the first pin is a left sound channel signal, a signal type of a signal transmitted by the second pin is a right sound channel signal, the third pin and the fourth pin are connected to a direct-current power supply to form a power supply branch, a voltage of the direct-current power supply is a first voltage, and the electronic device comprises:
Dependencies are inferred from the claim text.