TS-7970 3.5mm Audio Ports: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The TS-7970 includes two 3.5mm jacks.  The top port is a mono microphone input, and the bottom port is a headphone port with left and right channels.  You may need to use "alsamixer" or "amixer" to adjust the volume before you can hear it on headphones.
The TS-7970 includes two 3.5mm jacks.  The top port is a mono microphone input, and the bottom port is a headphone port with left and right channels.  Use "alsamixer" or "amixer" to adjust the volume.


In Linux you can select between the HDMI and 3.5mm ports with an alsa variable.  By default all audio comes out of the sgtl5000 for the 3.5mm ports.
In Linux select between the HDMI and 3.5mm ports with an alsa variable.  By default all audio comes out of the sgtl5000 for the 3.5mm ports.


<source lang=bash>
<source lang=bash>
Line 8: Line 8:


export ALSA_CARD=imxhdmisoc
export ALSA_CARD=imxhdmisoc
espeak this is playing from the HDMI monitor
espeak "this is playing from the HDMI monitor"


export ALSA_CARD=imx6qts7970sgtl
 
espeak this is playing from the onboard sgtl5000
## On kernel 4.1:
#export ALSA_CARD=imx6qts7970sgtl
## On kernel 4.9
export ALSA_CARD=Codec
espeak "this is playing from the onboard sgtl5000"
</source>
</source>

Latest revision as of 17:25, 5 January 2021

The TS-7970 includes two 3.5mm jacks. The top port is a mono microphone input, and the bottom port is a headphone port with left and right channels. Use "alsamixer" or "amixer" to adjust the volume.

In Linux select between the HDMI and 3.5mm ports with an alsa variable. By default all audio comes out of the sgtl5000 for the 3.5mm ports.

# list the sound cards
aplay -l

export ALSA_CARD=imxhdmisoc
espeak "this is playing from the HDMI monitor"


## On kernel 4.1:
#export ALSA_CARD=imx6qts7970sgtl
## On kernel 4.9
export ALSA_CARD=Codec
espeak "this is playing from the onboard sgtl5000"