Comment 10 for bug 310760

Revision history for this message
Martin Pitt (pitti) wrote :

Sorry for the delay, I was on holidays last week.

OK, so if it isn't pulseaudio, we have to dig further. Can you please generate a full strace:

  sudo killall hald

Now make sure that sound recording works and capture the trace:

  strace -f -o /tmp/arecord-works.strace -s 1024 -v / /usr/bin/arecord -D hw:1,0 -d 3 -f cd -t wav test.wav

  sudo strace -f -o /tmp/hal.strace -s 1024 -v /usr/sbin/hald --verbose=yes --daemon=no

then wait a bit until the flood settles, check that sound recording fails again, and capture that trace:

  strace -f -o /tmp/arecord-fails.strace -s 1024 -v / /usr/bin/arecord -D hw:1,0 -d 3 -f cd -t wav test.wav

As I said, I have no idea what hal does with the sound device, I hope that the straces can shed some light on this.

Thank you!