[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SoundBlaster PCI audio on OpenBSD: device configuration



I recently installed a PCI Creative Labs SoundBlaster Live card on
OpenBSD/i386 2.9-current, and when I try to write to `/dev/audio' or to
`/dev/mixer', I get `device not configured'.  I am using the standard
GENERIC kernel.  The `dmesg' output is:

  OpenBSD 2.9-stable (GENERIC.PROF) #0: Thu Aug  2 03:01:34 PDT 2001
      root_(_at_)_localhost:/usr/src/sys/arch/i386/compile/GENERIC.PROF
  cpu0: F00F bug workaround installed
  cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 150 MHz
  cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8
  real mem  = 100249600 (97900K)
  avail mem = 87867392 (85808K)
  using 1249 buffers containing 5115904 bytes (4996K) of memory
  mainbus0 (root)
  bios0 at mainbus0: AT/286+(b4) BIOS, date 04/08/96, BIOS32 rev. 0 @ 0xfb410
  apm0 at bios0: Power Management spec V1.1
  apm0: AC on, battery charge unknown, estimated 0:00 hours
  pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xb928
  pcibios0: PCI BIOS has 5 Interrupt Routing table entries
  pcibios0: PCI bus #0 is the last bus
  bios0: ROM list: 0xc0000/0x8000
  pci0 at mainbus0 bus 0: configuration mode 1 (bios)
  pchb0 at pci0 dev 0 function 0 "Intel 82439HX" rev 0x01
  pcib0 at pci0 dev 7 function 0 "Intel 82371SB PCI-ISA" rev 0x00
  pciide0 at pci0 dev 7 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
  wd0 at pciide0 channel 0 drive 0: <WDC WD273BA>
  wd0: 16-sector PIO, LBA, 26105MB, 16383 cyl, 16 head, 63 sec, 53464320 sectors
  wd1 at pciide0 channel 0 drive 1: <Maxtor 90840D6>
  wd1: 16-sector PIO, LBA, 8010MB, 16276 cyl, 16 head, 63 sec, 16406208 sectors
  pciide0: channel 0 interrupting at irq 14
  wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
  wd1(pciide0:0:1): using PIO mode 4, DMA mode 2
  atapiscsi0 at pciide0 channel 1
  scsibus0 at atapiscsi0: 2 targets
  cd0 at scsibus0 targ 1 lun 0: <MITSUMI, CD-ROM FX810T4!B, a03> SCSI0 5/cdrom removable
  pciide0: channel 1 interrupting at irq 15
  cd0(pciide0:1:1): using PIO mode 0, DMA mode 1
  "Creative Labs SoundBlaster Live" rev 0x08 at pci0 dev 17 function 0 not configured
  "Creative Labs SoundBlaster Digital Input" rev 0x08 at pci0 dev 17 function 1 not configured
  fxp0 at pci0 dev 18 function 0 "Intel 82557" rev 0x01: irq 9, address 00:a0:c9:3c:1a:98
  nsphy0 at fxp0 phy 1: DP83840 10/100 media interface, rev. 1
  vga1 at pci0 dev 19 function 0 "S3 Trio32/64" rev 0x40
  wsdisplay0 at vga1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  fxp1 at pci0 dev 20 function 0 "Intel 82559" rev 0x08: irq 11, address 00:d0:b7:bf:21:83
  inphy0 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
  isa0 at pcib0
  isadma0 at isa0
  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
  pcppi0 at isa0 port 0x61
  midi0 at pcppi0: <PC speaker>
  sysbeep0 at pcppi0
  lpt0 at isa0 port 0x378/4 irq 7
  npx0 at isa0 port 0xf0/16: using exception 16
  pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
  pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
  pccom2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
  fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
  fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
  biomask c040 netmask ca40 ttymask cac2
  pctr: 586-class performance counters and user-level cycle counter enabled
  Profiling kernel, textsize=4417096 [e0000000..e0436648]
  dkcsum: wd0 matched BIOS disk 80
  dkcsum: wd1 had no matching BIOS disk
  root on wd0a
  rootdev=0x0 rrootdev=0x300 rawdev=0x302

The card works fine under Linux-2.2.19.  It appears that I am just not
sure how to `configure' this device properly when it is a PCI.  Do I
need to modify `/bsd' with `config -e'?  Should I modify the kernel
config file `GENERIC'?

Any help on this issue would be greatly appreciated.