Download Print this page

ODROID HiFi-shield Quick Installation Manual

Enable the i2s audio output on ubuntu

Advertisement

Quick Links

2023/09/02 10:14
Quick installation guide to enable the I2S audio output on
Ubuntu.
HiFi-shield & HiFi-Shield+
The Hifi-Shield Plus provides both stereo RCA connectors and a 3.5mm stereo jack (all gold-plated) to
connect to external amplifiers and other audio equipment. An S/PDIF Optical output is also available.
Via TI's high-end PCM5102 DAC chip(known as Burr-Brown), it supports 16, 24, 32 bit audio formats
with minimal distortion (-93dB) and ideal dynamics (110dB+), plus amazing sampling rates of 384kHz
with odroid-c1. (up to 192KHz with odroid-c2)
ODROID-C1+/C2
Assemble the C2 with the Hifi-Shield, attach a USB keyboard, USB mouse and HDMI monitor,
then power up the system.
Update the System: sudo apt-get update && sudo apt-get dist-upgrade
To ensure that the Hifi-Shield kernel modules are loaded on Terminal.
target
odroid@odroid64:~$
****
List of PLAYBACK Hardware Devices
card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.27
Subdevices:
Subdevice
odroid@odroid64:~$
odroid@odroid64:~$
odroid@odroid64:~$
odroid@odroid64:~$
****
List of PLAYBACK Hardware Devices
card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.27
Subdevices:
ODROID Wiki - https://wiki.odroid.com/
1/8
aplay
-l
0/1
#0: subdevice #0
sudo modprobe snd-soc-pcm5102
sudo modprobe snd-soc-odroid-dac
aplay
-l
1/1
Quick installation guide to enable the I2S audio output on Ubuntu.
****
dit-hifi-0
****
dit-hifi-0
[]
[]

Advertisement

loading

Summary of Contents for ODROID HiFi-shield

  • Page 1 Via TI's high-end PCM5102 DAC chip(known as Burr-Brown), it supports 16, 24, 32 bit audio formats with minimal distortion (-93dB) and ideal dynamics (110dB+), plus amazing sampling rates of 384kHz with odroid-c1. (up to 192KHz with odroid-c2) ODROID-C1+/C2 Assemble the C2 with the Hifi-Shield, attach a USB keyboard, USB mouse and HDMI monitor, then power up the system.
  • Page 2 1: ODROIDDAC [ODROID-DAC], device 0: I2S.27 pcm5102-0 Subdevices: Subdevice #0: subdevice #0 odroid@odroid64:~$ If you have to load the driver every time whenever your ODROID-C2 starts, simply you can register the driver into /etc/modules target odroid@odroid64:~$ Password: root password is "odroid"...
  • Page 3 2023/09/02 10:14 Quick installation guide to enable the I2S audio output on Ubuntu. If you want to use the Optical output on Hifi-Shield Plus model, select “ODROID-HDMI”. ODROID-C4 Assemble the C4 with the Hifi-Shield, attach a USB keyboard, USB mouse and HDMI monitor, then power up the system.
  • Page 4 Burr-Brown), it supports 16, 24, 32 bit audio formats with minimal THD+N ratio (0.002%) and ideal dynamics (116dB+), plus amazing sampling rates of 384kHz with odroid-c1. (up to 192KHz with odroid-c2) Volume control via I2C interface is great feature to keep the great audio quality with various audio output volume.
  • Page 5 To test, connect an amplifier to the RCA out jack on the Hifi-Shield2, and then run: Applications → Sound & Video → Sound → Hardware Tab & Output Tab select “ODROID-DAC2” If you want to use the Optical output select “ODROID-HDMI”.
  • Page 6 Check, if the sound card is enabled with “aplay -l”: target odroid@odroid64:~$ aplay **** List of PLAYBACK Hardware Devices **** card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S dit-hifi-0 Subdevices: Subdevice #0: subdevice #0 card 1: ODROIDDAC2 [ODROID-DAC2], device 0: I2S pcm512x-hifi-0...
  • Page 7 To test, connect an amplifier to the RCA lineout jack on the Hifi-Shield, and then run: Applications → Sound & Video → Sound → Hardware Tab & Output Tab select “ODROID-HIFI2” If you want to use the Optical output on Hifi-Shield Plus model, select “ODROID-HDMI”.
  • Page 8 The volume level control is available only on the RCA line-out output of HiFi- Shield 2. The SPDIF optical output level is always maximum because it is a simple I2S bypass. From: https://wiki.odroid.com/ - ODROID Wiki Permanent link: https://wiki.odroid.com/accessory/sound/hifi_shield?rev=1587628619 Last update: 2020/04/23 16:56 https://wiki.odroid.com/ Printed on 2023/09/02 10:14...

This manual is also suitable for:

Hifi-shield+C1+C2