I'm new to linrad having only built it a few days ago, so the user interface is
very unfamiliar to me. Is there a document that explains the functions of the
various boxes and arrows?
I'm running xlinrad 04.10 on a Raspberry Pi 3 with an Airspy Mini dongle under
X11 on Jessie, and was unable to get past the 1401 error:
INTERNAL ERROR: 1401
[1401]The file par_airspy is corrupted or not consistent with other
parameters. Use the U menu to set up your USB dongle and do not forget
to press W to save data in the main menu afterwards.
While the full-size Airspy does support a sample rate of 2.5 MSPS, the slowest
sample rate supported on the Airspy Mini is 3.0 MSPS. I found that editing
airspy.c, and changing from 2.500000 to 3.000000 overcame the 1401 issue. So,
Leif may want to add an additional specific setting for the Airspy Mini in the
next linrad release.
Now, although I can at last see signals on the linrad display, audio is
stuttering, and I'm seeing "RX UNDERRUN_ERROR"s and "RX A/D SPEED ERROR:
2960472Hz (normal 3000000 Hz)" and "DA SYNC ERRORS." I haven't a clue what to
do about them, but I have taken notes from Leif's video
<
https://www.youtube.com/watch?v=YWg6bqp-RyQ> of linrad running on the RPi2,
and will attempt to apply the suggestions found there.
I attempted to build command-line linrad with libsvga video, but it complains
about the video device... and fails to run. I understand that the cause may be
an issue with the outdated Raspbian libsvga package, and I have downloaded the
version from Leif's repository, but not yet attempted to build it.
I have provided more detailed information below, but I'm wondering if someone
who has successfully used the Airspy Mini with linrad on the RPi3 might be
willing to post copies of their par_* files.
Any guidance toward resolving these issues is much appreciated.
Best regards,
Larry
WB6BBB
==========================================================================
Here's what in par_userint:
# cat par_userint
vga mode [12]
shm mode [0]
Screen width (%) [75]
Screen height (%) [75]
font scale [2]
mouse speed [8]
Max DMA rate [300]
Process priority [1]
Native ALSA [2081]
Rx input mode [4]
Rx rf channels [1]
Rx ad channels [2]
Rx ad speed [3000000]
Rx ad device no [10012]
Rx ad mode [0]
Rx da mode [0]
Rx da device no [1]
Rx min da speed [44100]
Rx max da speed [48000]
Rx max da channels [2]
Rx max da bytes [2]
Rx min da channels [2]
Rx min da bytes [2]
Rx soundcard radio [0]
Converter Hz [0]
Converter MHz [0]
Converter mode [0]
network flag [0]
Tx ad speed [0]
Tx da speed [0]
Tx ad device no [-1]
Tx da device no [-1]
Tx da channels [0]
Tx ad channels [0]
Tx da bytes [0]
Tx ad bytes [0]
Tx enable [0]
Tx pilot tone dB [0]
Tx pilot microsec. [0]
Tx soundcard radio [0]
Operator skil [1]
Max blocked CPUs [0]
Timer resolution [0]
Autostart [0]
Rx ad latency [0]
Rx da latency [0]
Tx ad latency [0]
Tx da latency [0]
Sample shift [0]
Min DMA rate [30]
Use ExtIO [0]
ExtIO type [0]
Transceiver mode [0]
PTT control [0]
check [2230408]
-------------------------------
# cat par_fm_wg
ytop [0]
ybottom [266]
xleft [0]
xright [1367]
yborder [152]
xpoints per pixel [25]
pixels per xpoint [0]
first xpoint [10845]
xpoints [33000]
avg1num [6]
spek avgnum [18]
waterfall avgnum [36]
spur_inhibit [0]
check [6660024]
yzero [1.000000000000000]
yrange [32768.000000000000000]
wat. db zero [20.000000000000000]
wat. db gain [0.250000000000000]
-------------------------------
# cat par_fm_mg
ytop [267]
ybottom [575]
xleft [1255]
xright [1304]
Scale type [0]
Avgnum [8192]
Tracks [0]
Check [1290024]
ygain [30.940000534057617]
yzero [-26.000000000000000]
Cal dBm [0.000000000000000]
Cal S/N [0.000000000000000]
Cal S/N sigshift [0.000000000000000]
Cal S-units [0.000000000000000]
-------------------------------
# cat par_fm_fg
ytop [562]
ybottom [622]
xleft [0]
xright [104]
yborder [601]
direction [1]
gain [0]
gain_inc [0]
fq inc [0.050000000000000002775557561563]
freq [7.000000000000000000000000000000]
cat par_fm_cg
ytop [360]
ybottom [496]
xleft [1305]
xright [1367]
Meter graph on [1]
Oscill on [0]
cat par_fm_bg
ytop [268]
ybottom [496]
xleft [2]
xright [686]
yborder [344]
fft3 avgnum [50]
pixels/point [1]
coh factor [8]
delay points [4]
AGC flag [0]
AGC attack [2]
AGC release [4]
AGC hang [2]
Waterfall avgnum [400]
Mouse wheel step [0]
Oscill ON [0]
Arrow mode [0]
Filter FIR/FFT [1]
Filter shift [0]
FM mode [0]
FM subtract [0]
FM factor [10]
ch2 phase [0]
Squelch level [0]
Squelch time [0]
Squelch point [0]
check [8880309]
filter flat [4394.531250000000000]
filter curved [0.000000000000000]
yzero [1.000000000000000]
yrange [4096.000000000000000]
dB/pixel [0.776851594448090]
yfac pwr [0.000000031292437]
yfac log [12.872471809387207]
bandwidth [1391.601562500000000]
first freq [0.000000000000000]
BFO freq [5325.000000000000000]
Output gain [5.000000000000000]
Waterfall gain [1.000000000000000]
Waterfall zero [20.000000000000000]
Oscill gain [0.100000001490116]
-------------------------------
# cat soundboard_rx_init.log
sound system = native ALSA
SETUP FOR RX INPUT IS NOW:
SDR DEVICE = AIRSPY
Serial no = 0x04A464C83618440B
Sampling rate = 2.5 Mhz, Xtal adjust = 0 ppb
Gain mode = Linearity, Bandwidth = 1.5 MHz
Bias T (5V) = OFF
SETUP FOR RX OUTPUT IS NOW:
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,0
(alsa_get_dev_pcm_name: n=0, retcode =0)
SOUNDCARD = bcm2835 ALSA
device = bcm2835 ALSA, bcm2835 ALSA (plughw:0,0)
device number = 0
hostapi = Native ALSA
min da sample rate = 8000
max da sample rate = 48000
min da bytes = 1
max da bytes = 2
min da channels = 1
max da channels = 2
DMA rate min=30 max=300
USER STARTED THE SELECTION OF A NEW INPUT DEVICE
goto begin_rx_set_io
sound system = native ALSA
SETUP FOR RX INPUT IS NOW:
SDR DEVICE = AIRSPY
Serial no = 0x04A464C83618440B
Sampling rate = 2.5 Mhz, Xtal adjust = 0 ppb
Gain mode = Linearity, Bandwidth = 2.0 MHz
Bias T (5V) = OFF
SETUP FOR RX OUTPUT IS NOW:
NOT YET SELECTED: (Select Menu Option 'B')
DMA rate min=30 max=300
goto begin_rx_set_io
sound system = native ALSA
SETUP FOR RX INPUT IS NOW:
SDR DEVICE = AIRSPY
Serial no = 0x04A464C83618440B
Sampling rate = 2.5 Mhz, Xtal adjust = 0 ppb
Gain mode = Linearity, Bandwidth = 2.0 MHz
Bias T (5V) = OFF
SETUP FOR RX OUTPUT IS NOW:
NOT YET SELECTED: (Select Menu Option 'B')
DMA rate min=30 max=300
USER STARTED THE SELECTION OF A NEW OUTPUT DEVICE
SELECT SOUNDCARD DEVICE FOR RX OUTPUT FROM LIST:
device soundcard-device-name device
sample-rate channels bytes
seq-no (soundcard-name) pcm-name min /
max min/max min/max
------ -------------------------------------------------- ----------
----------- ------- -------
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,0
(alsa_get_dev_pcm_name: n=0, retcode =0)
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,0
(alsa_get_dev_pcm_name: n=0, retcode =0)
0 bcm2835 ALSA, bcm2835 ALSA ( bcm2835 ALSA) plughw:0,0 8000/48000
1/2 1/2
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,1
(alsa_get_dev_pcm_name: n=1, retcode =0)
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,1
(alsa_get_dev_pcm_name: n=1, retcode =0)
1 bcm2835 ALSA, bcm2835 ALSA ( bcm2835 ALSA) plughw:0,1
44100/48000 2/2 2/2
Testing hw:CARD=0
alsa_get_dev_pcm_name:end of available card/devices reached
(alsa_get_dev_pcm_name: n=2, retcode =-1)
Enter selected device-seq-nmbr >
User selected 1
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,1
(alsa_get_dev_pcm_name: n=1, retcode =0)
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,1
(alsa_get_dev_pcm_name: n=1, retcode =0)
goto begin_rx_set_io
sound system = native ALSA
SETUP FOR RX INPUT IS NOW:
SDR DEVICE = AIRSPY
Serial no = 0x04A464C83618440B
Sampling rate = 2.5 Mhz, Xtal adjust = 0 ppb
Gain mode = Linearity, Bandwidth = 2.0 MHz
Bias T (5V) = OFF
SETUP FOR RX OUTPUT IS NOW:
Testing hw:CARD=0
device found: alsa_dev_plughw_pcm_name=plughw:0,1
(alsa_get_dev_pcm_name: n=1, retcode =0)
SOUNDCARD = bcm2835 ALSA
device = bcm2835 ALSA, bcm2835 ALSA (plughw:0,1)
device number = 1
hostapi = Native ALSA
min da sample rate = 44100
max da sample rate = 48000
min da bytes = 2
max da bytes = 2
min da channels = 2
max da channels = 2
DMA rate min=30 max=300
Normal end
---------------------------------------------
==========================================================================