William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | unruh@xxxxxxxxxxxxxx Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ On Wed, 23 May 2012, mattia.martinello@xxxxxxxxx wrote: > Hi. > > I'm using Ubuntu 11.04 i386 with kernel 2.6.38-15-generic-pae to > record some audio with arecord. > > I'm getting this strange error when I try to record from my FM tuner > card from device hw1,0: > > root@dvr-test:/home/dvr/dvr# arecord -f cd -D hw:1,0 -d 20 test.wav Have you tried recording at 32000 instead of 44100? I do not understand italian at all, but it would seem it is complaining that the input is 32000 and the output is 44100. You could always use sox to convert the file after it is recorded. It's frequency conversion is much better than alsa's is anyway. -f S16_LE -c2 -r32000 instead of -f cd > Registrazione in corso WAVE 'test.wav' : Signed 16 bit Little Endian, > Frequenza 44100 Hz, Stereo > Attenzione: il campionamento non ? accurato (richiesto=44100Hz, > ottenuto=32000Hz) > provare il plugin plug > arecord: pcm_read:1773: read error: Input/output error > > And the test.wav file is empty, of course. > > I tried to upgrade to Ubuntu 12.04 also, but I get the same error. > I tried to change my FM tuner PCI card, but I didn't solve the problem. > > I googled a lot but I didn't find any solution for my problem. > > Here you can find my ALSA info: > http://www.alsa-project.org/db/?f=cfc2632071342f2b0373c3a484fa04b19acf0958 > > Could you help me, please? > > Thank you very much! > Bye. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Alsa-user mailing list > Alsa-user@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/alsa-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user