Intel ICH4 AC'97 audio playback problem (muted) [RELENG_5]

From: Lewis Thompson <purple_at_lewiz.net>
Date: Thu, 26 Aug 2004 03:25:34 +0100
Hi,

I've just installed 5.3BETA1 after cvsupping from 5.2.1-RELEASE.  I
wanted to be able to use my unsupported wireless card (which works
perfectly, thanks Bill Paul!).

  However, I'm now trying to get my sound card working, which is an
Intel ICH4 AC'97:

pcm0_at_pci0:31:5: class=0x040100 card=0x8172104d chip=0x24c58086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
    class    = multimedia
    subclass = audio

I am loading snd_ich.ko from /boot/loader.conf:

pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 9 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1981B AC97 Codec>

  However, while I receive no errors I get no playback (I even tried
with headphones just in case).  This seems to be a known problem,
without a solution.  In the hopes that somebody might be able to help
resolve it, I'll try and provide all the details I can.

lewiz_at_tokyo /home/lewiz # cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0x1c00, 0x18c0 irq 9 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default)
        [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
        interrupts 0, overruns 0, hfree 16384, sfree 0
        {hardware} -> feeder_root(0x00000000) -> {userland}

File Versions:
$FreeBSD: src/sys/dev/sound/pci/ich.c,v 1.42 2004/07/16 03:59:27 tanimura Exp $
$FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.2 2003/09/07 16:28:02 cg Exp $
$FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.16 2004/01/28 08:02:15 truckman Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.92 2004/07/16 03:59:09 tanimura Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.17 2004/06/16 09:46:57 phk Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.40 2004/06/25 16:34:33 josef Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.10 2003/04/20 17:08:56 orion Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.13 2003/09/07 16:28:03 cg Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.32 2003/09/07 16:28:03 cg Exp $
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.13 2003/09/07 16:28:03 cg Exp $
$FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.77 2004/07/02 15:31:44 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.97 2004/02/28 19:47:02 truckman Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.23 2004/04/29 02:51:59 green Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.2 2003/08/21 15:44:55 orion Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.51 2004/05/08 03:41:40 sanpei Exp $

lewiz_at_tokyo /home/lewiz # fstat /dev/dsp0.0
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
root     esd          636    5 /dev         42 crw-rw-rw-  dsp0.0  w  /dev/dsp0.0

lewiz_at_tokyo /home/lewiz # uname -a
FreeBSD tokyo.fajita.org 5.3-BETA1 FreeBSD 5.3-BETA1 #4: Thu Aug 26 01:23:36 BST 2004     lewiz_at_tokyo.fajita.org:/usr/src/sys/i386/compile/TOKYO  i386

lewiz_at_tokyo /home/lewiz # mixer
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer rec      is currently set to   0:0
Mixer ogain    is currently set to  50:50
Mixer line1    is currently set to  75:75
Mixer phin     is currently set to   0:0
Mixer phout    is currently set to   0:0
Recording source: mic

Any help on this would be much appreciated.  I don't know whether this
means anything but... when I was figuring out which module to load I
used to get an audible bell on the console (too many backspaces, etc.)
but I no longer get this with the driver loaded.  I didn't think that
the audible bell was strictly handled by a driver... assuming I'm
correct could that not just mean that everything is working but the
output is simply muted?

  Thanks for any help,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:purple_at_lewiz.net | jabber:lewiz_at_jabber.org | url:www.lewiz.org |-

Received on Thu Aug 26 2004 - 00:25:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC