Date: Sun, 6 Sep 1998 20:13:10 -0700 (PDT) From: "William R. Somsky" <wrsomsky@halcyon.com> To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Cc: shyone@home.dreaming.org, freebsd-stable@FreeBSD.ORG Subject: Re: Sound. Message-ID: <199809070313.UAA00929.gramarye.wrsomsky@halcyon.com> In-Reply-To: <199809060316.FAA14949@labinfo.iet.unipi.it> from Luigi Rizzo at "Sep 6, 1998 5:16:10 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> Subject: Re: Sound. > Date: Sun, 6 Sep 1998 05:16:10 +0200 (MET DST) > From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> > Cc: freebsd-stable@FreeBSD.ORG > > On Sat, 5 Sep 1998, The Reality Engineer wrote: > > > > > I have managed to successfully get my SB16 AWE64 kinda working using > > > luigi's sound code + pnp, at least it is detected. :) > > > > > > However, i'm getting the following messages: > > > > > > pcm0: unit not configured, perhaps you want pcm1 ? > > > /dev/dsp: device not configured. > > > > > > What am i missing? > > > > > > > > > my dmesg is below. > > > > > > -Mit > > > > > > > Is this the answer? > > > > rm /dev/dsp /dev/dspW > > ln -s /dev/dsp1 /dev/dsp > > ln -s /dev/dspW1 /dev/dspW > > and also > rm /dev/mixer /dev/audio > ln -s /dev/audio1 /dev/audio > ln -s /dev/mixer1 /dev/mixer Hmm... perhaps it's time I submitted this proposed patch to /dev/MAKDEV: *** ./MAKEDEV Sat Aug 29 05:57:15 1998 --- ./MAKEDEV Sun Sep 6 20:04:24 1998 *************** *** 965,978 **** # 33 patmgr1 sequencer2 # ! unit=`expr $i : 'snd\(.*\)'` chr=30 # XXX write this less verbosely, like std snd_security_hole=0 # XXX umask $snd_security_hole ! if [ $unit = "0" ] ; then ln -fs mixer$unit mixer ln -fs sequencer$unit sequencer ln -fs dsp$unit dsp --- 965,979 ---- # 33 patmgr1 sequencer2 # ! unit=`expr $i : 'snd\([0-9]*\)'` ! default=`expr $i : 'snd[0-9]*\(.*\)'` chr=30 # XXX write this less verbosely, like std snd_security_hole=0 # XXX umask $snd_security_hole ! if [ "$default" = "=" ] ; then ln -fs mixer$unit mixer ln -fs sequencer$unit sequencer ln -fs dsp$unit dsp With this patch, if you 'sh MAKEDEV snd2' (or snd<n>), you just make the mixer2, etc, devices as usual, but if you add a trailing '=', then it makes symlinks for mixer, etc, to that newly created device. So if you've got a pnp soundcard ends up as snd1, just do 'sh MAKEDEV snd1=', and the 'default' sound-device links will be made to that card. ________________________________________________________________________ William R. Somsky wrsomsky@halcyon.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809070313.UAA00929.gramarye.wrsomsky>