Date   

Re: image update failure

Basil Gunn
 

John Spoonhower <jpspoonhower@...> writes:

Basil,
again thanks for the help.
I didn't bother to download the last image. I found the problem is fixed by
simply using alsamixer and the settings you mention.
Glad to hear you have things working!!

The ./btest.sh script runs OK (packets seen on aprs.fi) too on port
udrc 1.
I originally made this script as a quick test for packet using any of
the hats UDRC/UDRC II/DRAWS.

I still have to fix up the location finding via gps as on the udrc II I
have a BU-353S4 usb gps not the draws device. Although gpsd is running just
fine, the position data parsing provided in btest.sh is looking for NMEA
sentences, while I am fairly certain my device is not NMEA by default.
I wanted the btest.sh script to work for UDRC/UDRC II hats ie. without
the on board GPS so I just conditional'ed the GPS stuff based on hat
type. Please hack this script to make it do what you want. I have both
gpsd & nmea functions in that script.

After that I will takeon the APRX install....
Yes, APRX is the way to go for APRS gating/digipeating.

73, John

On Sun, Oct 6, 2019 at 8:02 PM Basil Gunn <@basil860> wrote:


John,
I verified that the following method also works.
Copy the following alsa control values from your working image,
you can read them by running alsa-show.sh.

LO Driver Gain
PCM
ADC Level

Boot your new image and run:
cd
cd bin
sudo su
./setalsa-udrc-din6.sh

Now run alsamixer and set LO Driver Gain, PCM & ADC Level. To make
things more convenient you could use an editor and set the 3 values in
the setalsa-udrc-din6.sh script. They are the first 3 levels set.

Verify by running alsa-show.sh one more time.

/Basil

John Spoonhower <jpspoonhower@...> writes:

Thanks. I will give this a try.
On a somewhat different topic...I notice in beacmin.sh that in the
comments
aprs symbols are listed. I do not see sending a symbol implemented in
this
script. Is this fairly straightforward to add ?

On Sun, Oct 6, 2019 at 11:17 AM Basil Gunn <@basil860> wrote:


I used a new image (nwdr14) with a UDRC II and it worked fine. I will
release that image today. The only thing I changed from the scripts was
to select discriminator out using the alsa commands. You can do it from
the alsamixer gui as well.

sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

Since you have a working configuration why not save it to a file &
compare it with the configuration you are using with the new image.
ie. save /boot/config.txt, alsa-show, ax25-status -d

You could try a transmit test to see what that gives you
cd
cd n7nix/debug
./btest.sh -P udr1 -p

Remember that on a UDRC II the mDin6 connector is port 1 not port 0.

I notice that you have manually edited /boot/config.txt. I did not
manually edit any files for my UDRC II test.

/Basil


Re: image update failure

John Spoonhower
 

Basil,
again thanks for the help.
I didn't bother to download the last image. I found the problem is fixed by simply using alsamixer and the settings you mention.
The ./btest.sh script runs OK (packets seen on aprs.fi) too on port udrc 1. I still have to fix up the location finding via gps as on the udrc II I have a BU-353S4 usb gps not the draws device. Although gpsd is running just fine, the position data parsing provided in btest.sh is looking for NMEA sentences, while I am fairly certain my device is not NMEA by default.
After that I will takeon the APRX install....

73, John


On Sun, Oct 6, 2019 at 8:02 PM Basil Gunn <basil@...> wrote:

John,
I verified that the following method also works.
Copy the following alsa control values from your working image,
you can read them by running alsa-show.sh.

LO Driver Gain
PCM
ADC Level

Boot your new image and run:
cd
cd bin
sudo su
./setalsa-udrc-din6.sh

Now run alsamixer and set LO Driver Gain, PCM & ADC Level.  To make
things more convenient you could use an editor and set the 3 values in
the setalsa-udrc-din6.sh script. They are the first 3 levels set.

Verify by running alsa-show.sh one more time.

/Basil

John Spoonhower <jpspoonhower@...> writes:

> Thanks. I will give this a try.
> On a somewhat different topic...I notice in beacmin.sh that in the comments
> aprs symbols are listed. I do not see sending a symbol implemented in this
> script. Is this fairly straightforward to add ?
>
> On Sun, Oct 6, 2019 at 11:17 AM Basil Gunn <basil@...> wrote:
>
>>
>> I used a new image (nwdr14) with a UDRC II and it worked fine. I will
>> release that image today. The only thing I changed from the scripts was
>> to select discriminator out using the alsa commands. You can do it from
>> the alsamixer gui as well.
>>
>> sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
>> sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'
>>
>> Since you have a working configuration why not save it to a file &
>> compare it with the configuration you are using with the new image.
>> ie. save /boot/config.txt, alsa-show, ax25-status -d
>>
>> You could try a transmit test to see what that gives you
>> cd
>> cd n7nix/debug
>> ./btest.sh -P udr1 -p
>>
>> Remember that on a UDRC II the mDin6 connector is port 1 not port 0.
>>
>> I notice that you have manually edited /boot/config.txt. I did not
>> manually edit any files for my UDRC II test.
>>
>> /Basil




Re: NWDR14 image release announcement #beta #support

William Franzin (VE4VR)
 

Just downloaded this myself and it took a while so cloned it here: https://tor1.radiowaves.ca/nwdr14.zip

This is a Digital Ocean virtual in Toronto, set the limit at 900GB so go nuts. It gave me 42MB/sec to home.


Re: NWDR14 image release announcement #beta #support

David C Jenner - K7DCJ
 

Basil,

I have a Raspbian Buster RPi 4 running the desired kernel. I want to install whatever is included in the standard DRAWS image over this.

I suspect there is no file n7nix/config/image_install.sh installed anywhere on my system. Correct me if I a wrong, please.

Your instructions in the Wiki under "Make your own Raspberry Pi image" stop after creating the Raspbian image, much as I have done. There are no instructions on how to proceed after that.

In an earlier post I saw instructions that may be what I am looking for, but they were prefaced by "off the top of my head." If those are the instructions, I would prefer that they are a bit more verified and part of the official Wiki instructions before I make trouble.

Thanks,
Dave


Re: NWDR14 image release announcement #beta #support

Basil Gunn
 

Dave,

The "DRAWS specific software" are two codec drivers that are in the Linux
kernel and an overlay that loads at boot time.
The drivers are:
snd_soc_tlv320aic32x4_i2c
snd_soc_tlv320aic32x4

The overlays are either: udrc.dtbo or draws.dtbo depending on which hat
you have installed.

While there is some specific configuration required to take advantage of
the DRAWS hat gps & A/D converter all the other software provided in the
image are scripts that install or configure other software that could be
used by any sound card or serial/i2c TNC.

Most everything that I do to create an image I do with a script. See
n7nix/config/image_install.sh. That's only mostly true because there is
always some futzing around with a new Raspbian distribution to get some
things to work properly.

