Re: DRAWS
Paul Noa
Basil,
Start from a clean install. # I started from scratch new, clean install and new out of the box Draws Hat Editing any configuration files is discouraged until you can confirm things are working. In your case /etc/ax25/axports file has been manually edited and is misconfigured. The /etc/direwolf.conf file may also be manually edited and misconfigured. # No editing has been done to any files 1. Check cable to radio. Is it a custom cable? In your case you should be using the left hand mDin6 connector. # I used the pin outs for the mini DIN 6 connector from this file https://nw-digital-radio.groups.io/g/udrc/files/DRAWSTech.pdf I wired my IC-F521 DB9 ACC input using the pinout above and I do recall the pin layout didn' match and that was my rookie mistake not investigating that! However this seems like where I might have gone wrong, not having any "HAM" experience my commercial radios don't use mini DIN connectors, so I checked online and found this: Please confirm the later is correct. 2. Radio turned on? -When running scripts btest.sh or measure_deviate.sh # Of Course, But I understand the question 3. Does you radio indicate that it transmits when running either of the above scripts? #NO! it does however TX/RX when I use the mic input which I removed during testing 4. Does the transmit led next to the mDin6 connector on the DRAWS card come on when running either of the above scripts? #NO! 5. Tune an HT to the same frequency used by your radio attached to the DRAWS card. When running the measure_deviate.sh script can you hear a tone? #HT?? can you use generic terminology and elaborate, I have not run Measure_deviate.sh Either start from a fresh install (recommended) or fix your /etc/ax25/axports file. Mar 19 19:38:04 ASAwizard bash[564]: axconfig: duplicate callsign KO4BCZ-10 in line 6 of axports file Mar 19 19:38:04 ASAwizard bash[564]: kissparms: invalid port name - udr1 # I have a fresh install see below You said that you did not see any console output from the listen command yet your direwolf log file sees your beacon test output: Mar 21 15:08:12 ASAwizard direwolf[479]: [0L]KO4BCZ-11>APUDR1,WIDE1-1::KO4BCZ :21 15:08:11 EDT KO4BCZ mesg_beacon test from host ASAwizard on udr0 Seq: 21 This indicates some ax.25 misconfiguration. Note that if you just follow the "Getting Started" guide you should NOT have to edit any configuration files # with my fresh install i did see out with listen -at #What indicates ax.25 is mis-configured in the lines above? # I did NOT and Have Not edited any config files; #see my outputs from the fresh install: pi@asawizard:~/bin $ ./showudrc.sh
==== Sound Card ====
udrc card number line: card 0: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #0
==== ALSA Controls for Radio Tansmit ====
LO Driver Gain L:[-6.00dB] R:[-6.00dB]
PCM L:[-16.50dB] R:[-16.50dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
==== ALSA Controls for Radio Receive ====
ADC Level L:[-2.00dB] R:[-2.00dB]
IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]
==== Pi Ver ====
Pi 3 Model B+, Rev 1.3, Mfg by Sony UK
Has WiFi
==== udrc Ver ====
Found a DRAWS
HAT ID EEPROM
Name: hat
Product: Digital Radio Amateur Work Station
Product ID: 0x0004
Product ver: 0x0206
UUID: 709b5761-81d1-452a-9709-8e1626c29c26
Vendor: NW Digital Radio
==== sys Ver ====
----- image version
2020 01 23 09:25:01 PST: SD image version: nwdr15
----- /proc/version
Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020
----- /etc/*version: 10.3
----- /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
---- systemd
Static hostname: asawizard
Icon name: computer
Machine ID: 27ac1f0c20904cb7a960920e966db545
Boot ID: e442fe505a444306938c643e4b1ab380
Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 4.19.97-v7+
Architecture: arm
---- modules
snd_soc_tlv320aic32x4_i2c 16384 27
snd_soc_tlv320aic32x4 40960 1 snd_soc_tlv320aic32x4_i2c
snd_soc_core 192512 4 snd_soc_simple_card_utils,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_soc_simple_card
snd_pcm 102400 6 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_soc_core
snd 73728 11 snd_compress,snd_timer,snd_soc_tlv320aic32x4,snd_soc_core,snd_pcm
---- kernel
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-============-============-=================================
ii raspberrypi-kernel 1.20200212-1 armhf Raspberry Pi bootloader
---- Codec drivers
Found: snd-soc-tlv320aic32x4-i2c.ko, OK
Found: snd-soc-tlv320aic32x4.ko, OK
Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay
---- syslog
Mar 24 18:17:52 asawizard bash[6527]: UDRC II or DRAWS installed
Mar 24 18:17:52 asawizard bash[6527]: using mkiss with UDRC II and pseudo term_1: /dev/pts/2 pseudo term_2: /dev/pts/3
Mar 24 18:19:41 asawizard bash[575]: UDRC II or DRAWS installed
Mar 24 18:19:41 asawizard bash[575]: using mkiss with UDRC II and pseudo term_1: /dev/pts/1 pseudo term_2: /dev/pts/2
Mar 24 18:27:12 asawizard bash[569]: UDRC II or DRAWS installed
Mar 24 18:27:12 asawizard bash[569]: using mkiss with UDRC II and pseudo term_1: /dev/pts/1 pseudo term_2: /dev/pts/2
---- dmesg
----- Dire Wolf DEVELOPMENT version 1.6 D (Jan 6 2020)
==== Filesystem ====
/dev/root 29G 5.3G 23G 19% /
==== boot config ====
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=draws,alsaname=udrc
force_turbo=1
# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
---- gpsd
/usr/local/sbin/gpsd
gpsd: 3.20 (revision 3.20)
● gpsd.service - GPS (Global Positioning System) Daemon
Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-03-24 18:27:11 EDT; 13min ago
Process: 522 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
Main PID: 523 (gpsd)
Tasks: 3 (limit: 2200)
Memory: 1.4M
CGroup: /system.slice/gpsd.service
└─523 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
Mar 24 18:27:11 asawizard systemd[1]: Starting GPS (Global Positioning System) Daemon...
Mar 24 18:27:11 asawizard systemd[1]: Started GPS (Global Positioning System) Daemon.
---- chrony
crw-rw---- 1 root root 241, 0 Mar 24 18:27 /dev/pps0
crw------- 1 root root 241, 1 Mar 24 18:27 /dev/pps1
crw-rw---- 1 root dialout 239, 0 Mar 24 18:27 /dev/ttySC0
crw-rw---- 1 root dialout 239, 1 Mar 24 18:27 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#x GPS 0 3 377 6 -115ms[ -115ms] +/- 105ms
#* PPS 0 3 377 7 +453ns[ +571ns] +/- 261ns
^? 2604:a880:400:d0::62:c001 0 7 0 - +0ns[ +0ns] +/- 0ns
^- 2001:19f0:8001:1de:5400:> 2 6 377 4 -6985us[-6984us] +/- 94ms
^- y.ns.gin.ntt.net 2 6 377 4 -16ms[ -16ms] +/- 85ms
^- li290-38.members.linode.> 2 6 377 267 +649us[ +647us] +/- 84ms
-- chrony tracking
Reference ID : 50505300 (PPS)
Stratum : 1
Ref time (UTC) : Tue Mar 24 22:40:52 2020 System time : 0.000000087 seconds fast of NTP time
Last offset : +0.000000123 seconds
RMS offset : 0.000580859 seconds
Frequency : 0.413 ppm slow
Residual freq : +0.000 ppm
Skew : 0.007 ppm
Root delay : 0.000000001 seconds
Root dispersion : 0.000009704 seconds
Update interval : 8.0 seconds
Leap status : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
==============================================================================
GPS 11 7 80 -372.792 634.285 -149ms 8917us
PPS 18 9 135 +0.000 0.006 +1ns 275ns
2604:a880:400:d0::62:c001 0 0 0 +0.000 2000.000 +0ns 4000ms
2001:19f0:8001:1de:5400:> 6 4 390 +109.178 244.112 -99us 8495us
y.ns.gin.ntt.net 13 6 786 +1.604 18.156 -5755us 3030us
li290-38.members.linode.> 9 7 524 +4.770 18.881 -1882us 1301us
---- sensors
-rw-r--r-- 1 root root 171 Sep 19 2019 /etc/sensors.d/draws
rpi_volt-isa-0000
Adapter: ISA adapter
in0: N/A
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
+12V: +0.00 V
in5: +2.58 V
User ADC 1: +0.00 V
User ADC 2: +0.00 V
---- throttle
temp=58.0'C
throttled=0x80000
---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)
pi@asawizard:~/bin $
pi@asawizard:~/bin $ tail -f /var/log/direwolf/direwolf.log
Mar 24 18:27:27 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (167.114.2.176) failed.
Mar 24 18:27:27 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (54.39.23.43) failed.
Mar 24 18:27:27 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (44.10.10.10) failed.
Mar 24 18:27:27 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (66.159.41.113) failed.
Mar 24 18:27:27 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (2607:7000:1:3::2) failed.
Mar 24 18:27:27 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (173.242.239.3) failed.
Mar 24 18:27:32 asawizard direwolf[485]: Now connected to IGate server noam.aprs2.net (2607:7000:1:3::2)
Mar 24 18:27:32 asawizard direwolf[485]: Check server status here http://[2607:7000:1:3::2]:14501
Mar 24 18:27:46 asawizard direwolf[485]: [ig] # aprsc 2.1.5-g8e78d39
Mar 24 18:27:46 asawizard direwolf[485]: [ig] # logresp KO4BCZ verified, server T2OREGON
root@asawizard:/home/pi/n7nix/debug# ./btest.sh -P udr0
Send a message beacon
Sent: /usr/local/sbin/beacon -c KO4BCZ-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 :KO4BCZ :24 18:54:08 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 1
axconfig: duplicate callsign KO4BCZ-10 in line 6 of axports file
root@asawizard:/home/pi/n7nix/debug# ./btest.sh -P udr0
Send a message beacon
Sent: /usr/local/sbin/beacon -c KO4BCZ-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 :KO4BCZ :24 18:55:46 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 2
axconfig: duplicate callsign KO4BCZ-10 in line 6 of axports file
root@asawizard:/home/pi/n7nix/debug# ./btest.sh -P udr1
Send a message beacon
Sent: /usr/local/sbin/beacon -c KO4BCZ-11 -d 'APUDR1 via WIDE1-1' -l -s udr1 :KO4BCZ :24 19:00:50 EDT KO4BCZ mesg_beacon test from host asawizard on port udr1 Seq: 3
axconfig: duplicate callsign KO4BCZ-10 in line 6 of axports file
beacon: invalid AX.25 port setting - udr1
Beacon command failed.
root@asawizard:/home/pi/n7nix/debug#
#verify_Config results: pi@asawizard:~/n7nix/debug $ ./btest.sh -P udr0
*** Running as user: pi ***
Send a message beacon
Sent: /usr/local/sbin/beacon -c KO4BCZ-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 :KO4BCZ :25 17:51:24 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 1
axconfig: duplicate callsign KO4BCZ-10 in line 6 of axports file
pi@asawizard:~/n7nix/debug $ tail -f /var/log/direwolf/direwolf.log
Mar 25 17:30:20 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (2607:7c80:54:a::4410) failed.
Mar 25 17:30:20 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (173.242.239.3) failed.
Mar 25 17:30:20 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (75.155.112.155) failed.
Mar 25 17:30:20 asawizard direwolf[485]: Connect to IGate server noam.aprs2.net (54.39.23.43) failed.
Mar 25 17:30:26 asawizard direwolf[485]: Now connected to IGate server noam.aprs2.net (173.242.239.3)
Mar 25 17:30:26 asawizard direwolf[485]: Check server status here http://173.242.239.3:14501
Mar 25 17:30:30 asawizard direwolf[485]: [ig] # aprsc 2.1.5-g8af3cdc
Mar 25 17:30:30 asawizard direwolf[485]: [ig] # logresp KO4BCZ verified, server T2NALA
Mar 25 17:50:09 asawizard direwolf[485]: [0L] KO4BCZ-11>APUDR1,WIDE1-1::KO4BCZ :25 17:50:09 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0
Mar 25 17:51:25 asawizard direwolf[485]: [0L] KO4BCZ-11>APUDR1,WIDE1-1::KO4BCZ :25 17:51:24 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 1<0x17>(
^C
Focus on your transmit problem first then look at receive. Tune your radio to the national 1200 baud APRS frequency (144.390 MHZ), turn audio up & squelch off. You should hear some/a lot of traffic and you should see that traffic in your 'listen' console or 'tail -f /var/log/direwolf/dirwolf.log' console. #before the clean fresh start I was capturing APRS data see an earlier message I believe I included some outputs showing them. # for some reason I did not hear anything the last two days?? nor did I capture anything but had been on the last build, Receive problems are usually due to cable mis-wired, incorrect ALSA # See top of message parameters or radio misconfigured (AFOUT/DISCriminator). # I tried different alsa settings and AFOUT and DISC inputs LN1 and LN2 from the current fresh new build: pi@asawizard:~/n7nix/debug $ alsa-show.sh
===== ALSA Controls for Radio Transmit =====
LO Driver Gain L:[-6.00dB] R:[-6.00dB]
PCM L:[-3.00dB] R:[-25.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
===== ALSA Controls for Radio Receive =====
ADC Level L:[-6.00dB] R:[0.00dB]
IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]
CM L:[10 kOhm] R:[10 kOhm]
pi@asawizard:~/n7nix/debug $ alsa-show.sh
===== ALSA Controls for Radio Transmit =====
LO Driver Gain L:[0.00dB] R:[-6.00dB]
PCM L:[-3.00dB] R:[-25.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
===== ALSA Controls for Radio Receive =====
ADC Level L:[-6.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]
#There was radio silence maybe its due to the Corona Virus lockdown ??? #I was not hearing or receiving any transmissions I will revisit that because it makes no sense to me either that is the easiest part?? # this happen: pi@asawizard:~/n7nix/debug $ ./btest.sh -P udr0
*** Running as user: pi ***
Send a message beacon
Sent: /usr/local/sbin/beacon -c KO4BCZ-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 :KO4BCZ :25 18:05:55 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 3
axconfig: duplicate callsign KO4BCZ-10 in line 6 of axports file
pi@asawizard:~/n7nix/debug $ tail -f /var/log/direwolf/direwolf.log
Mar 25 18:04:13 asawizard direwolf[485]: [1L] KO4BCZ-10>QST:(UI cc=00, p/f=0)E<0x00><0x00>Df<0xed>@<0x00><0x01><0x11>r<0x14><0xc0><0xa8><0xff><0x03><0xe0><0x00><0x00><0xfb><0x14><0xe9><0x14><0xe9><0x00>0<0xea><0xfb><0x00><0x00><0x00><0x00><0x00><0x01><0x00><0x00><0x00><0x00><0x00><0x00><0x0b>_googlecast<0x04>_tcp<0x05>local<0x00><0x00><0x0c><0x00><0x01>
Mar 25 18:05:54 asawizard direwolf[485]: [0L] KO4BCZ-10>QST:(UI cc=00, p/f=0)E<0x00><0x00><0xc3><0x8a>y@<0x00><0x01><0x11>?<0x0b><0xc0><0xa8><0xff><0x02><0xef><0xff><0xff><0xfa><0xc9>V<0x07>l<0x00><0xaf>Z<0x08>M-SEARCH * HTTP/1.1<0x0d><0x0a>HOST: 239.255.255.250:1900<0x0d><0x0a>MAN: "ssdp:discover"<0x0d><0x0a>MX: 1<0x0d><0x0a>ST: urn:dial-multiscreen-org:service:dial:1<0x0d><0x0a>USER-AGENT: Chromium/78.0.3904.108 Linux<0x0d><0x0a><0x0d><0x0a>
|
|