[Bug] 7.0.2.009 No Analog Output s905x - X96 2G16G

  • 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

    Edited once, last by kszaq (November 27, 2016 at 9:56 AM).

  • Thank you for very detailed report! This will be looked into. One thing: can you tell if analog audio works in 7.0.2.008? You can downgrade by "updating" without wiping your user data.

  • I will try 008 this evening and hopefully I will have an A/D converter to test the optical spdif output tomorrow. It's been driving me nuts not knowing if spdif is working silently all this time.

    I have a bit of experience working with sound devices in Linux, I was the realtime kernel guy for PCLinuxOS for a time and had a studio recording based distro RocXshop. Unfortunately this arm based sound system has me a little flummoxed. At this point I would love to tell if this is an issue with driver/alsa config or with device tree.

    If it helps HERE is the dtb extracted from the original android firmware.

  • Got impatient. Analog in 008 is not working :(

    Controls available are very different. Also, muting/unmuting i2s and spdif does not produce the popping sounds like in 009.


  • SPDIF does work sort of. I get a signal via optical. However the volume is very low unless I enable passthrough.

    Also telling is that my attached amp detects Pro Logic mode in normal mode and Dolby Digital in passthrough for some reason.

    I believe that in passthrough the channel settings, etc are working correctly. In normal non-passthrough mode, the volume is very low and the center channel is so predominant that it sounds horrible.

    I did discover that the analog output DOES have a signal, but it is very, very faint. On a 100W amp with all volumes cranked to max and all volumes in Kodi maxed I can barely make out the audio. I still suspect that we are missing some controls in alsa, etc. There SHOULD be a volume control for both i2s and spdif. As it is now, there is neither and the DAC volume which is available has no effect on any output stream.

  • Hey Jaax,
    Did you get to the root of this in the end? I seem to be experiencing exactly the same symptoms but really need to use analog not digital audio