# Patent

## Title
Method of detecting accessories on an audio jack

## Abstract

An apparatus comprises an audio or video jack connector configured to receive an audio or video jack plug of a separate device, a detection circuit in electrical communication with the connector, and a processor communicatively coupled to the detection circuit. The connector includes an electrical contact for connection to a conducting terminal of the plug. The detection circuit is configured to determine a resistance at the conducting terminal. The resistance is a resistive load of the separate device at the conducting terminal of the plug. The processor is configured to identify a function of the separate device according to the determined resistance, and configure an operation of the apparatus according to the determined function.

## Background
BACKGROUND
Many types of electronic devices are available for providing management of personal information and for providing personal media entertainment. Some of these devices play audio media and video media such as slide shows, music, movies, and other video programs. Examples, include a personal computer, a personal data assistant, an MP3 player, and a cell phone. Users may want different device capabilities based on the type of media involved and may want to mix and match accessories with the media players. To provide the accessories the users may need a basic level of sophistication to determine device compatibility and to get different devices to interact.
OVERVIEW
This document relates generally to systems and methods for automatically detecting a device when it is connected to a host device, and in particular, to detecting the presence and type of an accessory device from the interconnection with the host device.
An apparatus example includes an audio or video jack connector configured to receive an audio or video jack plug of a separate device, a detection circuit in electrical communication with the connector, and a processor communicatively coupled to the detection circuit. The connector includes an electrical contact for connection to a conducting terminal of the plug. The detection circuit is configured to determine a resistance at the conducting terminal. The resistance is a resistive load of the separate device at the conducting terminal of the plug. The processor is configured to identify a function of the separate device according to the determined resistance, and configure an operation of the apparatus according to the determined function.
A method example includes detecting that an audio or video jack plug of a first device is inserted into an audio or video jack connector of a second device, determining a resistance at least one conducting terminal of the plug using the second device, identifying, using the second device, a function performable by the first device according to the resistance at the at least one conducting terminal, and configuring the second device according to the identified function performable by the first device.
This section is intended to provide an overview of subject matter of the present patent application. It is not intended to provide an exclusive or exhaustive explanation of the invention. The detailed description is included to provide further information about the present patent application.



BRIEF DESCRIPTION OF THE DRAWINGS
In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. Like numerals having different letter suffixes may represent different instances of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed in the present document.
FIG. 1 is an illustration of an example of an audio and/or video jack plug.
FIG. 2 shows a block diagram of portions of an example of a device to automatically detect the presence and type of an accessory device to which it is connected.
FIG. 3 is a block diagram of portions of an example of a detection circuit.
FIG. 4 is a flow diagram of an example of a method for automatically detecting the presence of an accessory device when it is connected to a host device.
FIG. 5 is a flow diagram of another example of a method for automatically detecting the presence of an accessory device when it is connected to a host device.
FIG. 6 is a flow diagram of an example of a method for automatically detecting the presence of an accessory device when it is connected to a host device and for identifying requested host device operations.



DETAILED DESCRIPTION
This document relates generally to systems and methods for automatically detecting the presence and type of an accessory device when it is connected to a host device. One type of interconnection between an accessory device and a host device is an audio jack connector or a video jack connector.
FIG. 1 is an illustration of an example of a jack plug of an audio jack or a video jack connector. An audio or video jack connector is sometimes called a TRS connector. The letters “TRS” stand for tip, ring and sleeve conducting terminals. In some examples, an audio or video jack connector may be a TS connector having only the tip and sleeve conducting terminals. In the example shown in FIG. 1, the audio or video jack connector has four conducting terminals and can be called a TRRS connector for the tip, ring, ring, and sleeve connections.
A jack plug can be included as part of several types of devices, such as a headset, a microphone, and an audio visual (A/V) cable. These devices are typically accessory devices plugged into a host device such as a media player or computing device. A user would have to program or otherwise configure the host device uniquely for each type of accessory device that was plugged into the host device. It would be convenient for the user if the host device was able to automatically recognize the type of device plugged into the audio jack or a video jack connector.
Table 1 shows an example of a signal map for a four terminal jack plug such as the jack plug shown in FIG. 1. For instance, as shown in the top row, if the accessory device is a stereo headset with a microphone (MIC), terminals 1 and 2 of the plug may be used for left audio and right audio respectively and terminal 3 may be used for the microphone connection. The signals are referenced to terminal 4 (e.g., ground).
The terminals of a jack plug will be connected to different types of circuits based on the function of the accessory device. Because of these different circuits, the impedance measured at the terminals of the jack plug will have different values depending on the function of the accessory device.











