bandwidth_pig
07-27-2003, 03:14 PM
I am having a problem getting FreeBSD to use the sound card that I want it to. I recently recompiled my kernel and added the necessary:
device pcm
But I have two sound cards in my system. One is integrated into the motherboard (which is disabled in the BIOS) and strangley, it works with FreeBSD. The other is a SB 16 PCI, which is spotted by FreeBSD, but is not working:
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 4.8-RELEASE #1: Sun Jul 27 10:37:04 PDT 2003
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD Athlon(TM) XP 2100+ (1729.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x662 Stepping = 2
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 1073725440 (1048560K bytes)
avail memory = 1040609280 (1016220K bytes)
Preloaded elf kernel "kernel" at 0xc0469000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1e30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <ATI model 4966 graphics accelerator> at 0.0 irq 11
pci1: <ATI model 496e graphics accelerator> at 0.1
isab0: <PCI to ISA bridge (vendor=1039 device=0018)> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xce800000-0xce800fff irq 5 at device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xce000000-0xce000fff irq 6 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 5591 ATA100 controller> port 0xb800-0xb80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <CMedia CMI8738> port 0xa000-0xa0ff irq 10 at device 5.0 on pci0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x9800-0x983f irq 10 at device 9.0 on pci0
xl0: Ethernet address: 00:60:97:6a:d4:cd
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm1: <Creative CT5880-C> port 0x9400-0x943f irq 5 at device 12.0 on pci0
pcm1: <Cirrus Logic CS4297B ac97 codec>
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
fdc0: cannot reserve interrupt line
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 57220MB <Maxtor 5T060H6> [116257/16/63] at ata0-master UDMA100
ad1: 76319MB <WDC WD800BB-00CAA0> [155061/16/63] at ata0-slave UDMA100
acd0: DVD-ROM <SAMSUNG DVD-ROM SD-612> at ata1-master PIO4
acd1: DVD-R <SONY DVD RW DRU-500A> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s2a
It's listing it as PCM1. Any ideas?
device pcm
But I have two sound cards in my system. One is integrated into the motherboard (which is disabled in the BIOS) and strangley, it works with FreeBSD. The other is a SB 16 PCI, which is spotted by FreeBSD, but is not working:
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 4.8-RELEASE #1: Sun Jul 27 10:37:04 PDT 2003
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD Athlon(TM) XP 2100+ (1729.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x662 Stepping = 2
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 1073725440 (1048560K bytes)
avail memory = 1040609280 (1016220K bytes)
Preloaded elf kernel "kernel" at 0xc0469000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1e30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <ATI model 4966 graphics accelerator> at 0.0 irq 11
pci1: <ATI model 496e graphics accelerator> at 0.1
isab0: <PCI to ISA bridge (vendor=1039 device=0018)> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xce800000-0xce800fff irq 5 at device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xce000000-0xce000fff irq 6 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 5591 ATA100 controller> port 0xb800-0xb80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <CMedia CMI8738> port 0xa000-0xa0ff irq 10 at device 5.0 on pci0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x9800-0x983f irq 10 at device 9.0 on pci0
xl0: Ethernet address: 00:60:97:6a:d4:cd
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm1: <Creative CT5880-C> port 0x9400-0x943f irq 5 at device 12.0 on pci0
pcm1: <Cirrus Logic CS4297B ac97 codec>
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
fdc0: cannot reserve interrupt line
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 57220MB <Maxtor 5T060H6> [116257/16/63] at ata0-master UDMA100
ad1: 76319MB <WDC WD800BB-00CAA0> [155061/16/63] at ata0-slave UDMA100
acd0: DVD-ROM <SAMSUNG DVD-ROM SD-612> at ata1-master PIO4
acd1: DVD-R <SONY DVD RW DRU-500A> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s2a
It's listing it as PCM1. Any ideas?