Perhaps you could explicitly state what you want to do and I can provide
some guidance on how to get there.
/Basil n7nix

David C Jenner - K7DCJ via Groups.Io <djenner8=mac.com@groups.io> writes:

Basil,

Please add how to install this on one's own RPi 4 Raspbian image (with
proper kernel). Your instructions at "Make your own Raspberry Pi image"
seem to end before adding the DRAWS-specific software.

Thanks,
Dave


Re: NWDR14 image release announcement #beta #support

David C Jenner - K7DCJ
 

Basil,

Please add how to install this on one's own RPi 4 Raspbian image (with proper kernel). Your instructions at "Make your own Raspberry Pi image" seem to end before adding the DRAWS-specific software.

Thanks,
Dave

On 10/7/19 9:30 AM, Basil Gunn wrote:
Before you update your image, please capture any configuration changes
you might have made like current alsamixer settings.
Run alsa-show.sh & make a copy of result. Note a minimum
microSD card size of at least 16GB is recommended.
Latest RPi image current_image.zip has been updated to nwdr14.zip at
this location: http://images.nwdigitalradio.com/downloads
Please follow the "Getting Started Guide" from the UDRC Wiki.
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started
This image has a Linux kernel (4.19.66) that includes Anna's main line
TI tlv320aic device driver that supports the UDC / UDRC II & DRAWS hats.
This means you can more easily make your own images.
On first boot, if you have an attached monitor, you will see the piwiz
configuration screen currently used on new Raspbian images.
If you are using a Raspberry Pi 4 and your monitor is blank then add
this to /boot/config.txt to use HDMI safe mode.
hdmi_safe=1
If you have any problems please include the output of script showudrc.sh
with your problem description.
Changes since last release
* Image NWDR14 release
* Use Raspbian Buster (Debian 10) with main line tlv320aic driver as image base
* Compass is deprecated
* Updated all HF programs
* Updated 'Getting Started' guide
* Fix permission problem when installing iptables
* Made beacon scripts independent of gps.
* Add script to easily switch between 1200 & 9600 baud packet.
* Add script to change RPi led trigger method
8728704 - n7nix, 17 hours ago : Clean-up order of statements so comments make sense & facilitate comparing with other scripts.
93f8323 - n7nix, 18 hours ago : Move comment to where it makes more sense.
f4a64af - n7nix, 18 hours ago : Add note to verify ALSA settings. Take out count of reboots.
b2ad1db - n7nix, 22 hours ago : Add more description about AFOUT & DISCOUT, input signals to UDRC/DRAWS.
48fc21f - n7nix, 22 hours ago : Wordsmith a comment.
d00c948 - n7nix, 22 hours ago : Rearrange some lines to facilitate comparison with other setalsa scripts.
8314cb2 - n7nix, 24 hours ago : Add a note regarding UDRC II mDin6 channel.
c370052 - n7nix, 25 hours ago : Change initial config notes to include piwiz startup.
8736e68 - n7nix, 25 hours ago : Change comment to reflect direction of input.
6f1412c - n7nix, 3 days ago : Set execute permissions.
0108ce7 - n7nix, 3 days ago : Add help option to display usage.
ac00a5c - n7nix, 3 days ago : Only use gps if DRAWS hat is detected.
722968f - n7nix, 3 days ago : Update RPi model numbers & only display gps info if DRAWS hat detected.
6541719 - n7nix, 3 days ago : Parameterize led number.
c34eaf4 - n7nix, 7 days ago : Fix comments to describe reality.
276babe - n7nix, 7 days ago : Always run chk_bootcfg.sh from core_config.sh script to set overlay name.
7246656 - n7nix, 7 days ago : Wordsmith message on running claws_install for the first time.
6c0a847 - n7nix, 7 days ago : Fix problem of installing claws-mail & dovecot
e124819 - n7nix, 8 days ago : Fix bug, dbgecho was not defined.
9f0ea62 - n7nix, 8 days ago : Fix documentation regarding pluimap which is deprecated.
be96477 - n7nix, 8 days ago : Take out installing pluimap as an option.
f01a7af - n7nix, 8 days ago : Update getting started configuration.
1d82cae - n7nix, 9 days ago : Make beacon scripts independent of gpsd.
404d155 - n7nix, 9 days ago : Add display of current cpu temperature.
9cebc0f - n7nix, 9 days ago : Fix variable name change.
355f65c - n7nix, 9 days ago : Update to be compatible with latest Linux kernel in buster.
04ebd94 - n7nix, 13 days ago : libncurses.so.5 was not getting installed. Added libncurses5 to essential packages to install.
e9bebbc - n7nix, 2 weeks ago : Use canned lat/lon if can't read gps data.
ddafa49 - n7nix, 2 weeks ago : Fix failure due to no tmp directory.
888cb15 - n7nix, 3 weeks ago : Fix script syntax error when checking user:group of a directory
e2faf05 - n7nix, 3 weeks ago : Build fldigi before other FL apps.
a303dd4 - n7nix, 3 weeks ago : Fix xastir install script file name, install draws-manager when building image.
6ebaafa - n7nix, 3 weeks ago : Add dtoverlay= to flush any overlays loaded from eeprom.
c5991da - n7nix, 3 weeks ago : Add script to enlarge swap size before doing an image install.
df88d9c - n7nix, 3 weeks ago : Put HF program install at end of install.
c24b75a - n7nix, 3 weeks ago : Add reminder to use script to save all console output.
d95763e - n7nix, 3 weeks ago : Fix permissions bug when creating 70-ipv4.ax25 file.
14b6de7 - n7nix, 3 weeks ago : Fix RMS Gateway directory link on install
52a9aae - n7nix, 3 weeks ago : Fix downloading nodejs source, no need to do this.
dfcd672 - n7nix, 3 weeks ago : Increase swap size to 1024M
d931443 - n7nix, 3 weeks ago : Check swap size before doing an image build.
699637b - n7nix, 3 weeks ago : Fix building in wrong directory problem.
78961af - n7nix, 3 weeks ago : Fix FL apps check were app was downloaded but source not built.
1ec20ae - n7nix, 3 weeks ago : Update names of required packages.
669b64e - n7nix, 3 weeks ago : Get rid of references to compass.
de0a58a - n7nix, 4 weeks ago : Fix wrong source directory when only building fldigi.
ddddd7d - n7nix, 4 weeks ago : Rebuild fldigi as a default.
e7773d8 - n7nix, 4 weeks ago : Update FL app version numbers to current.
5a886c1 - n7nix, 4 weeks ago : Display gpsd version number that will be downloaded.
39ba260 - n7nix, 5 weeks ago : Fix mis-spelled variable name.
1f019d6 - n7nix, 5 weeks ago : Add easy way to get RPi temperature & throttling history.
4d8eaae - n7nix, 5 weeks ago : Display msg when disabling service, include RPi 4 in console output.
be92b5a - n7nix, 5 weeks ago : Include RPi 4 in echo statement.
9e7fa62 - n7nix, 5 weeks ago : Change directory owner to current user to build Xastir without being root.
fcf5042 - n7nix, 5 weeks ago : Detect & fix direwolf process running, gpio 7 mode ALT0.
0574b22 - n7nix, 5 weeks ago : Take out tlv320 driver conflict check.
a2234a6 - n7nix, 5 weeks ago : Add ax25-reset script to bin directory.
5212b4f - n7nix, 5 weeks ago : Make it more obvious how to initially start up rainloop.
b84cf95 - n7nix, 6 weeks ago : Make kissparms more aggressive for 9600 baud.
6ed7390 - n7nix, 6 weeks ago : Knock received signal down for 9600 baud.
0057400 - n7nix, 6 weeks ago : Fix path error.
5629dcb - n7nix, 6 weeks ago : Fix spelling.
81aaffd - n7nix, 7 weeks ago : Add script to easily switch between 1200 & 9600 baud packet.
b5bef04 - n7nix, 7 weeks ago : Conditional ALSA settings based on 9600 baud switch.
2518b53 - n7nix, 7 weeks ago : Fix broken relative url links.
6157e4a - n7nix, 7 weeks ago : Add over temperature CPU throttle indicator.
f982f79 - n7nix, 7 weeks ago : Support for 9600 baud.
17991a0 - n7nix, 7 weeks ago : Added for 9600 baud configuration checking.
d156136 - n7nix, 8 weeks ago : Add bc to required build tools for direwolf, add sensor support.
853fe9d - n7nix, 8 weeks ago : Display message when installing sensor support.
86367f1 - n7nix, 8 weeks ago : Add libudev-dev package as a new build requirement package for direwolf.
8dc1cb4 - n7nix, 8 weeks ago : Fix DireWolf version, just dev.
267a51c - n7nix, 8 weeks ago : Fix lingering PHP 7.0 reference.
8fd52e5 - n7nix, 8 weeks ago : Fix php version number for Debian buster.
b08b07e - n7nix, 8 weeks ago : Merge branch 'master' of https://github.com/nwdigitalradio/n7nix
ffa9612 - Basil Gunn, 8 weeks ago : Merge pull request #5 from sgtsmall/master
0f34f49 - n7nix, 8 weeks ago : Install required build packages.
fce35f4 - n7nix, 8 weeks ago : Update version numbers for HF programs.
254daea - n7nix, 8 weeks ago : Create symbolic link to /usr/local/etc/rmsgw & fix config part of build.
ebb6c22 - n7nix, 10 weeks ago : Setup permissions on target source directory so sudo is not required for wget.
755fbaf - n7nix, 10 weeks ago : Get rid of excess debug statement displaying gps version numbers.
b09062d - n7nix, 10 weeks ago : Set proper permissions on channels & version aging files in 'stat' directory.
94a13e8 - Alex Stewart, 10 weeks ago : update install script plus initial checking for new version on yaac site
c49b38b - Alex Stewart, 10 weeks ago : download to usr/local/src and adjust case for YAAC dir acording to ka2ddo site
1405d09 - Alex Stewart, 2 months ago : Add xterm to yaac for desktop icon
5d9aa9b - Alex, 2 months ago : fix latdir and londir in beacon_msg
a8ea76b - n7nix, 3 months ago : Fix version # is only major.minor number & permission problems.
1165bfc - n7nix, 3 months ago : Check for 3rd version digit is numeric.
d797551 - n7nix, 3 months ago : Install wide version (w) of libncureses as well.
10dcfe8 - n7nix, 3 months ago : If draws sensor file does not exist, create it.
16f079a - n7nix, 3 months ago : Pull latest version of Xastir when checking version.
c44ffb6 - n7nix, 3 months ago : Run apt-get in quiet mode
5beb627 - n7nix, 3 months ago : Install uppdates for new image using 4.19 kernel.
32c4be7 - n7nix, 3 months ago : Fix white space.
182f45d - n7nix, 3 months ago : Update ardop install script.
49efdc9 - n7nix, 3 months ago : Update RPi revision numbers for Pi 4B
74d25bd - n7nix, 3 months ago : Advance uronode install functionality.
e62182c - n7nix, 3 months ago : Fix display of correct program name.
db36e46 - n7nix, 3 months ago : Fix numeric conditional check.
07e697a - n7nix, 3 months ago : Make white space consistent for easier comparison.
7c24671 - n7nix, 3 months ago : Update xastir current version number.
f85cc01 - n7nix, 3 months ago : Add entry for Kenwood TM-281a
22d17f4 - n7nix, 3 months ago : display status of dovecot service.
47ec99e - n7nix, 3 months ago : Add display of GPS string for number of satellites in view.
f513419 - n7nix, 4 months ago : Update usage function with gpio on/off
e905122 - n7nix, 4 months ago : Change comments to be consistent to usage with js8call.
d32cc98 - n7nix, 4 months ago : Move ptt_ctrl.sh script to local bin directory.
be17f6b - n7nix, 4 months ago : Add parsing of arguments on/off with no dash
3dfe043 - n7nix, 4 months ago : Add toggle option, to toggle PTT state
5bdc095 - n7nix, 4 months ago : Add simple script to turn PTT on & off on both connectors.
9907d27 - n7nix, 4 months ago : Turn off upgrading packages & the kernel until all current patches to i2cbcm2835 & tlv320 drivers are accepted.
514f746 - n7nix, 4 months ago : Fix no split-channels directory found error.
128c29b - n7nix, 5 months ago : Add silent option to just update the gateway list file.
aa435f4 - n7nix, 5 months ago : Fix boolean flag to interrogate Winlink Web services.
a3bc3d6 - n7nix, 5 months ago : Update ChangeLog to reflect changes.
7b2f620 - n7nix, 5 months ago : Make prompt for keyboard input consistent.
22a48a3 - n7nix, 5 months ago : Make log file entry accurate.
e2d1861 - n7nix, 5 months ago : Use copy update to fix clobbering previously config'ed files.
139a075 - n7nix, 5 months ago : Set same AX25 port name in axports, ax25d.conf, channels.xml
2a72987 - n7nix, 5 months ago : Get port number from previous configured AX25 file, use parameterized SSID.
b6e95d8 - n7nix, 5 months ago : Fix comment to align with reality.
1604023 - n7nix, 5 months ago : Add no-pager option to systemctl call.
64e76f6 - n7nix, 5 months ago : Add entry for IC-7000
7a407fe - n7nix, 5 months ago : Add new dtoverlay entry for draws.
d773d7a - n7nix, 5 months ago : Add new dtoverlay entry for draws.


