Subj : Re: aplay oddity To : All From : The Natural Philosopher Date : Fri Oct 24 2025 02:14:58 On 23/10/2025 19:09, Adrian wrote: > Pi3 running Bookworm. > > I have a python program that runs continuously, that will when it > detects an event call aplay to play a short tune. > > This has been working fine, until today.ÿ I had to reboot the Pi earlier > today, and now the python won't play aplay (the python is running as it > logs when the event happens). > > If I do a cut and paste of the aplay command, it works fine.ÿ So the > problem looks as though it is some thing to do with the python call. > Both command line and python are running under the same user. > > What I'm seeing logged by the python code is the following error : > > ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave > aplay: main:831 audio open error: Unknown error 524 > > I've tried rebooting again, and an Internet search doesn't come up with > anything for my particular problem (they all seem to be "nothing working"). > > Any suggestions on what to hit with the big hammer ? > > TIA > > Adrian I had issues like this that were in the end permissions, although in this case its hard to see how this happened. Are you running an audio hat? check its well plugged in -- ?But what a weak barrier is truth when it stands in the way of an hypothesis!? Mary Wollstonecraft --- PyGate Linux v1.5 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10) .