Date: Thu, 01 Apr 1999 14:36:42 +1000 From: Andrew Johns <A_Johns@TurnAround.com.au> To: Mike Harlan <r3mdh@rworld.org> Cc: Patrick Seal <patseal@hyperhost.net>, questions@FreeBSD.ORG Subject: Re: SoundBlaster AWE64 Config problem Message-ID: <3702F7DA.9BAC6031@TurnAround.com.au> References: <Pine.BSF.4.10.9903312242280.4771-100000@hawkeye.rworld.org>
next in thread | previous in thread | raw e-mail | index | archive | help
That's because there is no *actual* /dev/snd0. Making snd0
actually creates several *other* devices, namely (from
/dev/MAKDEV):
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
ln -fs mixer$unit mixer
ln -fs sequencer$unit sequencer
ln -fs dsp$unit dsp
ln -fs audio$unit audio
ln -fs dspW$unit dspW
ln -fs music$unit music
ln -fs pss$unit pss
mknod mixer$unit c $chr `expr $unit '*' 16 + 0`
mknod sequencer$unit c $chr `expr $unit '*' 16 + 1`
mknod midi$unit c $chr `expr $unit '*' 16 + 2`
mknod dsp$unit c $chr `expr $unit '*' 16 + 3`
mknod audio$unit c $chr `expr $unit '*' 16 + 4`
mknod dspW$unit c $chr `expr $unit '*' 16 + 5`
mknod sndstat c $chr 6
# minor number 7 is unused
mknod music$unit c $chr `expr $unit '*' 16 + 8`
mknod pss$unit c $chr `expr $unit '*' 16 + 9`
# minor numbers 10-15 are
unused
umask 77
;;
As you can see from the mknod lines (above) there are several
devices created, but none are named snd0. They are mixer0,
sequencer0, midi0, etc. The 0 corresponds to the card - if
you had two cards it would be sh MAKEDEV snd1 and it would
create mixer1, sequencer1, etc. Get the picture?
HTH
--
Regards | _/\_/\
Andrew Johns BSc (Comp Sci) | / \
TurnAround Solutions Pty Ltd | \_...__/
http://www.turnaround.com.au/ | \/
"The box said 'Requires Windows 95, NT, or better,' so I
installed FreeBSD."
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?3702F7DA.9BAC6031>
