Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 09:14:42 +1000 (EST)
From:      "KEW Martin" <martin.kew@tenix.com>
To:        "Lowell Gilbert" <freebsd-questions-local@be-well.no-ip.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Configuring Sound Blaster 16 for FreeBSD5.1 & KDE3.1
Message-ID:  <200308142314.JAA05375@sprint.tenix.com>

next in thread | raw e-mail | index | archive | help
Thanks for the reply Lowell (or is it Gilbert). Do you know of any
additional information on "devfs" apart from the man pages, since I
browsed the man page and it didn't make all that much sense for a new
FreeBSD user. If all else fails I'll fold back to an earlier release.

Cheers
Martin

-----Original Message-----
From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.no-ip.com]
Sent: Friday, 15 August 2003 7:10 AM
To: KEW Martin
Cc: freebsd-questions@freebsd.org
Subject: Re: Configuring Sound Blaster 16 for FreeBSD5.1 & KDE3.1


"KEW Martin" <martin.kew@tenix.com> writes:

> I am having problems configuring sound for a PnP ISA Sound Blaster 16
under FreeBSD5.1 with KDE3.1. I have followed the multimedia
instructions in the handbook and rebuild the kernel with:
>=20
> device pcm
> device sbc
>=20
> Then, using "grep pcm /var/run/dmesg.boot" it finds "pcm" on "sbc1",
and I am able to play an audio CD using "cdcontrol". I have also
modified my "/etc/sysctl.conf" adding:
>=20
> sysctl hw.snd.pcm0.vchans=3D4
> sysctl hw.snd.maxautovchans=3D4
>
> Given that during startup KDE reports that it cannot find "/dev/dsp",
I have tried to configure the settings of KDE in the control centre
under its sound system IO dialog to set the custom device to
"/dev/dsp0.0" then, "/dev/dsp0.1" and tried to test one of the KDE
default notification sound, with no success.
>=20
> I also noted that from the kernel rebuild their are no device files
for:
>=20
> /dev/audio
> /dev/midi
> /dev/mixer
> /dev/music
> /dev/sequencer
> /dev/pss
> /dev/dsp
> /dev/dspW
>=20
> Where the console history (from which I started KDE using startx)
reported that KDE could not find a number of theses drivers. Noting that
the only sound related device files are (X =3D 0 to 3):
>=20
> /dev/dsp0.X
> /dev/dspW0.X
>=20
> At this stage I am running out of ideas, any help would be greatly
appreciated.

This is one of the places where you suffer from running an "early
adopters" release rather than one intended for production use -- the
documentation for handling sound doesn't cover 5.x nearly as well as
4.x.  Read the manual for devfs and whatever related bits you can
find.  [Sorry I can't be more explicit, but I don't run 5.x yet
myself, and I have limited documentation access from the screen I'm
currently working on.]

The trick will definitely be how to get devfs to create the nodes,
because the kernel sure seems to be recognizing the sound chip.

Also note that your sound sound subsystem might be getting recognized
as device 1 rather than device 0, so in looking for the device nodes,
do an (e.g.) "ls /dev/dsp*".

Good luck.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308142314.JAA05375>