Hi all. I have installed a SoundBlaster, which it's not configured by the current kernel, then for get configured by the kernel, i had to modify the file
/usr/src/sys/dev/pci/emuxki.c adding the line 206 which by default not there: 202 const struct pci_matchid emuxki_devices[] = { 203 { PCI_VENDOR_CREATIVELABS, PCI_PRODUCT_CREATIVELABS_SBLIVE }, 204 { PCI_VENDOR_CREATIVELABS, PCI_PRODUCT_CREATIVELABS_AUDIGY }, 205 { PCI_VENDOR_CREATIVELABS, PCI_PRODUCT_CREATIVELABS_AUDIGY2 }, 206 { PCI_VENDOR_CREATIVELABS, PCI_PRODUCT_CREATIVELABS_AUDIGYLS }, 207 }; Then, i rebuild the kernel, reboot with the new kernel, and now i can see that the kernel has configured the device, but now, the problem is with ac97 codec: --- dmesg fragment --- emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Audigy LS" rev 0x00: irq 10 ac97: codec id not read audio0 at emu0 --- end dmesg fragment --- Then my question, is: where can i find the codec that my soundblaster needs? or what can i do for enable the AC97 codec?. Thanks for all. ( Sorry for my bad english ) --- all dmesg ( KERNEL TEST )--- OpenBSD 4.4-beta (TEST) #0: Sun Aug 10 23:01:36 CEST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/TEST real mem = 2134208512 (2035MB) avail mem = 2072334336 (1976MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0100 (37 entries) bios0: vendor Award Software International, Inc. version "F8" date 08/03/2004 bios0: Gigabyte Technology Co., Ltd. K8T800-8237 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB6(S3) USB7(S3) USB8(S3) USB 9(S3) UAR1(S5) LPT1(S5) ECP1(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: PSS acpibtn0 at acpi0: PWRB cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3400+, 2412.41 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C FLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required cpu0: Cool'n'Quiet K8 2412 MHz: speeds: 2400 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x01 ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5700LE" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp at vga1 not configured drm at vga1 unsupported emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Audigy LS" rev 0x00: irq 10 ac97: codec id not read audio0 at emu0 pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide0: using irq 11 for native-PCI interrupt pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide1 channel 0 drive 0: <ST3160021A> wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd1 at pciide1 channel 0 drive 1: <ST3160021A> wd1: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide1 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-H12N, UL01> ATAPI 5/cdrom r emovable cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 4 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 10 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 10 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 5 uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 5 ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 iic0 at viapm0 iic0: addr 0x4e 01=02 02=10 03=72 05=80 06=0f 0a=ff 0e=e0 0f=ff 3e=80 48=80 4a= 80 4e=80 fe=80 words 00=00ff 01=02ff 02=10ff 03=72ff 04=00ff 05=80ff 06=0fff 07 =00ff spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0 spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL3.0 spdmem2 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0 rl0 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:0f:ea :4d:bf:36 rlphy0 at rl0 phy 0: RTL internal PHY pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x2e/2: IT8705F rev 0x02, EC port 0x290 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b wsdisplay0: screen 5 deleted wsdisplay0: screen 5 added (80x50, vt100 emulation)