TABLE 1








Terminal



Accessory Device
Terminal 1
Terminal 2
3
Terminal 4







Stereo Headset
Left Audio
Right Audio
MIC
GND


with MIC


Mono Headset
Mono Audio
Mono Audio
MIC
GND


with MIC


Standard 3.5 mm
Left Audio
Right Audio
GND
GND


Headset


A/V Cable
Left Audio
Right Audio
Video
GND









Table 2 shows an example of how impedances measured at the terminals can be used to determine the type of accessory device plugged into the audio jack connector or the video jack connector. For instance, if impedance measured at terminals 1 or 2 is approximately 600 ohms (Ω) or less, the accessory device includes a headset. If measured impedance determines that terminals land 2 are shorted together, the headset is a mono-headset. Similarly, if the impedance measured at terminal 3 is about 75Ω, the accessory device includes a television. If the impedance at terminal 3 is approximately in the range of 1.1 kΩ-2.2 kΩ, the accessory device includes a microphone. Multiple resistances may used to indicate multiple functions of the accessory device, such as headset with a microphone indicated by terminals 1 and/or 2, and terminal 3.
Measured impedance can also be used to determine the presence of the jack plug. For instance, a jack plug can be detected when the impedance of any of the terminals has a value less than 500 kΩ. In another example, a jack plug can be detected when the impedance of any of the terminals has a value less than 10 kΩ.









TABLE 2





Terminal No.
Impedance Measured
Device ID







1 and 2
600 Ω or less
Headset



1 and 2 shorted
Mono Headset



1 and 2 not shorted
Stereo Headset


1 and 2
Greater than 500 kΩ
Open


3
GND
Short - SEND/END press




Or Standard Headset


3
75 Ω
TV


3
1 kΩ to 2.2 kΩ
Microphone


3
4 kΩ to 500 kΩ
Button Press Options


3
Greater than 500 kΩ
Open









