Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2011 02:08:10 -0500
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        multimedia@FreeBSD.org
Subject:   struggling with microphone and snd_hda
Message-ID:  <4D69F85A.2090205@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hello!

I have a Creative's sound-card (SB1040 PCI-Express), recognized as:

    hdac0: <Generic High Definition Audio Controller> mem
       0xd5efc000-0xd5efffff irq 18 at device 0.0 on pci10
    hdac0: HDA Driver Revision: 20100226_0142
    hdac0: [ITHREAD]

mixer reports:

	Mixer vol      is currently set to  70:70
	Mixer pcm      is currently set to  76:76
	Mixer line     is currently set to  90:90
	Mixer rec      is currently set to  75:75
	Recording source: line

/dev/sndstat says:
	FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
	Installed devices:
	pcm0: <HDA Unknown Codec PCM #0 Analog> (play/rec) default
	pcm1: <HDA Unknown Codec PCM #1 Analog> (play/rec)
	pcm2: <HDA Unknown Codec PCM #2 Digital> (play/rec)

It works fine for sound reproduction, but I can't figure out, how to 
make it work with the microphone...

When I start skype and make a call to their "Call Testing Service", I 
see the following error on Skype's stderr:

    RtApiOss: callback thread error (RtApiOss: audio read error for
    device (/dev/dsp).) ... closing thread.

which coincides with the following kernel message:

    pcm0: chn_read(): pcm0:virtual:dsp0.vr0: record interrupt timeout,
    channel dead

or, after I set dev.pcm.0.rec.vchans=0:

    pcm0: chn_read(): pcm0:record:dsp0.r0: record interrupt timeout,
    channel dead

I'd appreciate any hints -- I run 8.2/amd64 as of Feb 21st. Thanks!

Yours,

	-mi



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