Patent attributes
An analog/digital switching circuit for connecting a primary electronic device to a peripheral electronic device, including D+ and D− signal lines connected to a primary electronic device, a first analog/digital switch connected to the D+ signal line, for multiplexing an input D+ signal to an output USB data signal or audio left or right signal, the multiplexed signal feeding into a peripheral device connector for connecting the primary device to a peripheral electronic device, a second analog/digital switch connected to the D− signal line, for multiplexing an input D− signal to an output USB data signal or audio right or left signal, the multiplexed signal feeding into the peripheral device connector, a headset left signal line connected to the primary device and to the output audio left signal of the first analog/digital switch, a headset right signal line connected to the primary device and to the output audio right signal of the second analog/digital switch, a first USB signal line connected to a USB connector and to the output USB data signal of the first analog/digital switch, a second USB signal line connected to the USB connector and to the output USB data signal of the second analog/digital switch, and an amplifier that amplifies the output audio left signal and the output audio right signal at gain levels appropriate for (i) a headset connected to the primary device, (ii) a speaker connected to the peripheral device, and (iii) an earpiece connected to the peripheral device.