From owner-freebsd-questions Mon Jul 13 11:08:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08139 for freebsd-questions-outgoing; Mon, 13 Jul 1998 11:08:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mutsgo.kf7nn.com (mutsgo.kf7nn.com [204.251.27.213]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08131 for ; Mon, 13 Jul 1998 11:08:25 -0700 (PDT) (envelope-from vagner@mutsgo.kf7nn.com) Received: (from vagner@localhost) by mutsgo.kf7nn.com (8.8.8/8.8.8) id NAA09780; Mon, 13 Jul 1998 13:07:50 -0500 (CDT) (envelope-from vagner) From: laszlo vagner Message-Id: <199807131807.NAA09780@mutsgo.kf7nn.com> Subject: Re: devices In-Reply-To: <199807130653.XAA13780@ix.netcom.com> from Thomas Dean at "Jul 12, 98 11:53:01 pm" To: tomdean@ix.netcom.com (Thomas Dean) Date: Mon, 13 Jul 1998 13:07:50 -0500 (CDT) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That was it! i copied the /dev/MAKEDEV file from the live filesystem cdrom back to /dev and remade snd1 and everything works now! i have found that the file was modified when i ran a make world last month. hey thanks alot i was stumped for a while and never even though to look at the MAKEFILE George > Do you have sequencer0, midi0, dsp0, audio0, dspW0, sndstat, music0, > and pss0? > > Does your /dev/MAKEDEV look like the clip below?. > > Here are the commands MAKEDEV should have executed in response to > ./MAKEDEV snd1 > > umask 0 > rm -f mixer1 > mknod mixer1 c 30 16 > rm -f sequencer1 > mknod sequencer1 c 30 17 > rm -f midi midi1 > mknod midi1 c 30 18 > rm -f dsp1 > mknod dsp1 c 30 19 > rm -f audio1 > mknod audio1 c 30 20 > rm -f dspW1 > mknod dspW1 c 30 21 > rm -f sndstat > mknod sndstat c 30 6 > rm -f music1 > mknod music1 c 30 24 > rm -f pss1 > mknod pss1 c 30 25 > umask 77 > > ==== part of MAKEDEV > snd*) > # > # changes from Linux voxware > # minor Linux FreeBSD > # 8 sequencer2 (aka music0) music0 > # 17 patmgr0 sequencer1 > # 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 > rm -f mixer ; ln -s mixer$unit mixer > rm -f sequencer ; ln -s sequencer$unit sequencer > rm -f dsp ; ln -s dsp$unit dsp > rm -f audio ; ln -s audio$unit audio > rm -f dspW ; ln -s dspW$unit dspW > rm -f music ; ln -s music$unit music > rm -f pss ; ln -s pss$unit pss > fi > > rm -f mixer$unit # Mixer [ Control ] > mknod mixer$unit c $chr `expr $unit '*' 16 + 0` > > rm -f sequencer$unit # Sequencer [ FM Synth and MIDI output ] > mknod sequencer$unit c $chr `expr $unit '*' 16 + 1` > > rm -f midi midi$unit # Midi 0 > mknod midi$unit c $chr `expr $unit '*' 16 + 2` > > rm -f dsp$unit # DSP [ Digitized voice ] > mknod dsp$unit c $chr `expr $unit '*' 16 + 3` > > rm -f audio$unit # SPARC audio [ Not fully implemented ] > mknod audio$unit c $chr `expr $unit '*' 16 + 4` > > rm -f dspW$unit # Wide DSP (each sample is 16 bits) > mknod dspW$unit c $chr `expr $unit '*' 16 + 5` > > rm -f sndstat # Status Device [ Debugging interface, only 1 ] > mknod sndstat c $chr 6 > > # minor number 7 is unused > > rm -f music$unit # Sequencer level 2 > mknod music$unit c $chr `expr $unit '*' 16 + 8` > > rm -f pss$unit # PSS and programmable devices > mknod pss$unit c $chr `expr $unit '*' 16 + 9` > > # minor numbers 10-15 are unused > umask 77 > ;; > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message