Use Audiojack instead of HDMI audio
#21
(04-29-2016, 12:49 PM)longsleep Wrote: It works just fine when the mixer settings are configured correctly. Though this is not simple due to the gazillion playback settings with useless defaults this driver provides. You can control them all using "alsamixer".

Important alsamixer settings:

- Unmute "Headphone"
- Set ADCL Mux to "DMIC"
- Set ADCR Mux to "DMIC"
- Set AIF1 DAC timeslot 0 volume to "65"
- Set AIF1IN0L Mux to "AIF1_DA0L"
- Set AIFIN0R Mux to "AIF1_DA0R"
- Set digital volume to "0"
- Set headphone volume to "75"

And it works pretty good.

I see that this might be difficult, so i just added a sane alsa state file to https://github.com/longsleep/build-pine6...ound.state - put that file at /var/lib/alsa/asound.state and reboot - voila.

Does not work for me. Added asound.state and verified alsamixer manually. 
Also did the module load:
cat <<EOF >/etc/modules-load.d/pine64-audiojack.conf
sunxi_codec
sunxi_i2s
sunxi_sndcodec
EOF

The only change I see after module load change is that every once in a while the system halts (or at least all network connectivity dies).

aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC codec-aif1-0 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 1: bb Voice codec-aif2-1 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 2: bb-bt-clk codec-aif2-2 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 3: bt Voice codec-aif3-3 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0


Any other advice please?


Messages In This Thread
Use Audiojack instead of HDMI audio - by pictus - 04-27-2016, 12:45 PM
RE: Use Audiojack instead of HDMI audio - by Luke - 04-29-2016, 07:13 PM
RE: Use Audiojack instead of HDMI audio - by sadko - 04-29-2016, 10:13 PM
lenny, help with audio jack - by rahlquist - 04-28-2016, 11:35 AM
RE: lenny, help with audio jack - by baryluk - 04-28-2016, 04:21 PM
RE: lenny, help with audio jack - by rahlquist - 04-28-2016, 09:27 PM
RE: lenny, help with audio jack - by tllim - 04-28-2016, 04:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  +LTS/SOPINE Audio Jack Pinout Little_Johnny 0 3,023 12-29-2019, 08:44 AM
Last Post: Little_Johnny
  Pine64 (analog) Audio Jack Output w/ Kernel 4.19 ecolezen 0 3,106 01-24-2019, 07:00 AM
Last Post: ecolezen
  PINE64 STEREO AUDIO DAC POT jtgiroux 0 3,189 01-12-2019, 04:56 PM
Last Post: jtgiroux
  Sound quality from audio jack devanl 0 3,302 10-11-2017, 10:39 PM
Last Post: devanl
  Audio Extractor Ralck 1 4,513 05-25-2017, 12:25 PM
Last Post: dkryder
  Using the pine64 with AVR - HDMI pass-through Moshe.Vazan 4 6,175 01-02-2017, 02:58 PM
Last Post: Moshe.Vazan
  HDMI touch screen not detected Radio 2 4,619 09-29-2016, 06:42 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 2 Guest(s)