No optical signal output from HiFi Shield Plus

ODROID related support

No optical signal output from HiFi Shield Plus

Postby davispoon » 29 Feb 2020, 07:49

ODROID C1+ with HiFi Shield Plus.

MPD: Audio Output Interface = ODROID-DAC. Can play music from the RCA output.
MPD: Audio Output Interface = ODROID-HDMI. No optical signal output from the Toslink jack.

Any idea? I need optical signal from the Toslink jack. Please help.
davispoon
 
Posts: 7
Joined: 28 Dec 2019, 01:55

Re: No optical signal output from HiFi Shield Plus

Postby hondagx35 » 29 Feb 2020, 15:27

Hi,

MPD: Audio Output Interface = ODROID-HDMI. No optical signal output from the Toslink jack

With this option set the audio is only routed through the HDMI connector.

Please show us your debug info (MENU -> DEBUG).

Frank
User avatar
hondagx35
 
Posts: 3035
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: No optical signal output from HiFi Shield Plus

Postby davispoon » 29 Feb 2020, 19:33

Maximum number of characters reached, so I can't directly post the debug in here.
I saved the debug in .txt and tried upload it as attachment.
No luck, got error message... The extension txt is not allowed.

What can I do? Please advice. Thanks.
davispoon
 
Posts: 7
Joined: 28 Dec 2019, 01:55

Re: No optical signal output from HiFi Shield Plus

Postby davispoon » 29 Feb 2020, 19:43

This is the top part of debug. Hope it helps.

###### System info ######
Linux version 3.10.80 (root@runeaudio) (gcc version 4.9.2 20150304 (prerelease) (GCC) ) #2 SMP PREEMPT Sat Aug 15 16:29:14 CEST 2015

system time: Sat Feb 29 12:45:14 EST 2020

system load: 0.48 0.27 0.11 1/129 1424

HW platform: ODROID-C1 (09)

playerID: 097774dd8e208a508d631d33b0b32a0f6a


###### System load statistics (procinfo -H) ######
sh: procinfo: command not found


###### Active processes (pstree) ######
systemd-+-2*[agetty]
|-avahi-daemon---avahi-daemon
|-dbus-daemon
|-devmon---udevil
|-dhcpcd
|-ifplugd
|-2*[mount.ntfs]
|-mpd-+-{decoder}
| |-{io}
| |-{output:ODROID-D}
| `-{player}
|-nginx---nginx
|-nmbd
|-ntpd
|-php-fpm---3*[php-fpm]
|-redis-server---2*[{redis-server}]
|-rngd
|-rune_PL_wrk
|-rune_SY_wrk---sh---debug_collector---sh---pstree
|-shairport---{shairport}
|-smbd
|-sshd
|-systemd-network
|-systemd-resolve
|-systemd-udevd
|-upmpdcli---7*[{upmpdcli}]
|-wpa_actiond
`-wpa_supplicant


###### Audio backend ######
Advanced Linux Sound Architecture Driver Version k3.10.80.

Card list: (/proc/asound/cards)
--------------------------------------------------
0 [ODROIDHDMI ]: SOC-Audio - ODROID-HDMI
ODROID-HDMI
1 [ODROIDDAC ]: SOC-Audio - ODROID-DAC
ODROID-DAC


PLAYBACK devices: (aplay -l)
--------------------------------------------------
**** List of PLAYBACK Hardware Devices ****
card 0: ODROIDHDMI [ODROID-HDMI], device 0: SPDIF PCM dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ODROIDDAC [ODROID-DAC], device 0: PCM5102 HiFi pcm5102-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0


PCM devices: (aplay -L)
--------------------------------------------------
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ODROIDHDMI
ODROID-HDMI,
Default Audio Device
sysdefault:CARD=ODROIDHDMI
ODROID-HDMI,
Default Audio Device
default:CARD=ODROIDDAC
ODROID-DAC,
Default Audio Device
sysdefault:CARD=ODROIDDAC
ODROID-DAC,
Default Audio Device


