Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 1999 12:02:44 -0800 (PST)
From:      Nick Jennings <nick@namodn.com>
To:        questions@freebsd.org
Cc:        robert@namodn.com
Subject:   Problem setting up SB Awe64
Message-ID:  <Pine.LNX.4.10.9911191146370.9615-100000@namodn.com>

next in thread | raw e-mail | index | archive | help

Hello,

	I have a Sound Blaster AWE 64, trying to get it working in
FreeBSD, from what I gather in the mailing list archives and in the
FreeBSD Handbook, this is what I've done so far:

I put the following in my custom kernel:

# sound card setup
controller snd0
device sb0 at isa? port0x220 irq 5 drq 1
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330
device opl0 at isa? port 0x388
device awe0 at isa? port 0x620


---
From a post in the mailing list archive, I was told to do the following:

make a file in /boot/ called kernel.conf and in it, put the following:

pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388
pnp 1 1 os disable
pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20
pnp 1 3 os disable
quit


---
After compiling the kernel I then did the following:
# cd /dev
# sh MAKEDEV snd0


---
And then in the /boot/loader.rc enter the following:

load /kernel
load -t userconfig_script /boot/kernel.conf
autoboot 5


---
when I went to put that in the loader.rc, there was already some entries
in there, so I integrated the new lines so the file now looks like this:

--- BEGIN FILE ---

\ Loader.rc
\
\ Includes additional commands
include /boot/loader.4th

load /kernel
load -t userconfig_script /boot/kernel.conf
autoboot 5

\ Reads and processes loader.rc
start

\ Unless set otherwise, autoboot is automatic at this point

--- END FILE ----

I only mention that because it does seem to matter in what order things
are placed in that file.


---
when I rebooted, everything seemed to go ok, this is the output of the
the sound related detection:

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> 
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
awe0 at 0x620 on isa
awe0: <SoundBlaster EMU8000 MIDI (RAM512k)>

Ok, seems fine, but when I go to play something, either with waveplay or
mpg123 etc. this is the most common error:

Sound: DMA (output) timed out - IRQ/DRQ config error?

that error repeats untill I cancel the attempt to play the music.
when I tried using xmms this error also came up which might give some sort
of clue:

cmd xmms pid 296 tried to use non-present sched_getscheduler


---
and thats it. Any ideas? Please respond directly to my email address, as I
am not subscribed to the mailing list. 

Thanks in advance for any suggestions!


- Nick Jennings
- nick@namodn.com




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.LNX.4.10.9911191146370.9615-100000>