NWDR14 image release announcement #beta #support

Basil Gunn
 

Before you update your image, please capture any configuration changes
you might have made like current alsamixer settings.
Run alsa-show.sh & make a copy of result. Note a minimum
microSD card size of at least 16GB is recommended.

Latest RPi image current_image.zip has been updated to nwdr14.zip at
this location: http://images.nwdigitalradio.com/downloads

Please follow the "Getting Started Guide" from the UDRC Wiki.
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

This image has a Linux kernel (4.19.66) that includes Anna's main line
TI tlv320aic device driver that supports the UDC / UDRC II & DRAWS hats.
This means you can more easily make your own images.

On first boot, if you have an attached monitor, you will see the piwiz
configuration screen currently used on new Raspbian images.

If you are using a Raspberry Pi 4 and your monitor is blank then add
this to /boot/config.txt to use HDMI safe mode.
hdmi_safe=1

If you have any problems please include the output of script showudrc.sh
with your problem description.

Changes since last release

* Image NWDR14 release
* Use Raspbian Buster (Debian 10) with main line tlv320aic driver as image base
* Compass is deprecated
* Updated all HF programs
* Updated 'Getting Started' guide
* Fix permission problem when installing iptables
* Made beacon scripts independent of gps.
* Add script to easily switch between 1200 & 9600 baud packet.
* Add script to change RPi led trigger method

