Patent ID: 8467828

Claim:
A system for detecting a type of plug to be received by a portable electronic device, the system comprising: a jack constructed to receive a plug selected from at least a microphone type and a non-microphone type, wherein the jack comprises at least a microphone connector electrically coupled to microphone detection circuitry, and a ground connector coupled to a ground source; the microphone detection circuitry operative to determine whether the received plug is the microphone type or the non-microphone type, the microphone detection circuitry including: a bias power source to be applied to the microphone connector while the plug is detected in the jack, wherein the microphone connector is coupled to the bias power source; a transistor whose control electrode is coupled to the microphone connector, and whose output electrode provides a signal which indicates whether the received plug is the microphone type or the non-microphone type; a separate HEADSET DETECT signal that indicates whether a plug is received by the jack; headset switch detection circuitry to monitor the microphone connector for a headset switch activation event and provide a further signal in response to a monitored headset switch activation event executed by a headset switch; and wherein the headset switch is a first headset switch, wherein the headset switch activation event is a first headset switch activation event, wherein the microphone is electrically connected to a second headset switch, the headset switch detection circuitry to: monitor the plug for a second headset switch activation event executable by the second headset switch; change a state of the further signal in response to a monitored first headset switch activation event; and change a state of the further signal in response to a monitored second headset switch activation event.