Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 1999 13:02:42 EDT
From:      Nataraj Dasgupta <xbsd@hotmail.com>
To:        kevin.weiss@mail.utexas.edu, a540@scatcat.fhsu.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: no audio...
Message-ID:  <19990702170243.35135.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
>From: Kevin Weiss <kevin.weiss@mail.utexas.edu>
>To: a540@scatcat.fhsu.edu
>CC: freebsd-questions@freebsd.org
>Subject: Re: no audio...>Date: Fri, 02 Jul 1999 11:44:56 -0500
>Also, what version is it?
>
> >I have put together a kernel that I thought would support my soundcard
> >(SB16) and according to dmesg it is recognized but any audio programs
> >such as cdplayer or x11amp cannot open the sound device.  The irq, drq,
> >and I/O's are set to the values I got from the SB diagnose.exe
> >driver/utillity so they should be correct.
> >The snd0 node doesn't ever show up when I run 'sh MAKEDEV snd0' All I
> >get is a node called 'sndstat'

Try cat sndstat under /dev and see what the file reads. If your soundcard is 
set up successfully on the system, this file should give details of the type 
of the sound card and the config details of the sound card as detected in 
dmesg.


> >I also have a Mitsumi IDE CD-ROM which will not work either.
> >Below is a copy of my kernel configuration file-
> >Thanks for the help!

Did you mount the cdrom ?
The command will be

mount_cd9660 /dev/wcd0c /mnt/cdrom
remember to create a directory cdrom under /dev.


> >
> >#
> >controller isa0
> >controller pnp0
> >controller eisa0
> >controller pci0
> >
>looks good
>
> >
> >#Sound Blaster 16 attempt
> >controller snd0
> >device sb0 at isa? port 0x220 irq 5 drq 1
> >device sbxvi0 at isa? drq 5
> >device sbmidi0 at isa? port 0x330
> >

One important thing here :
your device line reads :

> >device sb0 at isa? port 0x220 irq 5 drq 1

Is your sound card located at 0x220 ? And, did you put in the correct values 
for irq and drq ?
If there was a conflict with the device check the details under -c option 
booting , i.e, at boot> , type in -c and verify. If there is no conflict 
then, it should be fine.

Also try replacing the values with question marks where the kernel will 
detect the card itself :

> >device sb0 at isa? port? irq 5 drq?




> >
>you might want to add the "conflicts" entries beside you device entries.
>look at http://www.freebsd.org/handbook/kernelconfig-config.html
>
>also, check the mailing list archives to see what others have done.
>
>if this is a 3.x version, check the errata about the "kernel.config".
>it should be named kernel.conf...look at 
>http://www.freebsd.org/releases/3.1R/errata.html
>
>the previous piece fixed my sound problems.
>
>

I checked our FreeBSD database and located a sample kernel for the same 
device. The lines reads :

Didier Derny writes:
>How do I configure the kernel for the soundblaster 16.

The following works for me.  Note that various ports, irq and drq
values are *not* the out-of-the-box defaults for the card.  I had
to make changes for it to co-habitate with various other cards in
my system.


# SOUND CARDS
controller      snd0
device sb0      at isa? port 0x220 irq 10 drq 1 vector sbintr
device sbxvi0   at isa? drq 6
device sbmidi0  at isa? port 0x300
device opl0     at isa? port 0x388

Upon booting, I get this:

sb0 at 0x220 irq 10 drq 1 on isa
sb0: <SoundBlaster Pro 4.12>
sbxvi0 at 0x0 drq 6 on isa
sbxvi0: <SoundBlaster 16 4.12>
sbmidi0 at 0x300 on isa
sbmidi: <SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>

Best of Luck,

Nataraj Dasgupta

Philip Morris Incorporated,
Network Operations Monitor/Analyst,
World intranet HQ,
Rye Brook, NY.
Email : ndasgupt@bridgeport.edu


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.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?19990702170243.35135.qmail>