8728704 - n7nix, 17 hours ago : Clean-up order of statements so comments make sense & facilitate comparing with other scripts.
93f8323 - n7nix, 18 hours ago : Move comment to where it makes more sense.
f4a64af - n7nix, 18 hours ago : Add note to verify ALSA settings. Take out count of reboots.
b2ad1db - n7nix, 22 hours ago : Add more description about AFOUT & DISCOUT, input signals to UDRC/DRAWS.
48fc21f - n7nix, 22 hours ago : Wordsmith a comment.
d00c948 - n7nix, 22 hours ago : Rearrange some lines to facilitate comparison with other setalsa scripts.
8314cb2 - n7nix, 24 hours ago : Add a note regarding UDRC II mDin6 channel.
c370052 - n7nix, 25 hours ago : Change initial config notes to include piwiz startup.
8736e68 - n7nix, 25 hours ago : Change comment to reflect direction of input.
6f1412c - n7nix, 3 days ago : Set execute permissions.
0108ce7 - n7nix, 3 days ago : Add help option to display usage.
ac00a5c - n7nix, 3 days ago : Only use gps if DRAWS hat is detected.
722968f - n7nix, 3 days ago : Update RPi model numbers & only display gps info if DRAWS hat detected.
6541719 - n7nix, 3 days ago : Parameterize led number.
c34eaf4 - n7nix, 7 days ago : Fix comments to describe reality.
276babe - n7nix, 7 days ago : Always run chk_bootcfg.sh from core_config.sh script to set overlay name.
7246656 - n7nix, 7 days ago : Wordsmith message on running claws_install for the first time.
6c0a847 - n7nix, 7 days ago : Fix problem of installing claws-mail & dovecot
e124819 - n7nix, 8 days ago : Fix bug, dbgecho was not defined.
9f0ea62 - n7nix, 8 days ago : Fix documentation regarding pluimap which is deprecated.
be96477 - n7nix, 8 days ago : Take out installing pluimap as an option.
f01a7af - n7nix, 8 days ago : Update getting started configuration.
1d82cae - n7nix, 9 days ago : Make beacon scripts independent of gpsd.
404d155 - n7nix, 9 days ago : Add display of current cpu temperature.
9cebc0f - n7nix, 9 days ago : Fix variable name change.
355f65c - n7nix, 9 days ago : Update to be compatible with latest Linux kernel in buster.
04ebd94 - n7nix, 13 days ago : libncurses.so.5 was not getting installed. Added libncurses5 to essential packages to install.
e9bebbc - n7nix, 2 weeks ago : Use canned lat/lon if can't read gps data.
ddafa49 - n7nix, 2 weeks ago : Fix failure due to no tmp directory.
888cb15 - n7nix, 3 weeks ago : Fix script syntax error when checking user:group of a directory
e2faf05 - n7nix, 3 weeks ago : Build fldigi before other FL apps.
a303dd4 - n7nix, 3 weeks ago : Fix xastir install script file name, install draws-manager when building image.
6ebaafa - n7nix, 3 weeks ago : Add dtoverlay= to flush any overlays loaded from eeprom.
c5991da - n7nix, 3 weeks ago : Add script to enlarge swap size before doing an image install.
df88d9c - n7nix, 3 weeks ago : Put HF program install at end of install.
c24b75a - n7nix, 3 weeks ago : Add reminder to use script to save all console output.
d95763e - n7nix, 3 weeks ago : Fix permissions bug when creating 70-ipv4.ax25 file.
14b6de7 - n7nix, 3 weeks ago : Fix RMS Gateway directory link on install
52a9aae - n7nix, 3 weeks ago : Fix downloading nodejs source, no need to do this.
dfcd672 - n7nix, 3 weeks ago : Increase swap size to 1024M
d931443 - n7nix, 3 weeks ago : Check swap size before doing an image build.
699637b - n7nix, 3 weeks ago : Fix building in wrong directory problem.
78961af - n7nix, 3 weeks ago : Fix FL apps check were app was downloaded but source not built.
1ec20ae - n7nix, 3 weeks ago : Update names of required packages.
669b64e - n7nix, 3 weeks ago : Get rid of references to compass.
de0a58a - n7nix, 4 weeks ago : Fix wrong source directory when only building fldigi.
ddddd7d - n7nix, 4 weeks ago : Rebuild fldigi as a default.
e7773d8 - n7nix, 4 weeks ago : Update FL app version numbers to current.
5a886c1 - n7nix, 4 weeks ago : Display gpsd version number that will be downloaded.
39ba260 - n7nix, 5 weeks ago : Fix mis-spelled variable name.
1f019d6 - n7nix, 5 weeks ago : Add easy way to get RPi temperature & throttling history.
4d8eaae - n7nix, 5 weeks ago : Display msg when disabling service, include RPi 4 in console output.
be92b5a - n7nix, 5 weeks ago : Include RPi 4 in echo statement.
9e7fa62 - n7nix, 5 weeks ago : Change directory owner to current user to build Xastir without being root.
fcf5042 - n7nix, 5 weeks ago : Detect & fix direwolf process running, gpio 7 mode ALT0.
0574b22 - n7nix, 5 weeks ago : Take out tlv320 driver conflict check.
a2234a6 - n7nix, 5 weeks ago : Add ax25-reset script to bin directory.
5212b4f - n7nix, 5 weeks ago : Make it more obvious how to initially start up rainloop.
b84cf95 - n7nix, 6 weeks ago : Make kissparms more aggressive for 9600 baud.
6ed7390 - n7nix, 6 weeks ago : Knock received signal down for 9600 baud.
0057400 - n7nix, 6 weeks ago : Fix path error.
5629dcb - n7nix, 6 weeks ago : Fix spelling.
81aaffd - n7nix, 7 weeks ago : Add script to easily switch between 1200 & 9600 baud packet.
b5bef04 - n7nix, 7 weeks ago : Conditional ALSA settings based on 9600 baud switch.
2518b53 - n7nix, 7 weeks ago : Fix broken relative url links.
6157e4a - n7nix, 7 weeks ago : Add over temperature CPU throttle indicator.
f982f79 - n7nix, 7 weeks ago : Support for 9600 baud.
17991a0 - n7nix, 7 weeks ago : Added for 9600 baud configuration checking.
d156136 - n7nix, 8 weeks ago : Add bc to required build tools for direwolf, add sensor support.
853fe9d - n7nix, 8 weeks ago : Display message when installing sensor support.
86367f1 - n7nix, 8 weeks ago : Add libudev-dev package as a new build requirement package for direwolf.
8dc1cb4 - n7nix, 8 weeks ago : Fix DireWolf version, just dev.
267a51c - n7nix, 8 weeks ago : Fix lingering PHP 7.0 reference.
8fd52e5 - n7nix, 8 weeks ago : Fix php version number for Debian buster.
b08b07e - n7nix, 8 weeks ago : Merge branch 'master' of https://github.com/nwdigitalradio/n7nix
ffa9612 - Basil Gunn, 8 weeks ago : Merge pull request #5 from sgtsmall/master
0f34f49 - n7nix, 8 weeks ago : Install required build packages.
fce35f4 - n7nix, 8 weeks ago : Update version numbers for HF programs.
254daea - n7nix, 8 weeks ago : Create symbolic link to /usr/local/etc/rmsgw & fix config part of build.
ebb6c22 - n7nix, 10 weeks ago : Setup permissions on target source directory so sudo is not required for wget.
755fbaf - n7nix, 10 weeks ago : Get rid of excess debug statement displaying gps version numbers.
b09062d - n7nix, 10 weeks ago : Set proper permissions on channels & version aging files in 'stat' directory.
94a13e8 - Alex Stewart, 10 weeks ago : update install script plus initial checking for new version on yaac site
c49b38b - Alex Stewart, 10 weeks ago : download to usr/local/src and adjust case for YAAC dir acording to ka2ddo site
1405d09 - Alex Stewart, 2 months ago : Add xterm to yaac for desktop icon
5d9aa9b - Alex, 2 months ago : fix latdir and londir in beacon_msg
a8ea76b - n7nix, 3 months ago : Fix version # is only major.minor number & permission problems.
1165bfc - n7nix, 3 months ago : Check for 3rd version digit is numeric.
d797551 - n7nix, 3 months ago : Install wide version (w) of libncureses as well.
10dcfe8 - n7nix, 3 months ago : If draws sensor file does not exist, create it.
16f079a - n7nix, 3 months ago : Pull latest version of Xastir when checking version.
c44ffb6 - n7nix, 3 months ago : Run apt-get in quiet mode
5beb627 - n7nix, 3 months ago : Install uppdates for new image using 4.19 kernel.
32c4be7 - n7nix, 3 months ago : Fix white space.
182f45d - n7nix, 3 months ago : Update ardop install script.
49efdc9 - n7nix, 3 months ago : Update RPi revision numbers for Pi 4B
74d25bd - n7nix, 3 months ago : Advance uronode install functionality.
e62182c - n7nix, 3 months ago : Fix display of correct program name.
db36e46 - n7nix, 3 months ago : Fix numeric conditional check.
07e697a - n7nix, 3 months ago : Make white space consistent for easier comparison.
7c24671 - n7nix, 3 months ago : Update xastir current version number.
f85cc01 - n7nix, 3 months ago : Add entry for Kenwood TM-281a
22d17f4 - n7nix, 3 months ago : display status of dovecot service.
47ec99e - n7nix, 3 months ago : Add display of GPS string for number of satellites in view.
f513419 - n7nix, 4 months ago : Update usage function with gpio on/off
e905122 - n7nix, 4 months ago : Change comments to be consistent to usage with js8call.
d32cc98 - n7nix, 4 months ago : Move ptt_ctrl.sh script to local bin directory.
be17f6b - n7nix, 4 months ago : Add parsing of arguments on/off with no dash
3dfe043 - n7nix, 4 months ago : Add toggle option, to toggle PTT state
5bdc095 - n7nix, 4 months ago : Add simple script to turn PTT on & off on both connectors.
9907d27 - n7nix, 4 months ago : Turn off upgrading packages & the kernel until all current patches to i2cbcm2835 & tlv320 drivers are accepted.
514f746 - n7nix, 4 months ago : Fix no split-channels directory found error.
128c29b - n7nix, 5 months ago : Add silent option to just update the gateway list file.
aa435f4 - n7nix, 5 months ago : Fix boolean flag to interrogate Winlink Web services.
a3bc3d6 - n7nix, 5 months ago : Update ChangeLog to reflect changes.
7b2f620 - n7nix, 5 months ago : Make prompt for keyboard input consistent.
22a48a3 - n7nix, 5 months ago : Make log file entry accurate.
e2d1861 - n7nix, 5 months ago : Use copy update to fix clobbering previously config'ed files.
139a075 - n7nix, 5 months ago : Set same AX25 port name in axports, ax25d.conf, channels.xml
2a72987 - n7nix, 5 months ago : Get port number from previous configured AX25 file, use parameterized SSID.
b6e95d8 - n7nix, 5 months ago : Fix comment to align with reality.
1604023 - n7nix, 5 months ago : Add no-pager option to systemctl call.
64e76f6 - n7nix, 5 months ago : Add entry for IC-7000
7a407fe - n7nix, 5 months ago : Add new dtoverlay entry for draws.
d773d7a - n7nix, 5 months ago : Add new dtoverlay entry for draws.


