Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 20:01:42 +0100
From:      dsw <dsw@neuronfire.org>
To:        freebsd-i386@freebsd.org
Subject:   Microfone input on snd_ich disabled? (5.3-BETA4)
Message-ID:  <20040916190142.GA14376@neuronfire.org>

next in thread | raw e-mail | index | archive | help
Hi all,

Just been testing a known working microfone in my Asus P4800E-based box,
with various recording programs, with no luck.  It just seems dead.  The
microfone device is actually alive hardware-wise, as there is a windows
partition on this box, and that works.

pcm0: <Intel ICH5 (82801EB)> port 0xee80-0xeebf,0xe800-0xe8ff mem 0xfebfb400-0xfebfb4ff,0xfebfb800-0xfebfb9ff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1985 AC97 Codec>


'mixer' settings are fine, (rec,mic,etc..) all at ~75, and recording source is
'mic'. I have two inputs, line-in and mic, and i've tried both (obviously
setting 'line' to a ~75 mark, too.)

I've checked some archives, and a few others with similar setups have this 
problem.  I found one with a mention of a patch, of which i added the diffed
code to ac97.c to take advantage of the mentioned 20dB gain increase, but 
still no luck ..

(that thread: http://lists.freebsd.org/pipermail/freebsd-multimedia/2003-July/000357.html)

Here is some sndstat debug at verbose=2:

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH5 (82801EB)> at io 0xfebfb800, 0xfebfb400 irq 17 bufsz 16384  (1p/1r/4v channels duplex default)
        [pcm0:play:0]: spd 44100, fmt 0x10000010, flags 0x00001020, 0x00000000
        interrupts 31849, underruns 11865, ready 0
        {userland} -> feeder_vchan_s16(0x10000010) -> {hardware}
        [pcm0:record:0]: spd 44100, fmt 0x10000010, flags 0x00000000, 0x00000000
        interrupts 0, overruns 0, hfree 16384, sfree 131072
        {hardware} -> feeder_root(0x10000010) -> {userland}
        pcm0:play:0[pcm0:virtual:0]: spd 44100, fmt 0x10000010, flags 0x10003030, 0x00000000, pid 1965
        interrupts 0, underruns 0, ready 131072
        {userland} -> feeder_root(0x10000010) -> {hardware}
        pcm0:play:0[pcm0:virtual:1]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0[pcm0:virtual:2]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0[pcm0:virtual:3]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}


Your's stumped!

Cheers

d.
-- 
Brennen der bruecken.



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