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!
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!