Bug: No output from AV jack.
Device: (Tomato?) X96 s905x 2G/16G connected to various amplifiers via both original AV cable and standard 3.5mm to RCA cable.
Affects: 7.0.2.009 and all devel versions up to and including 11/26/16
Notes:
AV out DOES work in original Android firmware
HDMI audio works perfectly (except for pops on connect/disconnect which has been reported elsewhere)
SPDIF (optical) has not been tested yet (waiting on D/A converter)
In LE i2s and spdif are muted by default in alsamixer.
Unmuting or muting i2s causes a popping in any device attached to AV jack via either the included AV cable or a standard 3.5mm audio cable. The same popping also occurs anytime the soundcard wakes or sleeps and can be heard through the HDMI audio stream as well.
Increasing "DAC Extra Digital Gain" above 0db causes a very faint hissing to be heard from devices attached to AV jack.
Speculation on my part, but the hissing at very high gains seems to indicate that a signal IS being output via AV. However, it seems that the Kodi audio stream is somehow not being routed properly.
Logs and additional info:
Screenshot from alsamixer before unmuting i2s and spdif:
Full Log Set from clean install (system booted, liveTV stream started (mythPVR)): Logset 11/26
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AMLM8AUDIO [AML-M8AUDIO], device 0: I2S.39 T9015-audio-hifi-0
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: AMLM8AUDIO [AML-M8AUDIO], device 1: SPDIF.40 dit-hifi-1
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLM8AUDIO [AML-M8AUDIO], device 2: PCM.41 pcm2bt-pcm-2
Subdevices: 1/1
Subdevice #0: subdevice #0
Display More
amixer
Simple mixer control 'Lineout left N switch',0
Capabilities: enum
Items: 'None' 'LOLN_SEL_DACL_INV' 'LOLN_SEL_DACL'
Item0: 'LOLN_SEL_DACL_INV'
Simple mixer control 'Lineout left P switch',0
Capabilities: enum
Items: 'None' 'LOLP_SEL_DACL' 'LOLP_SEL_DACL_INV'
Item0: 'LOLP_SEL_DACL'
Simple mixer control 'Lineout right N switch',0
Capabilities: enum
Items: 'None' 'LORN_SEL_DACR_INV' 'LORN_SEL_DACR'
Item0: 'LORN_SEL_DACR_INV'
Simple mixer control 'Lineout right P switch',0
Capabilities: enum
Items: 'None' 'LORP_SEL_DACR' 'LORP_SEL_DACR_INV'
Item0: 'LORP_SEL_DACR'
Simple mixer control 'Audio i2s mute',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Audio spdif mute',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DAC Digital',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 251 [98%] [-11.25dB]
Front Right: Playback 251 [98%] [-11.25dB]
Simple mixer control 'DAC Extra Digital Gain',0
Capabilities: enum
Items: '0dB' '6dB' '12dB' '18dB'
Item0: '0dB'
Simple mixer control 'Ext Spk',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Display More
amixer -c 0 contents
numid=8,iface=MIXER,name='Lineout left N switch'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'None'
; Item #1 'LOLN_SEL_DACL_INV'
; Item #2 'LOLN_SEL_DACL'
: values=1
numid=9,iface=MIXER,name='Lineout left P switch'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'None'
; Item #1 'LOLP_SEL_DACL'
; Item #2 'LOLP_SEL_DACL_INV'
: values=1
numid=6,iface=MIXER,name='Lineout right N switch'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'None'
; Item #1 'LORN_SEL_DACR_INV'
; Item #2 'LORN_SEL_DACR'
: values=1
numid=7,iface=MIXER,name='Lineout right P switch'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'None'
; Item #1 'LORP_SEL_DACR'
; Item #2 'LORP_SEL_DACR_INV'
: values=1
numid=3,iface=MIXER,name='Audio i2s mute'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=4,iface=MIXER,name='Audio spdif mute'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=1,iface=MIXER,name='DAC Digital Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=251,251
| dBscale-min=-952.50dB,step=3.75dB,mute=1
numid=2,iface=MIXER,name='DAC Extra Digital Gain'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 '0dB'
; Item #1 '6dB'
; Item #2 '12dB'
; Item #3 '18dB'
: values=0
numid=5,iface=MIXER,name='Ext Spk Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=10,iface=PCM,name='Playback Channel Map'
; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
amixer: Control hw:0 element read error: Invalid argument
Display More