Re: image update failure

Basil Gunn
 

John,
I verified that the following method also works.
Copy the following alsa control values from your working image,
you can read them by running alsa-show.sh.

LO Driver Gain
PCM
ADC Level

Boot your new image and run:
cd
cd bin
sudo su
./setalsa-udrc-din6.sh

Now run alsamixer and set LO Driver Gain, PCM & ADC Level. To make
things more convenient you could use an editor and set the 3 values in
the setalsa-udrc-din6.sh script. They are the first 3 levels set.

Verify by running alsa-show.sh one more time.

/Basil

John Spoonhower <jpspoonhower@...> writes:

Thanks. I will give this a try.
On a somewhat different topic...I notice in beacmin.sh that in the comments
aprs symbols are listed. I do not see sending a symbol implemented in this
script. Is this fairly straightforward to add ?

On Sun, Oct 6, 2019 at 11:17 AM Basil Gunn <@basil860> wrote:


I used a new image (nwdr14) with a UDRC II and it worked fine. I will
release that image today. The only thing I changed from the scripts was
to select discriminator out using the alsa commands. You can do it from
the alsamixer gui as well.

sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

Since you have a working configuration why not save it to a file &
compare it with the configuration you are using with the new image.
ie. save /boot/config.txt, alsa-show, ax25-status -d

