No sound from Rock64 DAC
#1
I bought the rock64 dac from ameridroid:

https://ameridroid.com/products/rock64-s...ifi-shield

I de-soldered the ethernet port so that it would fit in the pine64 aluminum case.

I flashed a fresh copy of armbian onto an emmc module and booted. I built and installed musikcube and tried every one of the alsa audio devices available, but I get no sound out of the dac. Any suggestions?

Code:
cbrown@rock64:~$ aplay -L
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=rockchiprk3328
    rockchip,rk3328, ff000000.i2s-i2s-hifi i2s-hifi-0
    Default Audio Device
dmix:CARD=rockchiprk3328,DEV=0
    rockchip,rk3328, ff000000.i2s-i2s-hifi i2s-hifi-0
    Direct sample mixing device
dmix:CARD=rockchiprk3328,DEV=1
    rockchip,rk3328, ff010000.i2s-rk3328-hifi ff410000.codec-1
    Direct sample mixing device
dmix:CARD=rockchiprk3328,DEV=2
    rockchip,rk3328, ff030000.spdif-dit-hifi dit-hifi-2
    Direct sample mixing device
dsnoop:CARD=rockchiprk3328,DEV=0
    rockchip,rk3328, ff000000.i2s-i2s-hifi i2s-hifi-0
    Direct sample snooping device
dsnoop:CARD=rockchiprk3328,DEV=1
    rockchip,rk3328, ff010000.i2s-rk3328-hifi ff410000.codec-1
    Direct sample snooping device
dsnoop:CARD=rockchiprk3328,DEV=2
    rockchip,rk3328, ff030000.spdif-dit-hifi dit-hifi-2
    Direct sample snooping device
hw:CARD=rockchiprk3328,DEV=0
    rockchip,rk3328, ff000000.i2s-i2s-hifi i2s-hifi-0
    Direct hardware device without any conversions
hw:CARD=rockchiprk3328,DEV=1
    rockchip,rk3328, ff010000.i2s-rk3328-hifi ff410000.codec-1
    Direct hardware device without any conversions
hw:CARD=rockchiprk3328,DEV=2
    rockchip,rk3328, ff030000.spdif-dit-hifi dit-hifi-2
    Direct hardware device without any conversions
plughw:CARD=rockchiprk3328,DEV=0
    rockchip,rk3328, ff000000.i2s-i2s-hifi i2s-hifi-0
    Hardware device with all software conversions
plughw:CARD=rockchiprk3328,DEV=1
    rockchip,rk3328, ff010000.i2s-rk3328-hifi ff410000.codec-1
    Hardware device with all software conversions
plughw:CARD=rockchiprk3328,DEV=2
    rockchip,rk3328, ff030000.spdif-dit-hifi dit-hifi-2
    Hardware device with all software conversions
cbrown@rock64:~$
  Reply
#2
I don't have a DAC hat or a Rock64 but the following suggestions might contain an answer.

A few questions:
- Did you test the DAC hat was working completely before modifying it?
- Are there jumpers on the DAC hat that need to be set correctly?
- Does the kernel automatically support the DAC hat?

To see if the kernel is automatically detecting the DAC hat:
1. Without the DAC hat installed list all the audio devices, then install the DAC hat
2. List all the audio devices again and compare with the previous list -- any differences?

Until there is a difference need to run around trying different jumper settings, re-booting, listing the devices until it appears. If there are no results then need to look in to the kernel to make sure it supports the DAC or take the nuclear option and build a new kernel. The DAC hat does need support in the kernel for it to appear in audio device listings (assuming jumpers are setup correctly).

Instead of messing with the kernel, trying volumeio might be a direct route to testing and proving the audio DAC hat is working?

NB just throwing in the existence of jumpers for the heck of it (I see pins sticking up they might be jumpers), I don't know if the hat actually has any - you tell us!
  Reply
#3
Thanks for the suggestions. I can confirm that the dac works with volumio. I can also report that the list of audio devices from aplay -L is no different when the dac is or is not connected.

I do wonder if it is an overlay problem. I will investigate that next and report back.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Are HW design files available for ROCK64? irenek 3 6,408 12-11-2023, 09:31 PM
Last Post: tllim
  Rock64 is unreliable after 3 years of service - power problem? ReleaseTheGeese 0 663 11-23-2023, 05:05 AM
Last Post: ReleaseTheGeese
  Rock64 PoE compatbility with Pi4 Hatt recent Single Board Computer offering from PINE kharak 1 1,579 04-26-2023, 11:38 PM
Last Post: tllim
  Case for the rock64 that supports the POE hat. o1CRiMSON1o 0 912 03-21-2023, 03:48 PM
Last Post: o1CRiMSON1o
Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes MarkHaysHarris777 6 14,759 01-15-2023, 10:36 AM
Last Post: ds00
  rock64 totally brick dakobg 2 2,412 11-07-2022, 05:45 PM
Last Post: olivercfc
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 2 4,189 08-04-2022, 01:31 AM
Last Post: Vicky Weimann PhD
  Where can I find the ROCK64 POE HAT Zoz 2 3,466 06-08-2022, 12:44 AM
Last Post: Zoz
Smile wooden case for ROCK64 killor 13 18,875 03-04-2022, 06:56 AM
Last Post: killor
  1wire DS18b20 on Rock64? mypineme 6 8,418 09-28-2021, 03:07 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)