TS-7970 3.5mm Audio Ports: Difference between revisions
From embeddedTS Manuals
(Created page with "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. In Linux you can select ...") |
No edit summary |
||
(3 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. | 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 | 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"