Comment 22 for bug 310760

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

Sorry, could not attach the file, as strace do not write if killed with Ctrl-C. Here is a quick cut-and-paste of the last few line of strace -f -s 1024 -v arecord -M -D hw:1,0 -d 3 -f cd -t wav test.wav :

write(2, "Recording WAVE \'test.wav\' : ", 28Recording WAVE 'test.wav' : ) = 28
write(2, "Signed 16 bit Little Endian, ", 29Signed 16 bit Little Endian, ) = 29
write(2, "Rate 44100 Hz, ", 15Rate 44100 Hz, ) = 15
write(2, "Stereo", 6Stereo) = 6
write(2, "\n", 1
) = 1
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9fa00) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4110, 0xbff9ffc0) = 0
ioctl(4, 0xc25c4111, 0xbff9ffc0) = 0
ioctl(4, 0xc0684113, 0xbff9fe50) = 0
ioctl(4, 0x80104132, 0xbff9fd8c) = 0
ioctl(4, 0x80104132, 0xbff9fd8c) = 0
mmap2(NULL, 90112, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0xb7c33000
ioctl(4, 0x4140, 0) = 0
unlink("test.wav") = 0
open("test.wav", O_WRONLY|O_CREAT|O_LARGEFILE, 0644) = 3
write(3, "RIFFT\23\10\0WAVE", 12) = 12
write(3, "fmt \20\0\0\0", 8) = 8
write(3, "\1\0\2\0D\254\0\0\20\261\2\0\4\0\20\0", 16) = 16
write(3, "data0\23\10\0", 8) = 8
ioctl(4, 0x4142, 0xbffa0240) = 0
poll(

I will be doing the test out of GNOME tonight, as my laptop battery is going to die anytime now.