On Wed, Jul 29, 2009 at 07:06:15PM +0200, Jean-Frangois SIMON wrote:
> Thanks for your patience. No it just rest silent and here two successive
> audioctl, no movement in the play sensor.
> 
> $ audioctl
> play.samples=0
> play.open=1
> play.active=0
> play.errors=0

very strange, the device is opened but it's stopped, and
cat(1) cant do that.

can you confirm that the ``cat /dev/arandom >/dev/audio''
command was still running during the whole operation. Are
you sure it didn't terminate with a error?

play.active=0 indicates that the device is stopped and play.samples=0 means it
has played 0 samples, so it's normal you dont hear anything so far.

during the ``cat /dev/arandom >/dev/audio'' command the
play.active should be 1, and play.sample should be
increasing.

fwiw, if the ``cat /dev/arandom >/dev/audio'' terminates
with ``Device busy'', you can use fstat(1) to see which
programm is using it, (and kill it), example:

$ fstat /dev/audio                                                          
USER     CMD          PID   FD MOUNT        INUM MODE       R/W    SZ|DV NAME
aucat    aucat      31279    3 /            1709 crw-rw-rw-  rw   audio0 
/dev/audio
$ sudo kill 31279

-- Alexandre

Reply via email to