FIG. 2 shows a block diagram of portions of an example of a device 200 to automatically detect the presence and type of an accessory device that is connected to it. The device 200 includes an audio or video jack connector 205 that receives an audio or video jack plug of the separate accessory device. The connector 205 includes an electrical contact for connection to a conducting terminal of the plug.
In certain examples, the connector 205 includes two electrical contacts 210A and 210B to receive a TS type connector plug. In certain examples, the connector 205 includes three electrical contacts 210A, 210B, and 210C to receive a TRS type connector plug. In certain examples, the connector 205 includes four electrical contacts 210A, 210B, 210C, and 210D to receive a TRRS type connector plug.
The device also includes a detection circuit 215 in electrical communication with the connector 205. The detection circuit 215 determines a resistance or impedance at one or more conducting terminals of jack plug. The resistance determined is a resistive load of the separate accessory device seen at the conducting terminal of the plug, and not merely the resistance of the conducting terminal.
FIG. 3 is a block diagram of portions of an example of a detection circuit 315. The resistor and capacitor RPIN and CPIN represent the impedance seen at a conducting terminal of a jack plug. The detection circuit 315 also includes a controllable current source 320 and a comparator 325. The current source 320 outputs (e.g., sources or sinks) a current that is proportional to the digital value (idac[9:0]) of an identification register. To determine the resistance of a conducting terminal, the detection circuit 315 changes (e.g., increases) the digital value of the register and provides the proportional current to RPIN to create a voltage VPIN at an input of the comparator 325. When VPIN is approximately equal to VREF, a detect signal is generated by the detection circuit. The value of RPIN is determined from the known value of VREF and the current value that corresponds to the digital value in the identification register.
The combined capacitance seen at the conducting terminal is the conduction terminal capacitance CPIN and the internal capacitance of the connection CINT. Because of this capacitance, there is a time constant associated with the voltage VPIN reaching its final value. The time for VPIN to reach 50% of its final value is 0.7RPIN*(CPIN+CINT). The detection circuit 315 allows enough time for VPIN to stabilize between measurements before changing the value of the identification register. In certain examples, the same detection circuit 315 is used to determine the resistance of multiple conducting terminals, such as by using a switch circuit to switch different terminals to the detection circuit input. In certain examples, a different detection circuit 315 is included for each conducting terminal.
Returning to FIG. 2, the device 200 also includes a processor 235 communicatively coupled to the detection circuit. The communicative coupling allows signals to be communicated to the processor 235 from the detection circuit 215 even though there may be intervening circuitry. In some examples, the processor 235 is a microprocessor. In some examples, the processor 235 is application specific integrated circuit (ASIC). The processor 235 executes instructions in software and/or firmware to perform the function described herein. The software and/or firmware are contained in modules. One or more functions may be performed by a module.
The processor 235 identifies a function of the separate accessory device according to the determined resistance. In certain examples, if the detection circuit 215 is the detection circuit 315 of FIG. 3, the processor 235 identifies a function of the separate device according to the value of the identification register. The processor 235 then configures operation of the device 200 according to the determined function.
For instance, the connector 205 may include a first electrical contact 210A for connecting to a first conducting terminal of the plug, and a second electrical contact 210C for connecting to a second conducting terminal of the plug. Using the examples in Table 2, if the processor determines that a measured resistance of one or more of the two conducting terminals is 600Ω, then the accessory device includes a headset and the processor 235 configures the device to provide audio signals to the conducting terminals. If the processor 235 determines that the electrical contacts are shorted together (e.g., by connecting the electrical contacts to the inputs of the detection circuit 215) then the accessory device is identified as a mono-headset. If the processor 235 determines that the electrical contacts are not shorted together, then the accessory device is identified as a stereo-headset and the processor 235 provides stereo audio signals to the conducting terminals.
In some examples, the device 200 includes a media player. The processor 235 is a baseband processor and the device 200 includes an audio codec module 240. The processor 235 configures the audio codec module 240 according to the determined function of the separate accessory device. In certain examples, the processor 235 configures the audio codec module 240 to provide mono or stereo audio signals to the conducting terminals of the plug according to whether the determined function is mono audio or stereo audio.
The device 200 is not limited to only providing audio information. In some examples, the processor 235 may determine that the accessory device includes a microphone (e.g., by measuring a resistance in the range of 1 kΩ to 2.2 kΩ at a third conducting terminal in the example of Table 2). The processor 235 configures the audio codec module 240 to receive audio signals from the conducting terminals of the plug according to the measured resistance.
The functions detected by the device 200 are not limited to audio functions. The accessory device may include a video display or monitor. In some examples, the device 200 includes a video processor 245. The processor 235 may determine that the accessory device includes video capability (e.g., by measuring a resistance of approximately 75Ω at a third conducting terminal in the example of Table 2). The processor 235 configures the video processor 245 to provide video information to a conducting terminal of the plug.
FIG. 4 is a flow diagram of an example of a method 400 for automatically detecting the presence of an accessory device when it is connected to a host device. At block 405, an audio or video jack plug of a first device is detected when inserted into an audio or video jack connector of a second device. In this way, the second device automatically detects the presence of the first device. In some examples, this may include detecting that the connector of the second device is no longer seeing an open circuit at its electrical contact or contacts. In certain examples, this occurs when current in the detection circuit begins flowing due to presence of a conducting terminal and creates a voltage VPIN less than a threshold voltage (e.g., VREF).
At block 410, a resistance at least one conducting terminal of the plug is determined using the second device. The resistance includes a resistive load of the first device measurable at the conducting terminal of the plug. At block 415, a function performable by the first device is identified by the second device according to the resistance at the at least one conducting terminal. At block 420, the second device automatically configures itself according to the identified function performable by the first device.
Returning to FIG. 2, according to some examples, the device 200 includes control logic circuit 250 communicatively coupled to the processor 235. The processor 235 uses the control logic circuit 250 to configure the device 200 such as by changing the state of switches in the device 200. In some examples, the control logic circuit 250 communicates information with the processor 235 using an inter-integrated circuit protocol (I2C). The device 200 includes an I2C slave module 255 for communicating with the processor 235.
FIG. 5 is a flow diagram of another example of a method 500 for automatically detecting the presence of an accessory device when it is connected to a host device. At block 505, the device 200 of FIG. 2 detects from measured impedance that a user has plugged an audio or video jack plug of an accessory device into the connector of the device 200.
At block 510, the resistance that identifies a function of the accessory device is determined. In some examples, the control logic circuit 250 changes the digital value of an identification to change the measuring current used by the detection circuit 215. When the detect signal is received from the detection circuit 215, the value stored in the identification register of the control logic circuit 250 indicates the function.
At block 515, the control logic circuit 250 generates an interrupt to the processor when the resistance has been determined by the detection circuit 215. The interrupt may be sent using the I2C protocol via the I2C slave module 255. At block 520, the processor 235 reads a value in the identification register. In certain examples, the processor 235 reads the identification register from the I2C slave module 255.
At block 525, the processor 235 determines (e.g., reads) the function of the accessory device using the value in the identification register. For example, the processor 235 may determine that the accessory device includes a headset, a stereo headset, a microphone, or a video display. The processor 235 then configures the device 200 according to the identified accessory device function. For instance, if the processor 235 determines that the accessory device is a headset, the processor 235 configures the control logic circuit 250 to switch audio information to the conducting terminals such as by switch multiplexer 260 for example. If the processor 235 determines that the accessory device displays video, the processor 235 configures the control logic circuit 250 to switch video information to the conducting terminals, such as by switch 265 for example. If the processor 235 determines that the accessory device includes a microphone, the processor 235 configures the control logic circuit 250 to route audio information from the conducting terminals to the audio codec module 240, such as by switch 265 for example.
According to some examples, the accessory device may be able to change the resistance seen at one or more of the conducting terminals. For instance, the accessory device may include a switch to change the resistance at a conducting terminal of the jack plug when the switch is activated by a user, such as by a button press for example. In some examples, the resistance at the conducting terminal only changes while the user activates the switch (e.g., depresses the button).
In some examples, the detection circuit 215 first determines the resistance seen at a conducting terminal of the jack plug and then detects the change in the determined resistance. As a result of detecting the change, a processor interrupt is generated by the control logic circuit 250. In certain examples, the processor receives a value indicative of the determined resistance in relation to the interrupt, such as from an identification register for example. The processor 235 changes an operation of the device 200 in response to the detected change in the resistance. In certain examples, the processor 235 initiates an operation identified according to the received value.
As an illustrative example, assume that, an initial resistance determined by the detection circuit 215 identifies an accessory device as including a headset. The resistance then changes from this initial resistance and the detection circuit 215 provides a value of the resistance to the processor 235. Based on the resistance value, the processor 235 then initiates an operation of the device 200 based on the value, such as stop, play, rewind, or fast forward. A non-exhaustive list of possible examples of resistances for such operations include 4 kΩ for stop, 5.62 kΩ for play, 7.87 kΩ for rewind, and 11 kΩ for fast forward. Other operations may include pause, skip, back, and volume up or down. In another example, the accessory device includes a video display or monitor and the operation includes menu operations, such as select, skip, play, fast forward and the like.
Different resistance values may be switched on to one or more conducting terminals to identify different operations for the same accessory device. In some examples, multiple keys of a headset with a keypad can be monitored. This may be useful for controlling a media player of the host device. In certain examples, the resistance change is only evident while the user depresses a button and returns to an original resistance when the button is no longer pressed. The device 200 may detect that a switch is stuck by monitoring the amount of time the change in resistance is evident.
In some examples, the device 200 includes a sense circuit 270 communicatively coupled to the control logic circuit 250 to detect presence of the plug. The detection circuit 215 detects a change in the resistance at the conducting terminal while the sense circuit 270 detects that the plug remains connected. The processor 235 then initiates an operation of the apparatus according to the detected change in resistance.
FIG. 6 is a flow diagram of an example of a method 600 for automatically detecting the presence of an accessory device when it is connected to a host device and for identifying requested device operations. At block 605, the device 200 of FIG. 2 detects from measured impedance that a user has plugged an audio or video jack plug of an accessory device into the connector of the device 200. The measured impedance is seen at a conducting terminal of the jack plug, and at block 610, the host device identifies the type of accessory device by the impedance.
At block 615, the detection circuit 215 detects a change in resistance of a conducting terminal of the jack plug. The change may be at the same conducting terminal used to identify the device or the impedance change may be seen at a different conducting terminal of the jack plug. The change may be due to the user pushing a button on the accessory device or from the user activating a switch on the cable or wire attached to the jack plug.
At block 620, an interrupt is generated when the resistance value is determined. The interrupt may be sent to the processor 235 of the device 200 using an I2C protocol. The processor 235 then reads the value corresponding to the resistance, such as by reading an identification register.
At block 625, the processor 235 identifies the operation corresponding to the resistance caused by the button press or switch activation. The processor 235 then initiates the operation. When the operation completes, the device waits for the next resistance change that signals the next device operation. It can be seen that this impedance monitoring allows the host device to detect the type of accessory plugged in so the host device can configure itself appropriately and allows the host device to continue to check for changes in status of the accessory device.
Additional Notes
The above detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show, by way of illustration, specific embodiments in which the invention can be practiced. These embodiments are also referred to herein as “examples.” All publications, patents, and patent documents referred to in this document are incorporated by reference herein in their entirety, as though individually incorporated by reference. In the event of inconsistent usages between this document and those documents so incorporated by reference, the usage in the incorporated reference(s) should be considered supplementary to that of this document; for irreconcilable inconsistencies, the usage in this document controls.
In this document, the terms “a” or “an” are used, as is common in patent documents, to include one or more than one, independent of any other instances or usages of “at least one” or “one or more.” In this document, the term “or” is used to refer to a nonexclusive or, such that “A or B” includes “A but not B,” “B but not A,” and “A and B,” unless otherwise indicated. In the appended claims, the terms “including” and “in which” are used as the plain-English equivalents of the respective terms “comprising” and “wherein.” Also, in the following claims, the terms “including” and “comprising” are open-ended, that is, a system, device, article, or process that includes elements in addition to those listed after such a term in a claim are still deemed to fall within the scope of that claim. Moreover, in the following claims, the terms “first,” “second,” and “third,” etc. are used merely as labels, and are not intended to impose numerical requirements on their objects.
Method examples described herein can be machine or computer-implemented at least in part. Some examples can include a computer-readable medium or machine-readable medium encoded with instructions operable to configure an electronic device to perform methods as described in the above examples. An implementation of such methods can include code, such as microcode, assembly language code, a higher-level language code, or the like. Such code can include computer readable instructions for performing various methods. The code can form portions of computer program products. Further, the code can be tangibly stored on one or more volatile or non-volatile computer-readable media during execution or at other times. These computer-readable media can include, but are not limited to, hard disks, removable magnetic disks, removable optical disks (e.g., compact disks and digital video disks), magnetic cassettes, memory cards or sticks, random access memories (RAM's), read only memories (ROM's), and the like.
The above description is intended to be illustrative, and not restrictive. For example, the above-described examples (or one or more aspects thereof) may be used in combination with each other. Other embodiments can be used, such as by one of ordinary skill in the art upon reviewing the above description. The Abstract is provided to comply with 37 C.F.R. §1.72(b), to allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. Also, in the above Detailed Description, various features may be grouped together to streamline the disclosure. This should not be interpreted as intending that an unclaimed disclosed feature is essential to any claim. Rather, inventive subject matter may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.

