On Thu, Oct 02, 2008 at 04:15:13PM +0300, Vladimir Kirillov wrote: > Hi everyone! > > I've been trying to record some sound using the microphone, but i failed. > azalia(4) manual has nothing about recording, unfortunately. > I played with aucat -i/-o to play record sound, but the result > file remained silent. > > Is it possible to record sound right now?..
it should be, but you have to get the codec configured correctly, which isn't always easy. some suggestions below. > Thanks, in advance. > > PS: > here is some information: > > $ dmesg | grep azalia > azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 2 > int 22 (irq 10) > azalia0: codec[s]: Realtek/0x0268 > audio0 at azalia0 > > $ mixerctl > inputs.dac=192,192 > inputs.dac2=126,126 > inputs.mix.dac.mute=off > inputs.mix2.dac.mute=off > inputs.mix2.speaker8.m=off > inputs.mix3.dac2.mute=off > inputs.mix3.speaker8.m=off > inputs.mix3.dac.mute=off > outputs.speaker3.mute=off > outputs.speaker3.dir=output > outputs.speaker3.boost=off > outputs.speaker3.eapd=on > outputs.headphones.mute=on > outputs.headphones.dir=output > outputs.headphones.boos=off > outputs.headphones.eapd=on > outputs.speaker4.mute=off > outputs.mic.mute=off > inputs.mic=127,127 probably need to raise this to 255 > outputs.mic.dir=input > inputs.speaker5=127,127 > outputs.speaker6.mute=off > inputs.speaker6=127,127 > outputs.speaker6.dir=output > inputs.sel.source=mic what other sources are available? use `mixerctl -v' to see the options. > outputs.sel.mute=off > outputs.sel=120,120 probably raise this to 255 as well > inputs.sel2.source=speaker3 what other sources are available? `mixerctl -v' > outputs.sel2.mute=off > outputs.sel2=120,120 probably raise this to 255 as well > inputs.usingdac=02 > record.usingadc=07 do you have `08' as a choice here? if I'm reading the datasheet right, inputs.sel corresponds to one of adc 07 or 08, inputs.sel2 corresponds to the other. anyway, I'd wait to try fiddling with this last. raise the amp outputs first, check the sources, and if that fails, try a different adc. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org