Frank Barknecht wrote:
>
>> No, nothing changed. It still runs for an infinite time, and then I
>> have to abort it with control-Z
>
> Actually this is suspending, not aborting. aplay continues to run,
> it's only sleeping after C-z.
>
Ok, I will try to use the correct terminology.

>> OTOH, after aborting, there's something in fuser /dev/snd/pcmC0D0p,
>> namely:
>>
>>   /dev/snd/pcmC0D0p:    1696  1696m
>>
>> This 1696 is the aplay that I aborted but didn't kill.
>
> Yes, this is the suspended aplay. artsd is probably not using
> /dev/snd/pcmC0D0p but /dev/dsp0 directly. I don't know, if it would
> show up in the user list for pcmC0D0p then. You might check for users
> of /dev/dsp0 and /dev/dsp, too.
>
fuser /dev/dsp0 and fuser /dev/dsp don't show anything.

> You might also try to restart ALSA. If you have a full install, there
> should be an init-script somewhere under /etc/init.d named something
> with alsa (it's "/etc/init.d/alsa" on Debian, and
> "/etc/init.d/alsasound" on some other dists.)
>
No: ls /etc/init.d | grep alsa is empty

But alsa, in its untils directory, has alsasound

> Try restarting ALSA with that like "/etc/init.d/alsa restart"
> or "/etc/init.d/alsa force-restart"
>
Ok:

me> kill 1378 # artsd
me> cd something
me> utils/alsasound restart
computer> Shutting down sound driver: done
computer> Starting sound driver: snd-via82xx done
me> # switching to non-God user
me> aplay something.wav
computer> Playing WAVE 'sb/voxkit/mamae.wav' : Unsigned 8 bit, 
  Rate 44100 Hz, Stereo
me> C-z # after waiting an infinite time
me> kill 1766 # aplay

It's still not working <:-(

Alberto Monteiro



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to