Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Sep 1998 22:59:26 -0600
From:      listaccount@home.com
To:        freebsd-questions@FreeBSD.ORG
Subject:   ESD/Sound install/ESound help needed!
Message-ID:  <35F3682E.B34FA22B@home.com>

next in thread | raw e-mail | index | archive | help
Hi everyone..

As of very recently, I did a complete upgrade/reinstall to
FreeBSD-3.0-Current (SNAP 080598 I believe--very current at any rate)

The install went without a hitch, and, while installing other programs
and packages, I used the GENERIC kernel.  

In an effort to get a working sound device, I built a new kernel based
on the GENERIC config file, with the lines added verbatim from the LINT
config file, /usr/src/sys/i386/conf/LINT.

I added the snd0 controller, and the devices sb0, awe0, sbxvi0 and
sbmidi0, copying the lines, in order, letter for letter from the LINT
config file.  Note I did NOT change the port addresses, IRQ or DMA
settings from their defaults in the config file at first.  More on this
later.

I then rebuilt my kernel, rebooted, and, sure enough, my new devices
appeared in the kernel config just as I wanted.  I have an ISA PnP Awe32
sound card.  It was necessary in the kernel config to adjust the port
and IRQ settings to avoid conflicts.  However, when the kernel loaded
(several boots) I got the "error message" sb_reset_dsp failed.  It also
reported, for EACH of the devices, sb0, awe0, sbxvi0 and sbmidi0 that it
could not find the device at whatever address I had configured them as
(0x240 in the case of sb0).  I then tried (in the kernel config)
removing all sound devices BUT the sb0 (thinking that they might be
conflicting or interfering with each other somehow), to no avail.  I
then tried using different port addresses in the kernel config, and even
one rebuild of the kernel with another port config.

I also (unsucessfully) tried to build a kernel with the PnP controller
enabled and the alternate (Luigi?) sound driver... I don't think I was
on the right track with that though :)

I am doing this so that I can use the Esound library within X, (with the
Enlightenment 0.14 window manager).  Esound is built into Enlightenment,
but requires the Esound daemon, "esd" to be running.  Esd requires the
device /dev/dsp be configured, which it ISN'T.  Both ESound and
Enlightenment came straight from the FreeBSD packages installer.

So, am I even on the right track attempting to configure snd0?  Or is
there another explanation?  I know this has been a rather long question,
but I would REALLY appreciate any help.  :)

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?35F3682E.B34FA22B>