|
|
If you want to install a sound card after installing UnixWare 7 and the LKP, you need to do the following to enable Linux application to use it. Sound card configuration is performed entirely on the Unix side; only the configuration of Linux applications to use the card is done from the LKP side.
(OSS) from
http://www.opensound.com.
(They provide a free evaluation copy, but charge for a permanent license.)
Select the UnixWare 7 version of the OSS and follow their installation instructions. Note the device node under /dev used by the audio card.
ls -l /dev/audio-device
Do this from a Unix shell: you need the major number of the UnixWare 7 device node, not the Linux device node.
In the output of ls, the major and minor numbers are listed in the column before the date, separated by a comma; as in the following example, where 29 is the major number:
crw-rw-rw- 1 bin bin 29, 0 Apr 7 1998 audio
cd /linux/lxinst/dev
#!/bin/shumask 111 rm audio rm audio0 rm audio1 rm audio2 rm audio3 rm audio4 rm dmfm0 rm dsp rm dsp0 rm dsp1 rm dsp2 rm dsp4 rm dspW0 rm dspW1 rm midi00 rm midi01 rm midi02 rm midi03 rm midi04 rm mixer0 rm mixer1 rm mixer2 rm mixer3 rm mixer4 rm music rm sequencer rm sndstat mknod audio c $1 4 mknod audio0 c $1 4 mknod audio1 c $1 20 mknod audio2 c $1 36 mknod audio3 c $1 52 mknod audio4 c $1 68 mknod dmfm0 c $1 7 mknod dsp c $1 3 mknod dsp0 c $1 3 mknod dsp1 c $1 19 mknod dsp2 c $1 35 mknod dsp4 c $1 67 mknod dspW0 c $1 5 mknod dspW1 c $1 21 mknod midi00 c $1 2 mknod midi01 c $1 18 mknod midi02 c $1 34 mknod midi03 c $1 50 mknod midi04 c $1 66 mknod mixer0 c $1 0 mknod mixer1 c $1 16 mknod mixer2 c $1 32 mknod mixer3 c $1 48 mknod mixer4 c $1 64 mknod music c $1 8 mknod sequencer c $1 1 mknod sndstat c $1 6
sh ./mkaudio.sh major#