From owner-freebsd-current@FreeBSD.ORG Tue May 13 18:05:17 2003 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 86C1537B401 for ; Tue, 13 May 2003 18:05:17 -0700 (PDT) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E60B43FBF for ; Tue, 13 May 2003 18:05:16 -0700 (PDT) (envelope-from bondc@shaw.ca) Received: from pd6mr4so.prod.shaw.ca (pd6mr4so-qfe3.prod.shaw.ca [10.0.141.219]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEU00CD2QRZ0S@l-daemon> for freebsd-current@freebsd.org; Tue, 13 May 2003 18:59:59 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca [10.0.121.7]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0HEU000ESQRZO5@l-daemon> for freebsd-current@freebsd.org; Tue, 13 May 2003 18:59:59 -0600 (MDT) Received: from shaw.ca (h24-80-125-94.vf.shawcable.net [24.80.125.94]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEU00617QRX0I@l-daemon> for freebsd-current@freebsd.org; Tue, 13 May 2003 18:59:58 -0600 (MDT) Date: Tue, 13 May 2003 18:05:13 -0700 From: Chris Bond To: freebsd-current@freebsd.org Message-id: <3EC19649.9010505@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030504 Subject: Intel ICH4 audio troubles 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: Wed, 14 May 2003 01:05:17 -0000 Hello, I've been having trouble getting audio working on my system, which is 5.1-BETA (built last night). I have an Asus P4PE-L motherboard with onboard audio, which uses the Intel 82801DB chipset with an AD1980 AC97 codec. The kernel reports no problems but I can't hear any audio. Here's the dmesg output: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-BETA #4: Mon May 12 00:18:56 PDT 2003 cbond@muscle:/usr/src/sys/i386/compile/MUSCLE Preloaded elf kernel "/boot/kernel/kernel" at 0xc0514000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc051426c. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2539105156 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2539.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 536788992 (511 MB) avail memory = 515846144 (491 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00f23b0 acpi_bus_number: root bus has no _BBN, assuming 0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at device 5.0 (no driver attached) ed0: port 0xb800-0xb81f at device 12.0 on pci2 pcib2: slot 12 INTA is routed to irq 5 ed0: address 00:00:e8:56:b1:1e, type NE2000 (16 bit) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 9 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.5 (no driver attached) fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: 76319MB [155061/16/63] at ata0-master UDMA33 acd0: DVD-ROM at ata1-master PIO4 acd1: CD-RW at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s1a uhci0: port 0xd800-0xd81f irq 5 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd400-0xd41f irq 9 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 9 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xed800000-0xed8003ff at device 29.7 on pci0 pcib0: slot 29 INTD is routed to irq 11 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcm0: port 0xa400-0xa43f,0xa800-0xa8ff mem 0xec000000-0xec0000ff,0xec800000-0xec8001ff at device 31.5 on pci0 pcib0: slot 31 INTB is routed to irq 10 pcm0: nvidia0: mem 0xef800000-0xef87ffff,0xf0000000-0xf7ffffff,0xee000000-0xeeffffff irq 5 at device 0.0 on pci1 And the sndstat output: muscle# sysctl hw.snd.verbose=3 hw.snd.verbose: 1 -> 3 muscle# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xa800, 0xa400 irq 10 bufsz 16384 (1p/1r/0v channels duplex default) [pcm0:play:0]: spd 44100, fmt 0x10000010, flags 00000000 interrupts 11331, underruns 1, ready 0 {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 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.28 2003/04/16 03:16:55 mdodd Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.1 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.12 2003/02/19 05:47:12 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.1 2003/01/25 16:54:05 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.29 2003/03/05 14:48:28 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.83 2003/02/19 05:47:12 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.12 2003/02/19 05:47:12 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.13 2003/03/03 12:15:46 phk Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.63 2003/05/01 16:31:21 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.31 2003/03/03 12:15:46 phk Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.42 2003/04/23 16:49:53 jhb 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/channel.c,v 1.88 2003/02/26 14:38:19 orion Exp $$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.11 2003/04/20 17:08:56 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.19 2003/04/20 17:08:56 orion Exp $ And, in case this is of any use: muscle# sysctl -a | grep snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 3 hw.snd.unit: 0 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 hw.snd.pcm0.ac97rate: 44000 Thanks for your help. -- Chris