Jump to content

3.5mm Audio Jack not working


psiborg

Recommended Posts

Same problem here,

 

arm-64:~:# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: GXLS905XP212 [GXL-S905X-P212], device 0: fe.dai-link-0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
arm-64:~:# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
hw:CARD=GXLS905XP212,DEV=0
    GXL-S905X-P212,
    Direct hardware device without any conversions
plughw:CARD=GXLS905XP212,DEV=0
    GXL-S905X-P212,
    Hardware device with all software conversions
sysdefault:CARD=GXLS905XP212
    GXL-S905X-P212,
    Default Audio Device
hdmi:CARD=GXLS905XP212,DEV=0
    GXL-S905X-P212,
    HDMI Audio Output
dmix:CARD=GXLS905XP212,DEV=0
    GXL-S905X-P212,
    Direct sample mixing device
usbstream:CARD=GXLS905XP212
    GXL-S905X-P212
    USB Stream Output

Link to comment
Share on other sites

Since Linux v5.10 it is a bit complicated to get it working. Try this:

 

# Reset and re-initiate ALSA mixer states
rm /var/lib/alsa/asound.state
alsactl init
# Enable 3.5mm output
amixer -c 0 set 'TOACODEC OUT EN' 'on'
# Use I2S B as source for 3.5mm output, I2C A is somehow not usable
amixer -c 0 set 'TOACODEC SRC' 'I2S B'
# Use ALSA device 0 as input for I2S B
amixer -c 0 set 'TDMOUT_B SRC SEL' 'IN 0'
# Enable I2S B (SRC 2) on device 0 (_A)
amixer -c 0 set 'FRDDR_A SRC 2 EN' 'on'
# Set output channels for device 0 (_A)
amixer -c 0 set 'FRDDR_A SINK 1 SEL' 'OUT 0'
amixer -c 0 set 'FRDDR_A SINK 2 SEL' 'OUT 1'
amixer -c 0 set 'FRDDR_A SINK 3 SEL' 'OUT 2'
# Set master volume to 85%
amixer -c 0 set 'ACODEC' '85%'

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines