A system and method are presented for identifying, in an electrical device
having an audio interface port, a headset type. The system includes a
microcontroller logic unit with an output, connected to a test network,
to supply a test voltage. The test network also is connected to the audio
interface port. The test network can include combinations of resistors,
capacitors, and switches. A voltage determination sub-system has an input
connected to the interface port line and an output to supply a
determination signal responsive to voltage at the audio interface port.
The logic unit has an input connected to the determination sub-system
output and compares determination signal values with a predetermined
threshold value to identify a headset type connected to the audio
interface port.