You could try a transmit test to see what that gives you
cd
cd n7nix/debug
./btest.sh -P udr1 -p

Remember that on a UDRC II the mDin6 connector is port 1 not port 0.

I notice that you have manually edited /boot/config.txt. I did not
manually edit any files for my UDRC II test.

/Basil


Re: image update failure

Basil Gunn
 

First, beacmin.sh was meant to be a minimum beacon command and doesn't
have any arguments. That means it only outputs to the first port (udr0)
which will not work on the UDRC II unless you edit the AX25PORT variable
at the top of the script. The btest.sh script is similar to beacmin.sh
but provides command line arguments to select some things. This is the
script you should use when testing a UDRC II

/btest.sh -h
Usage: btest.sh [-P <port>][-s <num>][-p][-m][-v][-h]
-P <portname> | --portname <portname> eg. udr0
-s <num> | --sid <num> set sid in callsign, number 0-15
-p | --position send a position beacon
-m | --message send a message beacon (default)
-v | --verbose display verbose messages
-h | --help display this message

Second, the APRS symbol is two characters. The first is the symbol table
identifier and the second is the symbol code from that table. If you
look at the beacon_msg variable in either beacmin.sh or btest.sh you
will see that the first character is between ${latdir} & ${lon} and the
second character is between ${londir} & $timestamp.

For more information look at the APRS manual around page 24.
http://www.aprs.org/doc/APRS101.PDF

/Basil

John Spoonhower <jpspoonhower@...> writes:

Thanks. I will give this a try.
On a somewhat different topic...I notice in beacmin.sh that in the comments
aprs symbols are listed. I do not see sending a symbol implemented in this
script. Is this fairly straightforward to add ?

On Sun, Oct 6, 2019 at 11:17 AM Basil Gunn <@basil860> wrote:


I used a new image (nwdr14) with a UDRC II and it worked fine. I will
release that image today. The only thing I changed from the scripts was
to select discriminator out using the alsa commands. You can do it from
the alsamixer gui as well.

sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

Since you have a working configuration why not save it to a file &
compare it with the configuration you are using with the new image.
ie. save /boot/config.txt, alsa-show, ax25-status -d

You could try a transmit test to see what that gives you
cd
cd n7nix/debug
./btest.sh -P udr1 -p

Remember that on a UDRC II the mDin6 connector is port 1 not port 0.

I notice that you have manually edited /boot/config.txt. I did not
manually edit any files for my UDRC II test.

/Basil


John Spoonhower <jpspoonhower@...> writes:

Basil,
responses below.
73, John

On Fri, Oct 4, 2019 at 7:42 PM Basil Gunn <@basil860> wrote:

The problem is that although all seems normal otherwise, there are
no
packets received as evidenced by either "listen -at" or "tail -f
/var/log/direwolf/direwolf.log".
Did you set your alsa settings the same as what you had on your
working
BETA10 image?

yes.
It is very clear that the attached radio is receiving aprs packets.
There is likely something obvious I am missing ...?
I think that your ALSA audio routing is incorrect.
If you route through ALSA IN1 then you are using DISCOUT or
discriminator audio. If you route through ALSA IN2 then you are using
AFOUT or
compensated audio (preemphasis/deemphasis). Verify how your radio is
configured. On my Kenwood if I select DATSPD 9600 I am selecting
DISCOUT. This works well for both 1200 & 9600 baud packet.
This is not clear to me. I have tested the RPI3/UDRC-II controller to 2
different Yaesu radios both of which work fine with the beta 10 version.


Could you please return the console output of:

# Verify driver loaded properly
aplay -l
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi
tlv320aic32x4-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0


# Verify configured for udrc & not draws
tail /boot/config.txt
tail /boot/config.txt
[all]
#dtoverlay=vc4-fkms-v3d

# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=udrc

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on



# Verify how ALSA is routing audio in
alsa-show.sh


alsa-show.sh
===== ALSA Controls for Radio Transmit =====
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:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]

Thanks,
/Basil n7nix






Re: image update failure

John Spoonhower
 

Thanks. I will give this a try.
On a somewhat different topic...I notice in beacmin.sh that in the comments aprs symbols are listed. I do not see sending a symbol implemented in this script. Is this fairly straightforward to add ?


On Sun, Oct 6, 2019 at 11:17 AM Basil Gunn <basil@...> wrote:

I used a new image (nwdr14) with a UDRC II and it worked fine. I will
release that image today. The only thing I changed from the scripts was
to select discriminator out using the alsa commands. You can do it from
the alsamixer gui as well.

sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

Since you have a working configuration why not save it to a file &
compare it with the configuration you are using with the new image.
ie. save /boot/config.txt, alsa-show, ax25-status -d

You could try a transmit test to see what that gives you
cd
cd n7nix/debug
./btest.sh -P udr1 -p

Remember that on a UDRC II the mDin6 connector is port 1 not port 0.

I notice that you have manually edited /boot/config.txt. I did not
manually edit any files for my UDRC II test.

/Basil


John Spoonhower <jpspoonhower@...> writes:

> Basil,
> responses below.
> 73, John
>
> On Fri, Oct 4, 2019 at 7:42 PM Basil Gunn <basil@...> wrote:
>
>> >> > The problem is that although all seems normal otherwise, there are no
>> >> > packets received as evidenced by either "listen -at" or "tail -f
>> >> > /var/log/direwolf/direwolf.log".
>> >>
>> >> Did you set your alsa settings the same as what you had on your working
>> >> BETA10 image?
>> >>
>> >> yes.
>> >
>> >> > It is very clear that the attached radio is receiving aprs packets.
>> >> > There is likely something obvious I am missing ...?
>>
>> I think that your ALSA audio routing is incorrect.
>> If you route through ALSA IN1 then you are using DISCOUT or
>> discriminator audio. If you route through ALSA IN2 then you are using
>> AFOUT or
>> compensated audio (preemphasis/deemphasis). Verify how your radio is
>> configured. On my Kenwood if I select DATSPD 9600 I am selecting
>> DISCOUT. This works well for both 1200 & 9600 baud packet.
>>
>
> This is not clear to me. I have tested the RPI3/UDRC-II controller to 2
> different Yaesu radios both of which work fine with the beta 10 version.
>
>
>> Could you please return the console output of:
>>
>> # Verify driver loaded properly
>> aplay -l
>>
>
>  aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi
> tlv320aic32x4-hifi-0 []
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
>
>>
>> # Verify configured for udrc & not draws
>> tail /boot/config.txt
>>
> tail /boot/config.txt
> [all]
> #dtoverlay=vc4-fkms-v3d
>
> # Flush all overlays, ie. deprecated overlays loaded from eeprom
> dtoverlay=
> # enable udrc/draws if no eeprom
> dtoverlay=udrc
>
> # Enable audio (loads snd_bcm2835)
> #dtparam=audio=on
>
>
>>
>> # Verify how ALSA is routing audio in
>> alsa-show.sh
>>
>
>
>
>>  alsa-show.sh
>>  ===== ALSA Controls for Radio Transmit =====
>> 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:[Off] R:[Off]
>> IN2 L:[10 kOhm] R:[10 kOhm]
>> CM L:[10 kOhm] R:[10 kOhm]
>>
>> Thanks,
>> /Basil n7nix
>>
>>
>>
>>
>
>




