Intel ICH4 audio troubles

From: Chris Bond <bondc_at_shaw.ca>
Date: Tue, 13 May 2003 18:05:13 -0700
    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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 536788992 (511 MB)
avail memory = 515846144 (491 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P4PE    > 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at 
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network, ethernet> at device 5.0 (no driver attached)
ed0: <NE2000 PCI Ethernet (RealTek 8029)> 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: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> 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: <multimedia, audio> at device 31.5 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> 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: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> 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 <WDC WD800JB-00CRA1> [155061/16/63] at ata0-master UDMA33
acd0: DVD-ROM <DVD-ROM DDU1621> at ata1-master PIO4
acd1: CD-RW <LITE-ON LTR-48246S> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f 
irq 5 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd400-0xd41f 
irq 9 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd000-0xd01f 
irq 9 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <Intel 82801DB (ICH4)> 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: <Analog Devices AD1980 AC97 Codec>
nvidia0: <GeForce4 Ti 4200> 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: <Intel 82801DB (ICH4)> 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
Received on Tue May 13 2003 - 16:05:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:07 UTC