From owner-freebsd-questions Wed Mar 31 19:31:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hawkeye.rworld.org (tw-153-127.sssnet.com [208.168.153.127]) by hub.freebsd.org (Postfix) with ESMTP id 59CF614BD8 for ; Wed, 31 Mar 1999 19:31:16 -0800 (PST) (envelope-from r3mdh@rworld.org) Received: from localhost (r3mdh@localhost) by hawkeye.rworld.org (8.9.2/8.9.2) with ESMTP id WAA04665 for ; Wed, 31 Mar 1999 22:29:50 -0500 (EST) (envelope-from r3mdh@rworld.org) X-Authentication-Warning: hawkeye.rworld.org: r3mdh owned process doing -bs Date: Wed, 31 Mar 1999 22:29:50 -0500 (EST) From: Mike Harlan To: questions@freebsd.org Subject: SoundBlaster AWE64 Config problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am very close (I believe) to getting my SoundBlaster AWE64 sound card to work under FreeBSD. This apparently is not a plug n' play device because pnpinfo only returns info on my Iomega Ditto Dash card (and it wasn't PnP under Windows): [output of pnpinfo] Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID IOM0040 (0x4000ed25), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 1 Device Description: iomega 4Mb/S PNP tape controller Logical Device ID: IOM0040 0x4000ed25 #0 I/O Range 0x200 .. 0x3e0, alignment 0x10, len 0x8 [16-bit addr] TAG Start DF Good Configuration IRQ: 3 4 5 7 9 10 11 12 14 15 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, , , Compatibility mode TAG Start DF Sub-optimal Configuration IRQ: 3 4 5 6 7 9 10 11 12 14 15 - only one type (true/edge) DMA: channel(s) 0 1 2 3 8-bit, not a bus master, , , Compatibility mode TAG End DF End Tag Successfully got 11 resources, 1 logical fdevs -- card select # 0x0001 CSN IOM0040 (0x4000ed25), Serial Number 0xffffffff Logical device #0 IO: 0x0230 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 3 0 DMA 0 0 IO range check 0x00 activate 0x01 I have added the proper kernel configuration and did a make depend make make install on my custom kernel: [excerpt of my kernel config file] # Enable PnP support in the kernel. This allows you to automatically # attach to PnP cards for drivers that support it and allow you to # configure cards from USERCONFIG. See pnp(4) for more info. controller pnp0 ##SOUND SUPPORT, added by r3mdh ## # Controls all "VOXWARE" driver sound devices. See Luigi's driver # below for an alternate which may work better for some cards. # controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 #device opl0 at isa? port 0x388 #device awe0 at isa? port 0x620 I rebooted the new kernel and dmesg reports: [dmesg output] Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-STABLE #9: Wed Mar 31 16:18:57 EST 1999 r3mdh@hawkeye.rworld.org:/usr/src/sys/compile/HAWKEYE Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 400910539 Hz CPU: Pentium II/Xeon/Celeron (400.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x651 Stepping=1 Features=0x183f9ff> real memory = 134217728 (131072K bytes) avail memory = 127717376 (124724K bytes) Preloaded elf kernel "kernel" at 0xf02c0000. Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 chip2: rev 0x02 on pci0.2.0 ide_pci0: rev 0x01 on pci0.2.1 chip3: rev 0x02 on pci0.2.3 de0: rev 0x11 int a irq 10 on pci0.13.0 de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 de0: address 00:00:f8:08:47:ba Probing for devices on PCI bus 1: vga0: rev 0x5c on pci1.0.0 Probing for PnP devices: CSN 1 Vendor ID: IOM0040 [0x4000ed25] Serial 0xffffffff Comp ID: @@@0000 [0x00000000] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <12 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model MouseMan+, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 11497MB (23547888 sectors), 23361 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, accel, dma, iordis acd0: drive speed 5512KB/sec, 256KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked wdc1: unit 1 (atapi): , removable, intr, iordis wfd0: medium type unknown (no disk) wfd0: buggy Zip drive, 64-block transfer limit set ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode nlpt0: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 at drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface de0: enabling 10baseT port changing root device to wd0s2a Note that my SoundBlaster card is detected correctly. Also, doing cat /dev/sndstat returns the following: [sndstat output] VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com) Config options: Installed drivers: Type 2: SoundBlaster Type 6: SoundBlaster16 Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 5 drq 1 SoundBlaster16 at 0xffffffff irq 1 drq 5 SB16 MIDI at 0x330 irq 1 Audio devices: 0: SoundBlaster 16 4.16 Synth devices: Midi devices: 0: SoundBlaster 16 Midi Timers: 0: System clock Mixers: 0: SoundBlaster Now, here's the problem I'm having... I cd into the /dev directory. A directory listing of files starting with s: hawkeye# ls s* scd0a sequencer0 sndstat stdin scd0c smb0 speaker stdout sequencer smb1 stderr sysmouse Note that snd0 is not present. I then do a: sh ./MAKEDEV /dev/snd0 and get the following error: hawkeye# sh ./MAKEDEV /dev/snd0 /dev/snd0 - no such device name My question is this: What more do I have to do to get snd0 to be a device on my system? I truly appreciate any help anyone can offer. -- Mike Harlan (r3mdh@rworld.org) http://www.rworld.org/~r3mdh/ http://www.rworld.org/ http://linksdepot.rworld.org/ http://browns.rworld.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message