SM 5 BSZ - Install dsp radio under RedHat 6.1
(May 23 2001)

Install dsp radio under RedHat 6.1. Detailed step by step guide for the Linux novice

As far as I know the dsp program should work on a PC computer under any Linux distribution but I have only worked with RedHat 6.1.

Unlike patching the Linux kernel the procedure is not critical. You may install differently if you prefer to place files according to your own rules.

Additional software packages required

The dsp package uses OSS, the open sound package for access to the sound board(s). Get it from opensound.com
For actually using the dsp package you will have to purchase a licence from opensound.com but for evaluation, limited use is free.

The Linux Sound SystemIs fully compatible to OSS according to specifications. OSS with accompanying licenses should not be needed unless you want to use boards (i.e. Delta 44) not supported by The Linux Sound System. My early attempts to use the sound of RedHat 6.1 failed. It may be ok from dsp00-14 for which all mixer commands are external to the dsp package

For access to the video board svgalib is used.

For assembly the net wide assembler nasm is used. Get it from nasm.sourceforge.net or download it here:
nasm-0.98.tbz packed with bzip2 (386 kilobytes)
nasm-0.98.tgz packed with gzip (472 kilobytes)

Step by step procedure

1. Copy ossxxx.tar.gz to /usr/oss
2. Type: gunzip ossxxx.tar.gz
3. Type: tar xvf ossxxx.tar
4. Type: ./oss-install allow oss to do changes for you and install OSS files into: /lib/oss
5. Copy nasm.tbz to /usr
6. Go to /usr and type: bunzip2 nasm.tbz
7. Type: tar xvf nasm.tar
8. Type: cd nasm-0.98
9. Type: ./configure
10. Type: make
11. Type: cp /usr/nasm-0.98/nasm /usr/bin

Steps 12 to 25 are not needed if your video board is supported by the RedHat version of svgalib.

Steps 12 to 18 removes RedHat 6.1 svgalib stuff. You may use make clean instead, but then some files from the old version will remain.

12. Type: rm -f /usr/man/man5/svgalib*
13. Type: rm -f /usr/man/man7/svgalib*
14. Type: rm -f -r /usr/doc/svgalib-1.4.0*
15. Type: rm -f /etc/vga/*
16. Type: rm -f /usr/lib/libvga*
17. Type: rm -f /usr/man/man5/libvga.*
18. Type: rm -f /usr/i486-linux-libc5/lib/libvga*
19. Copy svgalib-1.4.2.tbz to /usr/local/src.
19a. Type: cd /usr/local/src
19b. Type: bunzip2 svgalib-1.4.2.tbz
20. Type: tar xvf svgalib-1.4.2.tar
21. Type: cd svgalib-1.4.2
22. Type: mkdir /usr/local/include
23. Type: make install
24. Type: ln /usr/local/lib/libvga.so.1.4.2 /usr/lib/libvga.so.1
25. Type: ln /usr/local/lib/libvgagl.so.1.4.2 /usr/lib/libvgagl.so.1
26. Copy dspx-xx.tbz to a suitable directory (e.g. /home) and go to that directory.
27. Type: bunzip2 dspx-xx.tbz
28. Type: tar xvf dspx-xx.tar
29. Type: cd dsp (There is a dsp directory now in case you did not have one already) Edit the file sound.h if nessecary.
30. Type: make
31. Type: /lib/oss/soundon
32. Type: ./dsp The dsp program should begin with:
Press S for setup routines
Any other key to exit

After pressing S you get a selection of video modes. Select 640x480 or more (1024x768 is recommended) Select font scale 1 for minimum size of the screen text. Start with mouse speed reduction factor 64. In case of problems look at /etc/vga/libvga.config

When svgalib is ok you will get the main menu after having pressed enter on the mouse speed selection. Press U for A/D and D/A set up. Select radio interface and sampling speed according to your hardware. Select no of output channels = 1. (2 channels not implemented yet) Do not select higher output speed than you need for the bandwidth you will use. 5000Hz is more than enough for CW modes. Select 32bit A/D format if you have a 24 bit A/D converter else select 16 bit. Select Line input.

The Mic input has a builtin AGC and does not work well for signal processing. Use only if your line input is destroyed. The inputs are very sensitive to ESD and in case all your units are not properly connected to each other (grounded) you may easily find the line input does not work!!

Press enter to get to the main menu. Then W to save your choice. Press A to go to the weak cw mode or press H if you have a demo file which is the first line of adfile in your current directory. You will now have to select mode parameters. Good Luck!!