background image

2023/09/02 10:14

7/8

Quick installation guide to enable the I2S audio output on Ubuntu.

ODROID Wiki - https://wiki.odroid.com/

disabled

root@odroid:~$ 

fdtput 

-t

 s 

/

media

/

boot

/

meson64_odroidc4.dtb

/

soc

/

cbus

@

ffd00000

/

i2c

@

1d000 status 

"okay"

root@odroid:~$ 

fdtput 

-t

 s 

/

media

/

boot

/

meson64_odroidc4.dtb

/

soc

/

cbus

@

ffd00000

/

i2c

@

1d000

/

pcm5242 status 

"okay"

root@odroid:~$ 

fdtget 

/

media

/

boot

/

meson64_odroidc4.dtb

/

soc

/

cbus

@

ffd00000

/

i2c

@

1d000 status

okay

root@odroid:~$ 

fdtget 

/

media

/

boot

/

meson64_odroidc4.dtb

/

soc

/

cbus

@

ffd00000

/

i2c

@

1d000

/

pcm5242 status

okay

root@odroid:~$

Change the DTB file to enable [ODROID-HIFI2] sound card. Then reboot.

target

root@odroid:~$ 

fdtget 

/

media

/

boot

/

meson64_odroidc4.dtb 

/

odroid_hifi2

status
disabled

root@odroid:~$ 

fdtput 

-t

 s 

/

media

/

boot

/

meson64_odroidc4.dtb

/

odroid_hifi2 status 

"okay"

root@odroid:~$ 

fdtget 

/

media

/

boot

/

meson64_odroidc4.dtb 

/

odroid_hifi2

status
okay

root@odroid:~$ 

reboot

You can see that the sound card is enabled.

target

root@odroid:~$ 

aplay 

-l

****

 List of PLAYBACK Hardware Devices 

****

****

 List of PLAYBACK Hardware Devices 

****

card 

0

: ODROIDHDMI 

[

ODROID-HDMI

]

, device 

0

: SPDIF-dit-hifi dit-hifi-

0

[]

  Subdevices: 

1

/

1

  Subdevice 

#0: subdevice #0

card 

1

: ODROIDHiFi2 

[

ODROID-HiFi2

]

, device 

0

: TDM-B-pcm512x-hifi

pcm512x-hifi-

0

 

[]

  Subdevices: 

1

/

1

  Subdevice 

#0: subdevice #0

root@odroid:~#

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”.

Содержание C2

Страница 1: ...ics 110dB plus amazing sampling rates of 384kHz with odroid c1 up to 192KHz with odroid c2 ODROID C1 C2 Assemble the C2 with the Hi Shield attach a USB keyboard USB mouse and HDMI monitor then power u...

Страница 2: ...ho snd soc odroid dac etc modules root odroid64 home odroid exit exit odroid odroid64 This adds one line at end of the le etc modules and load the driver on boot automatically Create etc asound conf w...

Страница 3: ..._odroidc4 dtb media boot meson64_odroidc4 dtb org Change the DTB le to enable the I2C bus and pcm5102a codec driver target root odroid fdtget media boot meson64_odroidc4 dtb pcm5102a status disabled r...

Страница 4: ...model select ODROID HDMI HiFi shield2 The Hi Shield 2 provides stereo RCA connectors to connect to external ampli ers and other audio equipment An S PDIF Optical output is also available Via TI s hig...

Страница 5: ...DROIDDAC2 ODROID DAC2 device 0 I2S pcm512x hifi 0 Subdevices 0 1 Subdevice 0 subdevice 0 root odroid64 home odroid To test connect an ampli er to the RCA out jack on the Hi Shield2 and then run Applic...

Страница 6: ...OID HDMI device 0 I2S dit hifi 0 Subdevices 1 1 Subdevice 0 subdevice 0 card 1 ODROIDDAC2 ODROID DAC2 device 0 I2S pcm512x hifi 0 Subdevices 1 1 Subdevice 0 subdevice 0 odroid odroid64 ODROID C4 Assem...

Страница 7: ...meson64_odroidc4 dtb odroid_hifi2 status disabled root odroid fdtput t s media boot meson64_odroidc4 dtb odroid_hifi2 status okay root odroid fdtget media boot meson64_odroidc4 dtb odroid_hifi2 status...

Страница 8: ...of them If above guide is not comfortable for you try this alternative easy solution made by Fourdee DietPi OS image author http forum odroid com viewtopic php f 118 t 24415 The volume level control...

Отзывы: