Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 13:07:50 -0500 (CDT)
From:      laszlo vagner <vagner@mutsgo.kf7nn.com>
To:        tomdean@ix.netcom.com (Thomas Dean)
Cc:        questions@FreeBSD.ORG
Subject:   Re: devices
Message-ID:  <199807131807.NAA09780@mutsgo.kf7nn.com>
In-Reply-To: <199807130653.XAA13780@ix.netcom.com> from Thomas Dean at "Jul 12, 98 11:53:01 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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