## Claims

1. An apparatus comprising:
an audio or video jack connector configured to receive an audio or video jack plug of a separate device, wherein the connector includes an electrical contact for connection to a plurality of conducting terminals arranged in series along a length of the plug;
a detection circuit in electrical communication with the connector, wherein the detection circuit is configured to:
determine a value of resistance at a conducting terminal, wherein the resistance is representative of a resistive load of the separate device at the conducting terminal of the plug; and
a processor communicatively coupled to the detection circuit, wherein the processor is configured to:
identify a function of the separate device according to a first determined resistance value;
configure an operation of the apparatus according to the determined function; and
initiate a second operation of the second device according to a detected change from the first resistance value to a second resistance value, wherein the change is detected while a connection to the connector is maintained and after identification of the function performable by the separate device using the first resistance value.

2. The apparatus of claim 1,
wherein the processor is configured to initiate at least one of a stop, play rewind, or fast forward operation according to the determined second resistance value.

3. The apparatus of claim 1 including a control logic circuit communicatively coupled to the detection circuit and the processor,
wherein the control logic circuit is configured to generate an interrupt to the processor when the change in the determined resistance is detected, and
wherein the processor is configured to receive a value indicative of the determined resistance in relation to the interrupt and to initiate an operation identified according to the received value.

4. The apparatus of claim 3, wherein the control logic circuit communicates information with the processor using an inter-integrated circuit protocol (I2C).

