Date   

#upgrade #draws #configuration #upgrade #draws #configuration

Erwin OE1EKG
 

Hello on the forum,

after few month I found time to play again with the DRAWS and want to finish my started installation. First of all I want to do an update -but this failed cause of PAT and WSJTX installation? So what can I do to overcome this?

73 de Erwin, OE1EKG

Here the code what I did:
pi@draws:~ $ apt-mark showhold
libraspberrypi-bin
libraspberrypi-dev
libraspberrypi-doc
libraspberrypi0
raspberrypi-bootloader
raspberrypi-kernel
raspberrypi-kernel-headers
pi@draws:~ $ ## Update NWDR scripts
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
Updating b46e987..36e4185
error: Your local changes to the following files would be overwritten by merge:
email/pat/pat_install.sh
hfprogs/wsj_ctrl.sh
Please commit your changes or stash them before you merge.
 
 
 


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Mitch Winkle
 

Basil,

Understood.  I may give it a go to see if the card "lights up" after installing the usual audio suspects.  My uses are VERY specific to one application of my own creation (hence the need for recent Qt5 libraries).  I have an SD card with Ubuntu server on it now.  It'll be a matter of moving the DRAWS over and testing it out on the RPi4.

Thanks for the clarification!

Mitch

On 8/16/2021 12:38, Basil Gunn wrote:
If Ubuntu or Manjaro is "not possible" with the overlay to support
DRAWS, that's all I really need to hear.
The tlv320aic codec driver IS in the main line Linux kernel so it IS
"possible" that the Ubuntu, Manjaro kernels will support DRAWS. There is
other support for Pi hardware in the Raspbian kernel that "may" not be
in the Ubuntu, Manjaro kernels.

The only thing I can say is that the Raspbian kernel supports
the Pi hardware better than other kernels.




Re: RMS Gateway Question.

Basil Gunn
 

Everything looks good.
Now open a new console as root and run the packet spy.

listen -a

Mike Lussier <mike.lussier@gmail.com> writes:

Basil,

I have run the setalsa-tmv71a.sh and here is the output of the grep

pi@UDRC-RMSGATEWAY:~/bin $ grep "receive_out=" /etc/ax25/port.conf
receive_out=audio
receive_out=audio


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Basil Gunn
 

If Ubuntu or Manjaro is "not possible" with the overlay to support
DRAWS, that's all I really need to hear.
The tlv320aic codec driver IS in the main line Linux kernel so it IS
"possible" that the Ubuntu, Manjaro kernels will support DRAWS. There is
other support for Pi hardware in the Raspbian kernel that "may" not be
in the Ubuntu, Manjaro kernels.

The only thing I can say is that the Raspbian kernel supports
the Pi hardware better than other kernels.


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Mitch Winkle
 

Oh I have done that.  Which is why I never want to do it again :)  A repo source is much more reliable long-term.  Alternately, I could install QtCreator I guess.  That's a hammer, but may work and requires painful discovery of the required system files along with the Qt libraries to make it all work right.  It can be challenging to make the end results portable that way.

If Ubuntu or Manjaro is "not possible" with the overlay to support DRAWS, that's all I really need to hear.  No need to flog it with the group.

On 8/16/2021 10:54, Basil Gunn wrote:
Qt version not kernel version
How to Compile Qt from Source Code on Linux
https://www.ics.com/blog/how-compile-qt-source-code-linux


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Basil Gunn
 

Qt version not kernel version
How to Compile Qt from Source Code on Linux
https://www.ics.com/blog/how-compile-qt-source-code-linux


On 8/16/2021 10:33, Basil Gunn wrote:
The version on buster is 5.11.2 which is ancient.
Not sure what you mean by ancient.


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Mitch Winkle
 

Qt version not kernel version

On 8/16/2021 10:33, Basil Gunn wrote:
The version on buster is 5.11.2 which is ancient.
Not sure what you mean by ancient.

The latest long term kernel version from kernel.org is 5.10.59 which was
released yesterday.

The current kernel in the Raspberry Pi Foundation repo is 5.10.52. The
Raspberry Pi Foundation uses the Raspbian maintained kernel which does
the best job of supporting the devices on the Raspberry Pi hardware.

If you want a newer (bleeding edge) kernel I recommend you get the
latest kernel source (next branch) from
https://github.com/raspberrypi/linux and cross compile and install that
kernel.

If you need help building the kernel use 'Raspberry Pi Documentation'
https://www.raspberrypi.org/documentation/computers/linux_kernel.html#default_configuration

I will say again you should cross compile the kernel on a decently fast
machine. Trying to build natively on a Pi takes way too long.

The first step after installing a new kernel is to run 'aplay -l' to confirm
the DRAWS/UDRC device is enumerated.

In terms of support you are mostly on your own.

Mitch Winkle <ab4mw@radcommsoft.com> writes:

[Edited Message Follows]

I make extensive use of Qt for things such as MQTT and others. The
version on buster is 5.11.2 which is ancient. Ubuntu and Manjaro seem
to have newer versions.

