Can't get microphone working?!
harry
net_harry at yahoo.dk
Mon Mar 1 08:58:56 PST 2004
Hey!
I can't get my microphone working. My system is a
FreeBSD 5.1-REL.
First of - i get some info about my soundcard:
# [harry]:[~]$ cat /dev/sndstat
# FreeBSD Audio Driver (newpcm)
# Installed devices:
# pcm0: <SiS 7012> at io 0xd400, 0xd800 irq 10 bufsz
16384 (1p/1r/4v channels duplex default)
And my vhans:
# [harry]:[~]$ sysctl -a | grep vchan
# hw.snd.maxautovchans: 4
# hw.snd.pcm0.vchans: 4
My record source:
# [harry]:[~]$ mixer recsrc
# Recording source: mic
And i'd make sure to turn up for 'rec' and 'mic':
# [harry]:[~]$ mixer mic 100 rec 100
# Setting the mixer mic from 0:0 to 100:100.
# Setting the mixer rec from 0:0 to 100:100.
Now everything should be fine. So i try to record
something:
# [harry]:[~]$ cp /dev/audio test.au
# ^C
And examines the file:
# [harry]:[~]$ du -h test.au
# 128K test.au
Fine. Then i try to play it:
# [harry]:[~]$ cp test.au /dev/audio
It only takes a few seconds before it ends. And
nothing comes out of my speaker. And it takes way
shorter to run it than to record it.
I also tried just to cat directly to the speaker:
# [harry]:[~]$ cat /dev/dsp > /dev/dsp
No luck.
What do i do wrong? How do i get it working?
Greetings, Harry
=====
blog: http://harry.linux.dk
radiolyd: http://harry.linux.dk/radiolyd
Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
More information about the freebsd-questions
mailing list