Thank you for picking up this issue and my apologees for not responding any sooner.
I have reinstalled raspberry pi os 64 bit lite on a new SD-card and installed the allo-boss2-dac-audio driver again. Also I have made sure to run apt update/upgrade. So in base everything is -still- as per initial post - nothing changed so far - dac is not outputting any audio (yet).
Kernel version:
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
So as per github tips, I have ran the following commands:
- Clear the kernel message log and Enable i2c tracing:
$ sudo dmesg -C
$ sudo sh -c "echo 1 >/sys/kernel/debug/tracing/events/i2c/enable"
Output of the i2c traces of both the latest kernel and the old kernel i use (diet-pi) are attached.
i2c_log_speaker_test_kernel6_1_21.txt (5.3 KB)
i2c_log_wav_kernel6_1_21.txt (5.3 KB)
i2c_log_speaker_test_kernel5_15_84.txt (503.2 KB)
i2c_log_wav_kernel5_15_84.txt (261.5 KB)
After playback there was no output of dmesg
whatsoever.
Difference is that the old kernel Linux AlloPi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
, gives the following when running aplay /usr/share/sounds/alsa/Front_Center.wav
:
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1349: Channels count non available
This is probably also the reason aplay
isn’t captured in that particular log.