Re: image update failure

Basil Gunn
 

I used a new image (nwdr14) with a UDRC II and it worked fine. I will
release that image today. The only thing I changed from the scripts was
to select discriminator out using the alsa commands. You can do it from
the alsamixer gui as well.

sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

Since you have a working configuration why not save it to a file &
compare it with the configuration you are using with the new image.
ie. save /boot/config.txt, alsa-show, ax25-status -d

You could try a transmit test to see what that gives you
cd
cd n7nix/debug
./btest.sh -P udr1 -p

Remember that on a UDRC II the mDin6 connector is port 1 not port 0.

I notice that you have manually edited /boot/config.txt. I did not
manually edit any files for my UDRC II test.

/Basil


John Spoonhower <jpspoonhower@...> writes:

Basil,
responses below.
73, John

On Fri, Oct 4, 2019 at 7:42 PM Basil Gunn <@basil860> wrote:

The problem is that although all seems normal otherwise, there are no
packets received as evidenced by either "listen -at" or "tail -f
/var/log/direwolf/direwolf.log".
Did you set your alsa settings the same as what you had on your working
BETA10 image?

yes.
It is very clear that the attached radio is receiving aprs packets.
There is likely something obvious I am missing ...?
I think that your ALSA audio routing is incorrect.
If you route through ALSA IN1 then you are using DISCOUT or
discriminator audio. If you route through ALSA IN2 then you are using
AFOUT or
compensated audio (preemphasis/deemphasis). Verify how your radio is
configured. On my Kenwood if I select DATSPD 9600 I am selecting
DISCOUT. This works well for both 1200 & 9600 baud packet.
This is not clear to me. I have tested the RPI3/UDRC-II controller to 2
different Yaesu radios both of which work fine with the beta 10 version.


Could you please return the console output of:

# Verify driver loaded properly
aplay -l
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi
tlv320aic32x4-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0


# Verify configured for udrc & not draws
tail /boot/config.txt
tail /boot/config.txt
[all]
#dtoverlay=vc4-fkms-v3d

# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=udrc

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on



# Verify how ALSA is routing audio in
alsa-show.sh


alsa-show.sh
===== ALSA Controls for Radio Transmit =====
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:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]

Thanks,
/Basil n7nix




Re: image update failure

John Spoonhower
 

Basil,
responses below.
73, John

On Fri, Oct 4, 2019 at 7:42 PM Basil Gunn <basil@...> wrote:
>> > The problem is that although all seems normal otherwise, there are no
>> > packets received as evidenced by either "listen -at" or "tail -f
>> > /var/log/direwolf/direwolf.log".
>>
>> Did you set your alsa settings the same as what you had on your working
>> BETA10 image?
>>
>> yes.
>
>> > It is very clear that the attached radio is receiving aprs packets.
>> > There is likely something obvious I am missing ...?

I think that your ALSA audio routing is incorrect.
If you route through ALSA IN1 then you are using DISCOUT or
discriminator audio. If you route through ALSA IN2 then you are using AFOUT or
compensated audio (preemphasis/deemphasis). Verify how your radio is
configured. On my Kenwood if I select DATSPD 9600 I am selecting
DISCOUT. This works well for both 1200 & 9600 baud packet.
 
This is not clear to me. I have tested the RPI3/UDRC-II controller to 2 different Yaesu radios both of which work fine with the beta 10 version.


Could you please return the console output of:

# Verify driver loaded properly
aplay -l

 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

# Verify configured for udrc & not draws
tail /boot/config.txt
tail /boot/config.txt
[all]
#dtoverlay=vc4-fkms-v3d

# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=udrc

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
 

# Verify how ALSA is routing audio in
alsa-show.sh

 
 alsa-show.sh
 ===== ALSA Controls for Radio Transmit =====
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:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]

Thanks,
/Basil n7nix




Re: image update failure

Basil Gunn
 

The problem is that although all seems normal otherwise, there are no
packets received as evidenced by either "listen -at" or "tail -f
/var/log/direwolf/direwolf.log".
Did you set your alsa settings the same as what you had on your working
BETA10 image?

yes.
It is very clear that the attached radio is receiving aprs packets.
There is likely something obvious I am missing ...?
I think that your ALSA audio routing is incorrect.
If you route through ALSA IN1 then you are using DISCOUT or
discriminator audio. If you route through ALSA IN2 then you are using AFOUT or
compensated audio (preemphasis/deemphasis). Verify how your radio is
configured. On my Kenwood if I select DATSPD 9600 I am selecting
DISCOUT. This works well for both 1200 & 9600 baud packet.

Could you please return the console output of:

# Verify driver loaded properly
aplay -l

# Verify configured for udrc & not draws
tail /boot/config.txt

# Verify how ALSA is routing audio in
alsa-show.sh

Thanks,
/Basil n7nix


Draws Hat with Cooling #case

Frank Ivan
 

Hello Everyone,

I have updated my case and it is Thing 3897403 https://www.thingiverse.com/thing:3897403.  It uses a Raspberry Pi Poe Hat between the Raspberry Pi and the Draws Hat.  This brings a temperature controlled fan blowing on the Pi's CPU and also is sealed so that hot air can't recirculate back through the fan but must exit through the cooling slots.  Again - can be printed for Pi3 or Pi4.

Case for Raspberry Pi 3b or Raspberry Pi 4b + NWDR DRAWS hat with GPS port on side.

Added PoE Hat as temperature controlled fan - keep Pi cool no matter load

SCAD file provided so you can help tune the design

STL files for both Raspberry Pi 3b or Raspberry Pi 4b print your choice

Has a powerpole power port

Nice fit for DRAWS card

Rounded corners

Machine screws into card spacers hold case together

 

Hardware

4 M2.5 x 8mm hex socket head machine screws (8mm does not include head)

4 M2.5 x 15mm female to female spacers

4 M2.5 x 8mm male to female spacers

4 M2.5 x 25mm hex socket head machine screws

1 Adafruit ADA2223 - 8.5mm header 40 pin stacking header - also available on Amazon

1 4 Pin Extra Tall Header - https://thepihut.com/products/4-pin-extra-tall-header-push-fit-version-poe-hat

 

