i've had to do the same thing, i can only record on device 1 with my VIA 8233. i never use oss much though, and definately not for recording audio...
Alien Op maandag 26 april 2004 23:14, schreef Christopher Moore: > Some success. > > On Mon, Apr 26, 2004 at 06:42:16PM +0200, Clemens Ladisch wrote: > > Christopher Moore wrote: > > > I'm running alsa-1.0.4 on kernel 2.4.26 and attempted to record > > > from the mic and tried the following: > > > > > > root:~# arecord -d 5 -D hw:0,0 test.wav > > > Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono > > > Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz) > > > please, try the plug plugin (-Dplug:hw:0,0) > > > arecord: pcm_read:1169: read error: Input/output error > > > > > > root:~# arecord -l > > > card 0: V8233 [VIA 8233], device 0: VIA 8233 [VIA 8233] > > > card 0: V8233 [VIA 8233], device 1: VIA 8233 [VIA 8233] > > > > > > 1. How do invoke the plugin suggested by the areocrd output. > > > > Use "-D plug:hw:0,0" instead of "-D hw:0,0". > > This did not read any data. > > > Or use a sample rate/format that is supported by your hardware > > ("-f S16_LE -r 48000"). > > This worked when using -D hw:0,1 > > > > 2. What is the meaning of the read error. > > > > The device didn't send any data. If playing doesn't work either (does > > it?), this may be a problem with the interrupt. > > Playing works on both devices 0 and 1 but capture seems to work only on > device 1. > > > Try recording from hw:0,1 instead. > > When using oss apps I'll need to figure out how to play on device 0 and > capture on device 1. Perhaps this is where asoundrc will come in handy. > > > HTH > > Clemens > > Thanks for your help. > Chris > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > Alsa-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-user -- Alien is my name and headbiting is my game. PGP key: http://users.pandora.be/Alien999999999/alien.gpg ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user