Has anyone had success using the DRAWS card with an RPi3 or 4 and
Ubuntu or Majaro?


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Basil Gunn
 

The version on buster is 5.11.2 which is ancient.
Not sure what you mean by ancient.

The latest long term kernel version from kernel.org is 5.10.59 which was
released yesterday.

The current kernel in the Raspberry Pi Foundation repo is 5.10.52. The
Raspberry Pi Foundation uses the Raspbian maintained kernel which does
the best job of supporting the devices on the Raspberry Pi hardware.

If you want a newer (bleeding edge) kernel I recommend you get the
latest kernel source (next branch) from
https://github.com/raspberrypi/linux and cross compile and install that
kernel.

If you need help building the kernel use 'Raspberry Pi Documentation'
https://www.raspberrypi.org/documentation/computers/linux_kernel.html#default_configuration

I will say again you should cross compile the kernel on a decently fast
machine. Trying to build natively on a Pi takes way too long.

The first step after installing a new kernel is to run 'aplay -l' to confirm
the DRAWS/UDRC device is enumerated.

In terms of support you are mostly on your own.

Mitch Winkle <ab4mw@radcommsoft.com> writes:

[Edited Message Follows]

I make extensive use of Qt for things such as MQTT and others. The
version on buster is 5.11.2 which is ancient. Ubuntu and Manjaro seem
to have newer versions.

Has anyone had success using the DRAWS card with an RPi3 or 4 and
Ubuntu or Majaro?


Re: RMS Gateway Question.

Mike Lussier - AE4ML
 

Basil, 

I have run the setalsa-tmv71a.sh and here is the output of the grep

pi@UDRC-RMSGATEWAY:~/bin $ grep "receive_out=" /etc/ax25/port.conf
receive_out=audio
receive_out=audio

--

Michael Lussier


Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Mitch Winkle
 
Edited

I make extensive use of Qt for things such as MQTT and others.  The version on buster is 5.11.2 which is ancient.  Ubuntu and Manjaro seem to have newer versions.

Has anyone had success using the DRAWS card with an RPi3 or 4 and Ubuntu or Majaro?


Re: RMS Gateway Question.

Basil Gunn
 

Looks like the Kenwood TM-G707 is similar to the TM-V71a.

Please run this script:

setalsa-tmv71a.sh

Also please confirm that precomp/decomp is being used by running this
command:

grep "receive_out=" /etc/ax25/port.conf

Then post the result of alsa-show.sh to confirm the alsa settings



Mike Lussier <mike.lussier@gmail.com> writes:

1. What radio are you using?

Kenwood TM-G707


Re: RMS Gateway Question.

Mike Lussier - AE4ML
 



1. What radio are you using?  

Kenwood TM-G707

Looks like the same data you are shown below.

In your radio manual look up transmit data input sensitivity.
ie. for my Kenwood TM-V71a:
1200 bps: Transmit data input (PKD) sensitivity is 40 mV p-p , input impedance is 10 kΩ.
9600 bps: Transmit data input (PKD) sensitivity is 2 V p-p , input impedance is 10 kΩ.

===============================================================================
2. Have you selected discriminator output (9600 baud) or precomp/decomp (1200
baud) on your radio? This affects what ALSA settings to use.

Radio is set to 1200, 

===============================================
3. What are your current ALSA settings?
Run alsa-show.sh in a console.

