home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 21488 
 The Natural Philosopher to All 
 Re: aplay oddity 
 24 Oct 25 02:14:58 
 
MSGID: <10dejui$293ep$1@dont-email.me> f10bb2df
REPLY:  21d12af7
PID: PyGate 1.5
TID: PyGate/Linux 1.5
CHRS: CP1252 2
TZUTC: 0100
REPLYADDR tnp@invalid.invalid
REPLYTO 3:633/10 UUCP
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)
SEEN-BY: 105/81 106/201 128/187 129/14 305 153/7715 154/110 218/700
SEEN-BY: 226/30 227/114 229/110 111 200 206 275 300 317 400 426 428
SEEN-BY: 229/470 616 664 700 705 266/512 291/111 292/854 320/219 322/757
SEEN-BY: 342/200 396/45 460/58 633/10 280 414 418 420 422 509 2744
SEEN-BY: 712/848 770/1 902/26 2320/105 5020/400 5075/35
PATH: 633/10 280 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca