From nobody@FreeBSD.org  Tue Nov 20 21:34:07 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 26C8237B418
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Nov 2001 21:34:07 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id fAL5Y7D28269;
	Tue, 20 Nov 2001 21:34:07 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200111210534.fAL5Y7D28269@freefall.freebsd.org>
Date: Tue, 20 Nov 2001 21:34:07 -0800 (PST)
From: Craig Reyenga <dreyenga@telus.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: AC97 Audio (appears to be) unsupported
X-Send-Pr-Version: www-1.0

>Number:         32157
>Category:       kern
>Synopsis:       AC97 Audio (appears to be) unsupported
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sound
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 21:40:00 PST 2001
>Closed-Date:    Fri Mar 1 12:32:50 PST 2002
>Last-Modified:  Fri Mar 01 12:33:31 PST 2002
>Originator:     Craig Reyenga
>Release:        FreeBSD 4.4-STABLE
>Organization:
None
>Environment:
FreeBSD fireball.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 11 13:02:51 PST 2001     root@fireball.net:/usr/src/src-4.4S/src/sys/compile/K7KERN0  i386

>Description:
I have an Epox EP-8KHA+ mainboard with a VIA KT266A chipset (VIA VT8233 southbridge) which has onboard AC97 audio. When the drivers are loaded by either compiling statically or as modules, the onboard audio is not detected by the OS.
>How-To-Repeat:
Obtain a mainboard with the VIA KT266A chipset and onboard audio, and "kldload snd".
>Fix:
Modify the current via 82c686b AC97 audio driver to support the audio on a VT8233 chip, or write a new driver.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jan 5 20:27:04 PST 2002 
Responsible-Changed-Why:  
Over to the sound maintainers 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32157 

From: "Dave Reyenga" <dreyenga@telus.net>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: kern/32157: AC97 Audio (appears to be) unsupported
Date: Sun, 13 Jan 2002 21:59:39 -0000

 Is this what you need?
 
 pciconf -l :
 
 agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x30991106 rev=0x00
 hdr=0x00
 pcib1@pci0:1:0: class=0x060400 card=0x00000080 chip=0xb0991106 rev=0x00
 hdr=0x01
 rl0@pci0:10:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10
 hdr=0x00
 bktr0@pci0:11:0: class=0x040000 card=0x00021461 chip=0x036e109e rev=0x02
 hdr=0x00
 none0@pci0:11:1: class=0x048000 card=0x00021461 chip=0x0878109e rev=0x02
 hdr=0x00
 isab0@pci0:17:0: class=0x060100 card=0x00001106 chip=0x30741106 rev=0x00
 hdr=0x00
 atapci0@pci0:17:1: class=0x01018a card=0x05711106 chip=0x05711106 rev=0x06
 hdr=0x00
 uhci0@pci0:17:2: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1b
 hdr=0x00
 uhci1@pci0:17:4: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1b
 hdr=0x00
 none1@pci0:17:5: class=0x040100 card=0x00000000 chip=0x30591106 rev=0x30
 hdr=0x00
 none2@pci1:0:0: class=0x030000 card=0x00231545 chip=0x011010de rev=0xb2
 hdr=0x00
 
 dmesg:
 
 Copyright (c) 1992-2002 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 4.5-RC #5: Sat Jan 12 18:00:40 PST 2002
     root@fireball.tornado:/usr/obj/usr/source/src-4.4S/src/sys/K7KERN
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: AMD Athlon(tm) XP 1600+ (1403.19-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
 
 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
 PAT,PSE36,MMX,FXSR,SSE>
   AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
 real memory  = 268369920 (262080K bytes)
 avail memory = 257499136 (251464K bytes)
 Preloaded elf kernel "kernel" at 0xc038e000.
 VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc0320242 (1000022)
 VESA: NVidia
 netsmb_dev: loaded
 Pentium Pro MTRR support enabled
 Using $PIR table, 7 entries at 0xc00fde70
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 agp0: <VIA Generic host to PCI bridge> mem 0xe8000000-0xebffffff at device
 0.0 on pci0
 pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
 rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem
 0xef000000-0xef0000ff irq 5 at device 10.0 on pci0
 rl0: Ethernet address: 00:50:bf:5a:eb:bd
 miibus0: <MII bus> on rl0
 rlphy0: <RealTek internal media interface> on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bktr0: <BrookTree 878> mem 0xef001000-0xef001fff irq 11 at device 11.0 on
 pci0
 iicbb0: <I2C generic bit-banging driver> on bti2c0
 iicbus0: <Philips I2C bus> on iicbb0 master-only
 smbus0: <System Management Bus> on bti2c0
 bktr0: AVer Media TV/FM, Philips NTSC tuner.
 pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 11.1 irq 11
 isab0: <PCI to ISA bridge (vendor=1106 device=3074)> at device 17.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C686 ATA100 controller> port 0xd400-0xd40f at device 17.1 on
 pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 11 at device 17.2
 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 17.4
 on pci0
 usb1: <VIA 83C572 USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 ugen0: STD AxisPad, rev 1.01/10.01, addr 2
 pci0: <unknown card> (vendor=0x1106, dev=0x3059) at 17.5 irq 5
 orm0: <Option ROM> at iomem 0xc0000-0xcc7ff on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 sc0: <System console> on isa0
 sc0: VGA <16 virtual consoles, flags=0x200>
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: configured irq 4 not in bitmap of probed irqs 0x8
 sio1 at port 0x2f8-0x2ff irq 4 on isa0
 sio1: type 16550A
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/16 bytes threshold
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ad0: 19546MB <FUJITSU MPG3204AT E> [39714/16/63] at ata0-master UDMA100
 acd0: CDROM <TOSHIBA CD-ROM XM-6302B> at ata1-master using PIO4
 acd1: CD-RW <RICOH CD-R/RW MP7060A> at ata1-slave using PIO3
 Mounting root from ufs:/dev/ad0s2a
 
 
State-Changed-From-To: open->closed 
State-Changed-By: orion 
State-Changed-When: Fri Mar 1 12:32:50 PST 2002 
State-Changed-Why:  
Driver support in -current as of today. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32157 
>Unformatted:

This is an integrated sound controller and as such requires pcm
support to be compiled into the kernel.  Can you add an entry:

	device pcm

to your kernel config, then build the kernel, install it, and reboot
(let us know the outcome).

Cheers
- Orion

