From owner-freebsd-stable Sun Sep 6 20:18:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA04572 for freebsd-stable-outgoing; Sun, 6 Sep 1998 20:18:49 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from smtp4.nwnexus.com (smtp4.nwnexus.com [206.63.63.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA04560 for ; Sun, 6 Sep 1998 20:18:45 -0700 (PDT) (envelope-from wrsomsky@halcyon.com) Received: from gramarye (evt-lx100-ip14.nwnexus.net [204.57.235.14]) by smtp4.nwnexus.com (8.8.8/8.8.8) with ESMTP id UAA16576; Sun, 6 Sep 1998 20:18:37 -0700 (PDT) Received: (from wrsomsky@localhost) by gramarye (8.8.8/8.8.8) id UAA00929; Sun, 6 Sep 1998 20:13:10 -0700 (PDT) (envelope-from wrsomsky) From: "William R. Somsky" Message-Id: <199809070313.UAA00929.gramarye.wrsomsky@halcyon.com> Subject: Re: Sound. In-Reply-To: <199809060316.FAA14949@labinfo.iet.unipi.it> from Luigi Rizzo at "Sep 6, 1998 5:16:10 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Sun, 6 Sep 1998 20:13:10 -0700 (PDT) Cc: shyone@home.dreaming.org, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Subject: Re: Sound. > Date: Sun, 6 Sep 1998 05:16:10 +0200 (MET DST) > From: Luigi Rizzo > 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), 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