5. The apparatus of claim 1, including a sense circuit communicatively coupled to the control logic circuit to detect presence of the plug,
wherein the detection circuit is configured to detect a change in the resistance at the conducting terminal while the sense circuit detects that the plug remains connected, and
wherein the processor is configured to initiate the second operation of the apparatus according to the detected change in resistance.

6. The apparatus of claim 1, wherein the connector includes a first electrical contact for connecting to a first conducting terminal of the plug, and a second electrical contact for connecting to a second conducting terminal of the plug, and
wherein the processor is configured to identify a function of the separate device from a resistance determined at the first and second conducting terminal.

7. The apparatus of claim 6, wherein the processor is configured to identify that the separate device includes a headset from a resistance determined at the first and second conducting terminal.

8. The apparatus of claim 6, wherein the connector includes a third electrical contact for connecting to a third conducting terminal of the plug, and wherein the processor is configured to identify that the separate device includes one of a video monitor or a microphone according to a resistance determined at the third conducting terminal.

9. The apparatus of claim 1, wherein the processor includes an audio codec module, and
wherein the processor configures the audio codec module according to the determined function of the separate device.

10. A system comprising:
a first device including an audio or video jack plug, wherein the plug includes a plurality of conducting terminals arranged in series along a length of the plug;
a second device including:
an audio or video jack connector to receive the plug of the first device;
a detection circuit in electrical communication with the connector, wherein the detection circuit is configured to determine a value of resistance at a conducting terminal, wherein the resistance is representative of a resistive load of the first device measurable at the conducting terminal;
a processor communicatively coupled to the detection circuit, wherein the processor is configured to:
determine a function of the separate device according to determined first resistance value;
configure an operation of the second device according to the determined function; and
initiate a second operation of the second device according to a detected change from the first resistance value to a second resistance value, wherein the change is detected while a connection to the connector is maintained and after identification of the function performable by the separate device.

