Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 17:58:53 +0100 (CET)
From:      =?iso-8859-1?q?harry?= <net_harry@yahoo.dk>
To:        freebsd-questions@freebsd.org
Subject:   Can't get microphone working?!
Message-ID:  <20040301165853.32529.qmail@web14303.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301165853.32529.qmail>