From owner-freebsd-questions Thu Nov 25 10:13:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id C8B7414A1F for ; Thu, 25 Nov 1999 10:13:10 -0800 (PST) (envelope-from sarig@bezeqint.net) Received: from asmodean ([212.25.116.100]) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FLR00FWHMLAA4@mail.bezeqint.net> for questions@freebsd.org; Thu, 25 Nov 1999 20:12:47 +0200 (IST) Date: Thu, 25 Nov 1999 20:12:09 +0200 From: Oren Sarig Subject: Re: Problem setting up SB Awe64 To: Nick Jennings , questions@freebsd.org Cc: robert@namodn.com Message-id: <053701bf3770$9bee1700$470cb3d4@asmodean> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 References: X-Priority: 3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First, grab any .au file from the net and do `cat foo.au >/dev/audio` and see if it plays. If it doesn't, make sure that in /boot/loader.conf you have a line reading: user_script="YES" also make sure you have a `controller pnp0' line in your kernel configuration... I assume it's there, but it's not in the snip you've posted. -- Oren Sarig sarig@bezeqint.net ----- Original Message ----- From: Nick Jennings To: Cc: Sent: Friday, November 19, 1999 10:02 PM Subject: Problem setting up SB Awe64 > > 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: > sbxvi0 at drq 5 on isa > snd0: > sbmidi0 at 0x330 on isa > snd0: > opl0 at 0x388 on isa > snd0: > awe0 at 0x620 on isa > awe0: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message