From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 02:25:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F1FF16A4CE for ; Thu, 26 Aug 2004 02:25:54 +0000 (GMT) Received: from infidel.fajita.org (oldhallfarm.demon.co.uk [80.176.128.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id E310C43D53 for ; Thu, 26 Aug 2004 02:25:52 +0000 (GMT) (envelope-from lewiz@fajita.org) Received: from majic.fajita.org (majic.fajita.org [192.168.0.4]) by infidel.fajita.org (8.12.10/8.12.10) with ESMTP id i7Q2PYK6013618 for ; Thu, 26 Aug 2004 03:25:34 +0100 (BST) (envelope-from lewiz@fajita.org) Received: (from lewiz@localhost) by majic.fajita.org (8.12.10/8.12.10/Submit) id i7Q2PYuV013617 for current@freebsd.org; Thu, 26 Aug 2004 03:25:34 +0100 (BST) (envelope-from lewiz) Date: Thu, 26 Aug 2004 03:25:34 +0100 From: Lewis Thompson To: current@freebsd.org Message-ID: <20040826022534.GA12035@fajita.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.lewiz.org/~lewiz/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.6i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-From: lewiz@fajita.org Subject: Intel ICH4 AC'97 audio playback problem (muted) [RELENG_5] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 02:25:54 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@pci0:31:5: class=3D0x040100 card=3D0x8172104d chip=3D0x24c58086 rev=3D= 0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controll= er' class =3D multimedia subclass =3D audio I am loading snd_ich.ko from /boot/loader.conf: pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe010080= 0-0xe01008ff,0xe0100c00-0xe0100dff irq 9 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: 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@tokyo /home/lewiz # cat /dev/sndstat=20 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: 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 E= xp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.2 2003/09/07 16:28:02 cg E= xp $ $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 Ex= p $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.40 2004/06/25 16:34:33 josef Ex= p $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.10 2003/04/20 17:08:56 or= ion 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 E= xp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.97 2004/02/28 19:47:02 truckm= an Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.23 2004/04/29 02:51:59 green E= xp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.2 2003/08/21 15:44:55 orio= n Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.51 2004/05/08 03:41:40 sanpei Ex= p $ lewiz@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@tokyo /home/lewiz # uname -a FreeBSD tokyo.fajita.org 5.3-BETA1 FreeBSD 5.3-BETA1 #4: Thu Aug 26 01:23:3= 6 BST 2004 lewiz@tokyo.fajita.org:/usr/src/sys/i386/compile/TOKYO i386 lewiz@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. --=20 I was so much older then, I'm younger than that now. --Bob Dylan, 1964. ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org |- --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBLUoeItq0KFQv7T8RAkZ5AKDGJPkWifLeX8/atpoVqouV45xUeQCgk+6E xOSsLryFVgxz44G/6FoixdU= =aty1 -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--