Simple mixer controls: (amixer scontrols)
--------------------------------------------------
card 0:
no mixer scontrols

card 1:
no mixer scontrols


Mixer controls: (amixer controls)
--------------------------------------------------
card 0:
no mixer controls

card 1:
no mixer controls


MPD audio outputs status: (mpc outputs)
--------------------------------------------------
Output 1 (ODROID-DAC) is enabled
Output 2 (ODROID-HDMI) is disabled
Last edited by davispoon on 01 Mar 2020, 18:34, edited 1 time in total.
davispoon
 
Posts: 7
Joined: 28 Dec 2019, 01:55

Re: No optical signal output from HiFi Shield Plus

Postby davispoon » 01 Mar 2020, 02:04

Content of /boot/boot.ini

ODROIDC-UBOOT-CONFIG

# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.

# setenv m "vga" # 640x480
# setenv m "480p" # 720x480
# setenv m "576p" # 720x576
# setenv m "800x480p60hz" # 800x480
# setenv m "800x600p60hz" # 800x600
# setenv m "1024x600p60hz" # 1024x600
# setenv m "1024x768p60hz" # 1024x768
# setenv m "1360x768p60hz" # 1360x768
# setenv m "1366x768p60hz" # 1366x768
# setenv m "1440x900p60hz" # 1440x900
# setenv m "1600x900p60hz" # 1600x900
# setenv m "1680x1050p60hz" # 1680x1050
setenv m "720p" # 720p 1280x720
# setenv m "800p" # 1280x800
# setenv m "sxga" # 1280x1024
# setenv m "1080i50hz" # 1080I@50Hz
# setenv m "1080p24hz" # 1080P@24Hz
# setenv m "1080p50hz" # 1080P@50Hz
# setenv m "1080p" # 1080P@60Hz
# setenv m "1920x1200" # 1920x1200

# HDMI DVI Mode Configuration
setenv vout_mode "hdmi"
# setenv vout_mode "dvi"

# HDMI BPP Mode
setenv m_bpp "32"
# setenv m_bpp "24"
# setenv m_bpp "16"

# HDMI Hotplug Force (HPD)
# 1 = Enables HOTPlug Detection
# 0 = Disables HOTPlug Detection and force the connected status
setenv hpd "0"

# CEC Enable/Disable (Requires Hardware Modification)
# 1 = Enables HDMI CEC
# 0 = Disables HDMI CEC
setenv cec "0"

# UHS Card Configuration
# Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
# This might break boot for some brand models of cards.
setenv disableuhs "disableuhs"

# Disable VPU (Video decoding engine, Saves RAM!!!)
# 0 = disabled
# 1 = enabled
setenv vpu "1"

# Disable HDMI Output (Again, saves ram!)
# 0 = disabled
# 1 = enabled
setenv hdmioutput "1"

# PCM5102 audio DAC Enable/Disable
# Uncomment the line below to __ENABLE__ Audio-DAC(PCM5102)
setenv enabledac "enabledac"

if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi

setenv bootargs "console=ttyS0,115200n8 console=tty0 root=/dev/mmcblk0p1 rootwait rw no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full d
mfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac}"
ext4load mmc 0:1 0x21000000 /boot/uImage
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
fdt addr 21800000

if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi

if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi

bootm 0x21000000 - 0x21800000
davispoon
 
Posts: 7
Joined: 28 Dec 2019, 01:55

Re: No optical signal output from HiFi Shield Plus

Postby davispoon » 01 Mar 2020, 18:28

The full debug can be found in the link below.

https://drive.google.com/file/d/1qD4Es9 ... sp=sharing
davispoon
 
Posts: 7
Joined: 28 Dec 2019, 01:55

Re: No optical signal output from HiFi Shield Plus

Postby davispoon » 13 Mar 2020, 17:29

Getting S/PDIF output

amixer scontrols
is not showing anything. Any idea? Thanks.
davispoon
 
Posts: 7
Joined: 28 Dec 2019, 01:55

support RuneAudio Donate with PayPal


Return to ODROID

Who is online

Users browsing this forum: No registered users and 0 guests