1 Official Raspberry Pi Power over Ethernet card - must be official Raspberry Pi PoE hat

Available on Amazon - but PiHut is cheaper and you may want to get 4 pin header from PiHut

 

Assembly

Clean out screw holes - 7/64 or 3mm bit does it nicely

Clean out ports

Install Powerpole connector - maybe use a bit of thin double stick tape to hold in place

Install DRAWS card in lid. It's a close fit but should not be difficult

Push M2.5 x 25mm screws into holes

Slide baffles into slots - keep fan power notch on right as you look from back to front of lid

Install 8mm spaces on screws coming though Draws card

Install 40 pin spacer header into PoE Hat with header pushing into header on PoE Hat

Install PoE Hat onto Draws card - you may need to work the hat past the baffles

Install 15mm spaces onto screws coming through PoE Hat

Plug Pi into Poe Hat - make sure it is aligned with the pins go into correct holes

Install base

Secure with the 4 M2.5 x 8mm screws

Tighten every thing up with allen wrench

 

The PoE Hat will keep a Ri4 down to under 60C under extended load.  It easily passes the heating test from the Explaingcomputers YouTube videos testing Raspberry Pi4 B cooling.

While the PoE Hat is primarily used as a cooling fat, but a nice side effect is you can power the system from the ethernet port.

Note: If you need RFI shielding line the inside of the case with copper foil tape. 

Enjoy and 73
Frank - K0FEI

 


Re: image update failure

John Spoonhower
 

Hi Basil,
thanks for the information. I have some additional responses below.
73, NX2I
John

On Thu, Oct 3, 2019 at 5:52 PM Basil Gunn <basil@...> wrote:

> I am attempting to update my aprs system to the current buster-based image
> nwdr14.img. the old image was beta 10 I believe.

New image is not released yet, so not supported yet.

I am not sure what "released " means; nwdr14.imgf is what I get when I click on "current image" on the NWD download site.

> The system uses a UDRC-II
> HAT. I am looking for a very plain end point; an APRS Igate with some
> custom software that automatically broadcasts NWS warning packets when an
> official weather warming is issued. I have had the custom software running
> on the old beta image.

Sounds cool.

The credit belongs with K2DLS. If I can implement this, anyone can. Just search for noaacap.py or K2DLS.

> I have followed the online guidance for installing and verifying  the image
> file. All seems to proceed normally. The only exception is that showudrc.sh
> alerts that the gpsd has failed.
> (There is no gps on my UDRC HAT).

I can't comment on that unless I see the actual showudrc.sh console
output. But please wait until I announce the release. Should be in the
next day or 2. Life keeps getting in the way.

The gpsd problem has been fixed by simply pointing to the correct device file in /etc/defaults/gpsd. I can send the showudrc.sh when you wish,

> The problem is that although all seems normal otherwise, there are no
> packets received as evidenced by either "listen -at" or "tail -f
> /var/log/direwolf/direwolf.log".

Did you set your alsa settings the same as what you had on your working
BETA10 image?

yes.
> It is very clear that the attached radio is receiving aprs packets.
> There is likely something obvious I am missing ...?




Re: image update failure

Basil Gunn
 

I am attempting to update my aprs system to the current buster-based image
nwdr14.img. the old image was beta 10 I believe.
New image is not released yet, so not supported yet.

The system uses a UDRC-II
HAT. I am looking for a very plain end point; an APRS Igate with some
custom software that automatically broadcasts NWS warning packets when an
official weather warming is issued. I have had the custom software running
on the old beta image.
Sounds cool.

I have followed the online guidance for installing and verifying the image
file. All seems to proceed normally. The only exception is that showudrc.sh
alerts that the gpsd has failed.
(There is no gps on my UDRC HAT).
I can't comment on that unless I see the actual showudrc.sh console
output. But please wait until I announce the release. Should be in the
next day or 2. Life keeps getting in the way.

The problem is that although all seems normal otherwise, there are no
packets received as evidenced by either "listen -at" or "tail -f
/var/log/direwolf/direwolf.log".
Did you set your alsa settings the same as what you had on your working
BETA10 image?

It is very clear that the attached radio is receiving aprs packets.
There is likely something obvious I am missing ...?


image update failure

John Spoonhower
 

I am attempting to update my aprs system to the current buster-based image nwdr14.img. the old image was beta 10 I believe. The system uses a UDRC-II HAT. I am looking for a very plain end point; an APRS Igate with some custom software that automatically broadcasts NWS warning packets when an official weather warming is issued. I have had the custom software running on the old beta image.
I have followed the online guidance for installing and verifying  the image file. All seems to proceed normally. The only exception is that showudrc.sh alerts that the gpsd has failed. 
(There is no gps on my UDRC HAT). 
The problem is that although all seems normal otherwise, there are no packets received as evidenced by either "listen -at" or "tail -f /var/log/direwolf/direwolf.log".
It is very clear that the attached radio is receiving aprs packets.
There is likely something obvious I am missing ...?
73,
John, NX2i


Re: Eureka!!!! She works perfectly!!

Matt N7ROO
 

I removed pin 6 from both ends of the cable and it didn't seem to help in my case in my ft-891. In fact it was rather a step backwards as I no longer was receiving signals. 


On Wed, Oct 2, 2019, 16:46 okiejim <kd6vpe@...> wrote:
I have the same trouble, I have the same radio. I have not tried for several months now. It did work on vhf and aprs with the supplied cables. I live in a trailer and just dont want to take a chance of shorting out the board during transports. I will give it another chance when I receive my case I ordered. Good luck and please advise this thread if you get it going or get an answer.

On Wed, Oct 2, 2019 at 3:58 PM Roderick Wayne Hart Sr. via Groups.Io <rod.hart=verizon.net@groups.io> wrote:
I have been hunting audio out here with a FT-847. The receive works fine. Should I remove pin 6? Can someone explain why. I am using cables that were supplied with the Draws.


Re: Eureka!!!! She works perfectly!!

okiejim
 

I have the same trouble, I have the same radio. I have not tried for several months now. It did work on vhf and aprs with the supplied cables. I live in a trailer and just dont want to take a chance of shorting out the board during transports. I will give it another chance when I receive my case I ordered. Good luck and please advise this thread if you get it going or get an answer.

On Wed, Oct 2, 2019 at 3:58 PM Roderick Wayne Hart Sr. via Groups.Io <rod.hart=verizon.net@groups.io> wrote:
I have been hunting audio out here with a FT-847. The receive works fine. Should I remove pin 6? Can someone explain why. I am using cables that were supplied with the Draws.


Re: Eureka!!!! She works perfectly!!

Roderick Wayne Hart Sr.
 

I have been hunting audio out here with a FT-847. The receive works fine. Should I remove pin 6? Can someone explain why. I am using cables that were supplied with the Draws.