pi@UDRC-RMSGATEWAY:~/bin $ ./alsa-show.sh
 ==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]

 ======= DRAWS
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[4.00dB] R:[0.00dB]
PCM        L:[0.00dB] R:[0.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
Output Mixer    L:[on] R:[off]

 ===== ALSA Controls for Radio Receive =====
ADC Level L:[-2.00dB] R:[-2.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[Off]
CM L:[10 kOhm] R:[10 kOhm]

4. Also post the console output of: buginfo.sh

pi@UDRC-RMSGATEWAY:~/bin $ ./buginfo.sh
=== Versions ===
== Kernel:
Linux UDRC-RMSGATEWAY 5.4.79-v7+ #1373 SMP Mon Nov 23 13:22:33 GMT 2020 armv7l GNU/Linux

== Firmware:
Nov 30 2020 22:13:46
Copyright (c) 2012 Broadcom
version ab1181cc0cb6df52bfae3b1d3fef0ce7c325166c (clean) (release) (start)

== Pi hardware:
 Pi 3 Model B, Rev 1.2, Mfg by Stadium with WiFi
temp=58.0'C

== DRAWS hardware:
Product id: 0x0004, ver: 0x0108, Assembly rev: 1, fab rev: 8

=== Checks ===
== Codec driver check:
[    8.697172] asoc-simple-card soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok

== DRAWS driver check:
udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #1

== Boot 'fail' check:
[    8.158925] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2
[   16.634162] Bluetooth: hci0: Frame reassembly failed (-84)
[   16.634190] Bluetooth: hci0: Frame reassembly failed (-84)

== GPS check:
Serial devices OK
gpsd OK

== /boot/config file
disable_overscan=1
[pi4]
dtoverlay=vc4-fkms-v3d
[all]
dtoverlay=
dtoverlay=draws,alsaname=udrc
force_turbo=1
dtparam=audio=on
=====================================
5. Look at a packet spy output.
Open a console
Become root: sudo su
Start the packet spy: listen -a




6. Are you using the left or right mDin6 connector on the DRAWS hat?  

Left
--

Michael Lussier


Re: RMS Gateway Question.

Basil Gunn
 

Your symptoms are probably due to improper ALSA settings for the radio
you are using.

1. What radio are you using?
In your radio manual look up transmit data input sensitivity.
ie. for my Kenwood TM-V71a:
1200 bps: Transmit data input (PKD) sensitivity is 40 mV p-p , input impedance is 10 kΩ.
9600 bps: Transmit data input (PKD) sensitivity is 2 V p-p , input impedance is 10 kΩ.

2. Have you selected discriminator output (9600 baud) or precomp/decomp (1200
baud) on your radio? This affects what ALSA settings to use.

3. What are your current ALSA settings?
Run alsa-show.sh in a console.

4. Also post the console output of: buginfo.sh

5. Look at a packet spy output.
Open a console
Become root: sudo su
Start the packet spy: listen -a

6. Are you using the left or right mDin6 connector on the DRAWS hat?

I purchased the DRAWS and a Raspberry Pi 3B+ for a VHF 1200bd RMS Gateway project.
I have a problem that I can't seem to solve but that I can replicate.


Re: Draws Manager Question

Mike Lussier - AE4ML
 

no changes were made. Just updating

Basil, 
your instructions worked.

Thank you 
--

Michael Lussier


RMS Gateway Question.

Mike Lussier - AE4ML
 

Good morning all, 
I purchased the DRAWS and a Raspberry Pi 3B+ for a VHF 1200bd RMS Gateway project.
I have a problem that I can't seem to solve but that I can replicate. 
I have had several users over the past week complain that when they send a message the message remains in thier outbox. 
A closer watch when the messages were sent shows a disconnect from the gateway before the message was completed. 
This was seen with standard messages as well as with attachments. Attachments was the first complaint.
Some folks were going through a local digipeater on a mountain top and others were direct with the same issues. Some messages without attachments work just fine. 


Re: Draws Manager Question

Basil Gunn
 

sudo su
cd /usr/local/var/draws-manager/webapp
rm package-lock.json
git pull

Updating 0d2240c..494be9a
Fast-forward
package-lock.json | 5 +-
webapp/package-lock.json | 8294 ++++++++++++++++++++
webapp/package.json | 8 +-
3 files changed, 7850 insertions(+), 457 deletions(-)


John D Hays - K7VE <john@hays.org> writes:

Did you make local changes to the files, and if so, what?

On Thu, Aug 12, 2021 at 3:31 PM Mike Lussier <mike.lussier@gmail.com> wrote:

I followed the update string and this is the output.

root@UDRC-RMSGATEWAY:/home/pi# cd /usr/local/var/draws-manager && git
pull && systemctl restart draws-manager
Updating 0d2240c..494be9a
error: Your local changes to the following files would be overwritten by
merge:
webapp/package-lock.json
Please commit your changes or stash them before you merge.
Aborting


How do I commit what ever changed were made or stash them ?




Re: Draws Manager Question

 

Did you make local changes to the files, and if so, what?

On Thu, Aug 12, 2021 at 3:31 PM Mike Lussier <mike.lussier@...> wrote:
I followed the update string and this is the output.

root@UDRC-RMSGATEWAY:/home/pi# cd /usr/local/var/draws-manager && git pull && systemctl restart draws-manager
Updating 0d2240c..494be9a
error: Your local changes to the following files would be overwritten by merge:
webapp/package-lock.json
Please commit your changes or stash them before you merge.
Aborting


How do I commit what ever changed were made or stash them ? 



--
John D. Hays
Kingston, WA
K7VE / WRJT-215

 


Draws Manager Question

Mike Lussier - AE4ML
 

I followed the update string and this is the output.

root@UDRC-RMSGATEWAY:/home/pi# cd /usr/local/var/draws-manager && git pull && systemctl restart draws-manager
Updating 0d2240c..494be9a
error: Your local changes to the following files would be overwritten by merge:
webapp/package-lock.json
Please commit your changes or stash them before you merge.
Aborting


How do I commit what ever changed were made or stash them ? 


Humble Request

Tom Velvin
 


Good day ,

I was wondering if I can get a quick favor from you. I'll appreciate if you can email me back as soon as possible.

Tom


Re: YAAC Port Settings #yaac #xastir

Tim Huffaker
 

Andrew have been running it for several years on a Raspberry Pi and you are right the maps are slow. The course is long and narrow so have to pan only once.  I use a raspberry pi because we work on battery power for the event and I cannot run direwolf and yaac on a tablet that uses lower power.  I went to the Raspberry pi 4 for better graphics.  

Thank you for your insight and building YAAC from an old analog designer.

Tim KM4ESU 

241 - 260 of 6048