Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 1999 22:40:02 -0500 (EST)
From:      Patrick Seal <patseal@hyperhost.net>
To:        Mike Harlan <r3mdh@rworld.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: SoundBlaster AWE64 Config problem
Message-ID:  <Pine.BSF.4.10.9903312238470.67772-100000@foobar.hyperhost.net>
In-Reply-To: <Pine.BSF.4.10.9903312228280.4663-100000@hawkeye.rworld.org>

next in thread | previous in thread | raw e-mail | index | archive | help
read the actual MAKEDEV script to find the answer:

# Special purpose devices:
#	apm	Advanced Power Management BIOS
#	bpf*	packet filter
#	speaker	pc speaker
#	tw*	xten power controller
#	snd*	various sound cards
#	pcaudio PCM audio driver
#	socksys iBCS2 socket system driver
#	vat	VAT compatibility audio driver (requires snd*)


./MAKEDEV snd0

Good Luck!

------------------------------------ _____________________________________
Patrick Seal                        |"Microsoft isn't evil, they just make
<patseal@hyperhost.net>             |   really crappy operating systems."
Hyperhost - http://www.hyperhost.net| -Linus Torvalds
hosting and Design

http://www.freebsd.org - http://www.linux.org




On Wed, 31 Mar 1999, Mike Harlan wrote:

> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
> real memory  = 134217728 (131072K bytes)
> avail memory = 127717376 (124724K bytes)
> Preloaded elf kernel "kernel" at 0xf02c0000.
> Probing for devices on PCI bus 0:
> chip0: <Intel 82443BX host to PCI bridge> rev 0x02 on pci0.0.0
> chip1: <Intel 82443BX host to AGP bridge> rev 0x02 on pci0.1.0
> chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.2.0
> ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
> chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.2.3
> de0: <Digital 21041 Ethernet> 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: <ATI model 4742 graphics accelerator> 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): <QUANTUM Bigfoot TX12.0AT>
> 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): <TOSHIBA DVD-ROM SD-M1202/1018>, 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): <IOMEGA  ZIP 100       ATAPI/23.D>, 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: <generic printer> on ppbus 0
> nlpt0: Interrupt-driven port
> ppi0: <generic parallel i/o> on ppbus 0
> plip0: <PLIP network interface> on ppbus 0
> sb0 at 0x220 irq 5 drq 1 on isa
> snd0: <SoundBlaster 16 4.16> 
> sbxvi0 at drq 5 on isa
> snd0: <SoundBlaster 16 4.16> 
> sbmidi0 at 0x330 on isa
> snd0: <SoundBlaster MPU-401> 
> 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
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9903312238470.67772-100000>