Patent ID: 8724824

Claim:
A portable electronic device, comprising: an earphone jack circuit for receiving an earphone plug, the earphone plug comprising a first contact portion, a second contact portion, a third contact portion, and a fourth contact portion orderly formed thereon; the earphone plug selected from one of a first type and a second type; the first contact portion, the second contact portion, the third contact portion, and the fourth contact of the first type earphone plug serving as a left channel point, a right channel point, a microphone channel point and a ground point, respectively; the first contact portion, the second contact portion, the third contact portion, and the fourth contact of the second type earphone plug serving as a microphone channel point, a left channel point, a right channel point, and a ground point, respectively; wherein the earphone jack circuit comprises an earphone jack, the earphone jack comprises a first contact, a second contact, a third contact, and a fourth contact; the fourth contact is grounded; a control circuit sending audio to or receiving audio from the earphone plug by the earphone jack; wherein the control circuit includes a central processing unit (CPU), the CPU includes a control contact, a right channel contact connected to the second contact, a left channel contact and an audio receiving contact; and a switch circuit set between the earphone jack and the control circuit, the switch circuit including a first mode and a second mode; wherein the switch circuit comprises a relay, the relay comprises two input contacts connected to the control contact, two common contacts connected to the first contact and third contact, a first normally open contact connected to the audio receiving contact, a second normally open contact connected the left channel contact, a first normally closed contact connected the left channel contact, and a second normally closed contact connected to the audio receiving contact; in the first mode, the first contact is connected to the left channel contact, the third contact is connected to the audio receiving contact; in the second mode, the first contact is connected to the audio receiving contact and the third contact is connected to the left channel contact; the control circuit identifies whether the received earphone plug is the first type or the second type, and switches the switch circuit to the first mode or the second mode according to the type of the earphone plug.