Bug 32157

Summary: AC97 Audio (appears to be) unsupported
Product: Base System Reporter: Craig Reyenga <dreyenga>
Component: kernAssignee: sound
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description Craig Reyenga 2001-11-21 05:40:00 UTC
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.

Fix: 

Modify the current via 82c686b AC97 audio driver to support the audio on a VT8233 chip, or write a new driver.
How-To-Repeat: Obtain a mainboard with the VIA KT266A chipset and onboard audio, and "kldload snd".
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2002-01-06 04:27:04 UTC
Responsible Changed
From-To: freebsd-bugs->sound

Over to the sound maintainers
Comment 2 Craig Reyenga 2002-01-13 21:59:39 UTC
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
Comment 3 orion freebsd_committer freebsd_triage 2002-03-01 20:32:50 UTC
State Changed
From-To: open->closed

Driver support in -current as of today.