11. The system of claim 10, wherein the detection circuit is configured to detect a change in the determined resistance from the first resistance value to a second specified resistance value, and
wherein the processor is configured to initiate at least one of a stop, play rewind, or fast forward operation by the second device according to the determined second specified resistance value.

12. The system of claim 10, wherein the plug includes at least a first conducting terminal, a second conducting terminal, and a ground terminal, and
wherein the processor is configured to identify that the first device includes a headset according to a resistance determined at the first conducting terminal and the second conducting terminal.

13. The system of claim 12, wherein the plug includes a third conducting terminal and a ground terminal, and
wherein the processor is configured to identify that the first device includes one of a microphone or a video display according to a resistance determined at the third conducting terminal.

14. A method comprising:
detecting that an audio or video jack plug of a first device is inserted into an audio or video jack connector of a second device, wherein the connector of the second device includes an electrical contact for connection to a plurality of conducting terminals arranged in series along a length of the plug;
determining a first resistance value at least one conducting terminal of the plug using the second device, wherein the first resistance value is representative of a resistive load of the first device measurable at the conducting terminal;
identifying, using the second device, a function performable by the first device according to the first resistance value;
configuring the second device according to the identified function performable by the first device;
detecting, after the detection of the plug and after identification of the function performable by the first device, a change from the first resistance value to a second resistance value while the connection to the connector is maintained; and
initiating an operation of the second device according to the second resistance value.

15. The method of claim 14,
wherein identifying a function performable by the first device according to the resistance of the at least one conducting terminal includes identifying, by the second device, that the first device includes a headset, and
wherein initiating an operation in the second device includes initiating at least one of a stop, play, fast forward, pause, or rewind operation in the second device.

16. The method of claim 14,
wherein determining a resistance of at least one conducting terminal of the plug includes determining a resistance of a plurality of conducting terminals of the plug,
wherein identifying a function performable by the first device includes identifying a function performable by the first device according to the resistance of a first conducting terminal; and wherein the method includes:
detecting, using the second device, a change in a determined resistance of a second conducting terminal; and
initiating an operation in the second device in response to the detected change in resistance of the second conducting terminal.

17. The method of claim 14, wherein determining a resistance of at least one conducting terminal of the plug includes determining a resistive load of at least a first conducting terminal of the plug and of a second conducting terminal of the plug with respect to a ground terminal of the plug.

18. The method of claim 17, wherein identifying a function performable by the first device includes identifying, by the second device according to the determined resistive loads, that the first device includes one of a stereo-headset or a mono-headset.

19. The method of claim 14, wherein identifying a function performable by the first device according to the resistance of the conducting terminal includes identifying, by the second device, that the first device includes a video display.

20. The system of claim 10, wherein the connector includes an electrical contact for connection to at least a conducting terminal at a tip of the plug and a conducting sleeve of the plug.