struggling with microphone and snd_hda

Mikhail T. mi+thun at aldan.algebra.com
Sun Feb 27 07:36:43 UTC 2011


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


More information about the freebsd-multimedia mailing list