Hi all,
I’m digging this one up from the grave hoping someone else has a clue about this:
The issue I’m observing is old and has been around for several versions of Volumio I guess.
What happens:
Sometimes after a boot, more often after a reboot, the DAC doesn’t seem to be initiated properly. Playback will return an error about no available playback device and at the playback options the Piano 2.1 DSP settings (Dual-Mono, etc.) will not be visible.
dmesg will return following error during boot:
[ 17.472809] pcm512x 1-004d: supply AVDD not found, using dummy regulator
[ 17.472920] pcm512x 1-004d: supply DVDD not found, using dummy regulator
[ 17.472962] pcm512x 1-004d: supply CPVDD not found, using dummy regulator
[ 17.474609] pcm512x 1-004d: Failed to reset device: -5
[ 17.476319] pcm512x 1-004d: probe with driver pcm512x failed with error -5
[ 17.476789] pcm512x 1-004c: supply AVDD not found, using dummy regulator
To me it looks like a race condition. Depending on the Volumio version it sometimes occurred more often, sometimes less (I never thoroughly tracked it though). Now however it happens like 1 out of 5 times.
Resolution most of the times is leaving Piano 2.1 as DAC selected, just press “save” and reboot. Most of the time it then comes back fine and the DSP settings will show up again, too.
Setup is still RPi4, Kali Reclocker, Piano 2.1.
Anyone has the same issue or has a clue if this has ever been addressed?
Hi Zhapox,
looks to me that your power supply is insufficient:
At 17.4 seconds, the driver attempts to activate and “reset” the pcm512x chip on the DAC.
The problem: If the power supply isn’t stable enough, the voltage dips slightly at that moment (e.g., from 5.1V to 4.7V). This is enough for the Raspberry Pi to “survive,” but not for the sensitive audio chip on the DAC to respond properly. Try a 64 W USB-C Charger (PD)
@Darmur: I suspected that, too, hence I was curious if I’m the only one observing this. I’m currently running on Version 4.119
@Axel: Fair point. The PSU I’m still using provides 2x 2A. One line goes to the Pi, the other to Kali. I knew it was a gamble on the Pi but considered it at least sufficient for the DAC. I always refrained from getting a new PSU as it’s a tight fit in that aluminium case and I’d like to avoid a whole redesign. I’ll give it a try with my Notebook PSU which has 96W and put the jumper on Kali to draw power from the Pi. It only takes a couple of reboots to provoke this behaviour.
I took an Apple charger with 3A and connected it to the Pi while Kali and Piano stayed on the 2A linear PSU. I did at least 10 reboots and still had 2-3 reoccurrences of the pcm512x errors.
I went ahead, took the SD card out and reflashed 4.119, only configured the DAC, no plugins, no connected sources, whatsoever and tried the scenario again.
Did at least 15 reboots with the Apple charger: No errors
Did at least 15 reboots with the original linear PSU connected: No errors
Did at least 15 reboots after mounting my smb share with music on, ca. 20k tracks: No errors
The only way I can explain this to myself is the previous update path I had on the previous build. I can’t tell on which exact version of 4 I started there but it seems that the issue was not thoroughly fixed along the update path.
However, I now face a new little issue: Quite often after a reboot the left channel seems to be dead. No errors in dmesg though and DSP settings are also still there. Resaving the playback config doesn’t bring it back either. Only way to fix it is a full power cycle (regular shutdown - power off - power on).