Date   

Re: no transmit #wsjt-x

Rob Lapham
 

yes over and over went home to day and rechecked the radio settings. I would think if the radio work in receive and with a signal link the radio
settings should be right. last night had the drive turned all the way up and would not drive the radio just keys and no power. keep going over the 
settings and instruction's. 
Rob k6jus


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

Michael Narges
 

Thanks for the documentation of the DRAWS Hat! Several questions are answered here.  

Thanks, 

Mike WF8O 


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Basil Gunn
 

Just adding the lines to /boot/config.txt didn't get the tlv modules
to load and I could not see the sound card. If I put those lines
before the drtparam=audio=-on then aplay -l said there is no sound
card found.
Provide the output of showudrc.sh describing what you did doesn't work
for me.

lsmod | grep -i tlv320*

snd_soc_tlv320aic32x4_i2c 16384 27
snd_soc_tlv320aic32x4 40960 1 snd_soc_tlv320aic32x4_i2c
snd_soc_core 192512 5 vc4,snd_soc_simple_card_utils,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_soc_simple_card
snd_pcm 102400 8 vc4,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_bcm2835,snd_soc_core
snd 73728 14 snd_compress,snd_timer,snd_soc_tlv320aic32x4,snd_bcm2835,snd_soc_core,snd_pcm

This works with the latest version of Raspbian which uses this Linux
kernel

uname -r
4.19.57-v7l+

If you do not see the udrc driver enumerated:

aplay -l | grep udrc

card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi
tlv320aic32x4-hifi-0 []

then you are not using the latest Raspbian image it's that simple.

Also Beta image 13 works as long as you do NOT do an upgrade.

It would not be to blow it off until after some hamfest more than a
month down the way.
It's 2 weeks a way, thanks for your concern.

/Basil


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Frank Ivan
 

I'm sorry Jonathan,

You did show the showudrc and it shows some of the modules, and the /boot/config.txt.

If could show all the modules the sudo lsmod and the /etc/modules file that would be interesting.

Thanks - Frank - K0FEI


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Frank Ivan
 

Hi Basil,

Just adding the lines to /boot/config.txt didn't get the tlv modules to load and I could not see the sound card. If I put those lines before the drtparam=audio=-on then aplay -l said there is no sound card found.

In the Stretch version there is a module udrc loaded.  What does that do and do we still need it?

I am presenting my 3d printed case for the draws hat on a Pi4 at the Tech Connect 285 club the first Saturday in September and would like to tell everyone how great the product is.  We have a lot of SOTA folks (Colorado is SOTA heaven) and the draws hat is one of the smallest interfaces available.  The following Saturday we will be having our annual picnic on a SOTA peak and showing off equipment.

The long and short of it is you have a show stopping problem and it would appear you can not duplicate it.  I am not the only one who is having the problem.  I know what I would do if it were my product.  It would not be to blow it off until after some hamfest more than a month down the way.

Frank - K0FEI
 


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Frank Ivan
 

Hi Jonathan,

Could you look at a couple of things and tell me what you are seeing.

1. Could you enter sudo lsmod.  That should display a list of kernel modules loaded.
2. Could you cat /boot/config.txt to type out the config.txt file.
3. Could you enter the nx7nix/bin/showudrc.sh.  Its a lot of stuff but it tells pretty much the story.
4. Finally could you cat /etc/modules and get a list of kernel modules that are being loaded.

Thanks
Frank - K0FEI


Re: no transmit #wsjt-x

Basil Gunn
 

Have you read this to set up a "USER" defined digital mode on your
radio?

https://github.com/nwdigitalradio/n7nix/blob/master/docs/RADIO_APP_NOTES.md

/Basil n7nix


Re: no transmit #wsjt-x

Rob Lapham
 

It’s a ft-817nd


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Jonathan Visser
 

Frank, 

I am using the card with the GPS antenna on what I would consider the back.  The GPS antenna antenna is on the same side as the power. 

Thanks, 
Jonathan

On Aug 29, 2019, at 10:40 AM, Frank Ivan via Groups.Io <k0fei@...> wrote:

Hi Jonathan,

Are you using the hat with the gps antenna on the side with the sockets or on the back of the card?

Thanks
Frank - K0FEI


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

 


On Thu, Aug 29, 2019 at 8:55 AM Michael Narges <mnarges23@...> wrote:
I read several posts here about the need to remove pin six.  John Hays and Bryan Hoyer particularly seemed to have solid reasons, and I merely took their helpful advice.  The Draws Hat is essentially a “black box” since there are no schematics published. However nothing succeeds like success!  Hope this trick works for you!

73. Mike Wf8o 



--
John D. Hays
Kingston, WA
K7VE

 


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

Michael Narges
 

I read several posts here about the need to remove pin six.  John Hays and Bryan Hoyer particularly seemed to have solid reasons, and I merely took their helpful advice.  The Draws Hat is essentially a “black box” since there are no schematics published. However nothing succeeds like success!  Hope this trick works for you!

73. Mike Wf8o 


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

 

Stretch is the best path for Pi 3 and Pi 2.  If you have a Pi 4, you will need to use Buster and the edit that Basil lists.

Now that the DRAWS™ support is directly in the Buster kernel, it is configuration to activate it.

We may put out some images specific to some application groupings on top of Buster with DRAWS™, but they will start on top of Buster.

Pi 4 is still leading edge at this point.

On Thu, Aug 29, 2019 at 7:36 AM Basil Gunn <basil@...> wrote:

Mitch Winkle <ab4mw@...> writes:

> Second that notion. There is a lot of what I consider unwanted fluff
> in this image since I don't care about packet radio. I would really
> like to have a clean image with only the necessary drivers and such and
> then I could install my own programs, and select the HF programs that I
> want to use. So perhaps a "minimal" image that gets the DRAWS
> functioning properly on the RPi??

Use the latest Raspbian image that supports Debian buster and add these
lines in /boot/config.txt

dtoverlay=draws,alsaname=udrc
force_turbo=1

/Basil n7nix





--
John D. Hays
Kingston, WA
K7VE

 


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

 

I have had both recognized with the Buster version.

On Thu, Aug 29, 2019 at 8:41 AM Frank Ivan via Groups.Io <k0fei=me.com@groups.io> wrote:
Hi Jonathan,

Are you using the hat with the gps antenna on the side with the sockets or on the back of the card?

Thanks
Frank - K0FEI
_._,_._,_

--
John D. Hays
Kingston, WA
K7VE

 


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Frank Ivan
 

Hi Jonathan,

Are you using the hat with the gps antenna on the side with the sockets or on the back of the card?

Thanks
Frank - K0FEI


Re: no transmit #wsjt-x

Mitch Winkle
 

FT-450D

On 8/29/19 9:39 AM, John D Hays - K7VE wrote:
What radio model are you trying to drive?

On Thu, Aug 29, 2019, 04:34 Mitch Winkle <ab4mw@...> wrote:

sounds very much like my issue, only I have badly distored audio to the transmitter.  mine is in a box ready to be mailed back for eval.

On 8/28/19 10:08 PM, Rob Lapham wrote:
I did use Johns web app and it came up with the same values as the draws manager. I have turned  the gain up all the way and no clean tone.
the radio works fine with my other rp4 and a signal link so I think the radio is ok. also install another cable still no clean audio.
I lost
Rob k6jus


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Basil Gunn
 

Mitch Winkle <ab4mw@...> writes:

Second that notion. There is a lot of what I consider unwanted fluff
in this image since I don't care about packet radio. I would really
like to have a clean image with only the necessary drivers and such and
then I could install my own programs, and select the HF programs that I
want to use. So perhaps a "minimal" image that gets the DRAWS
functioning properly on the RPi??
Use the latest Raspbian image that supports Debian buster and add these
lines in /boot/config.txt

dtoverlay=draws,alsaname=udrc
force_turbo=1

/Basil n7nix


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Basil Gunn
 

There is no upgrade path from draws_image13 which uses Debian stretch to
the latest Raspbian distribution which uses Debian buster.

This is because the transition of the DRAWS driver support to be in a
native Linux kernel. If you use a Raspbian image & add these lines at
bottom of your /boot/config.txt file:

dtoverlay=draws,alsaname=udrc
force_turbo=1

DRAWS drivers will be running & your DRAWS hat will be recognized.

There is no upgrade path from draws_image13 which uses Debian stretch to
the latest Raspbian distribution which used Debian buster.

There will be a new image posted sometime after the Pacific Northwest
Summer Gathering in the last part of September. In the mean time either
use draws_image13 and don't do an upgrade or use the latest Raspbian
image.

/Basil n7nix


Jonathan Visser via Groups.Io <n9tjx=yahoo.com@groups.io> writes:

I was able to successfully see the sound card when completing the steps that Mr. Hays gave. The issue I have is going onto the n7nix scripts. After running the ./app_config.sh core, I no longer see the UDRC sound card. This was discovered late last night and I have not had a chance to troubleshoot these issues. For those
having issues did you continue run that script before testing the sound card? I will try to troubleshoot soon and open a separate thread for the issues with the n7nix config script.

My steps I used.

1 Downloaded Buster 2019-07-10-raspbian-buster.img
2 Used Etcher on MAC to flash image to a SanDisk 32G Card
3 Booted SD in Raspberry Pi 3B+ DRAWS (received July 2019) hat installed - Power through 12V DRAWS hat
4 Boot resized file system and entered United States - and Chicago Time then set password and then selected WiFi.
5 enable ssh - to be able to cut and paste commands.
6 Changed Hostname (N9TJX-Draws)
7 Rebooted.
8 sudo apt update -
9 sudo apt upgrade.
10 Rebooted.
11 sudo apt install git build-essential vim and nmap (- git and build-essential were up to date installed vim and nmap)
12 git clone https://github.com/nwdigitalradio/n7nix.git
13 cd n7nix/config
14 sudo ./image_install.sh
15 sudo apt --fix-broken install
16 reboot - Current Location
17 cd n7nix/bin
18 ./sndcard.sh -

* udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 []
* udrc is sound card #1

* aplay -l

* **** List of PLAYBACK Hardware Devices ****
* card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
* Subdevices: 7/7
* Subdevice #0: subdevice #0
* Subdevice #1: subdevice #1
* Subdevice #2: subdevice #2
* Subdevice #3: subdevice #3
* Subdevice #4: subdevice #4
* Subdevice #5: subdevice #5
* Subdevice #6: subdevice #6
* card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
* Subdevices: 1/1
* Subdevice #0: subdevice #0
* card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
* Subdevices: 1/1
* Subdevice #0: subdevice #0
* card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 []
* Subdevices: 1/1
* Subdevice #0: subdevice #0

* pi@N9TJX-Draws:~/n7nix/bin $ ./showudrc.sh
==== Sound Card ====
udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 []
udrc is sound card #1
==== ALSA Controls for Radio Tansmit ====
LO Driver Gain L:[0.00dB] R:[0.00dB]
PCM L:[-20.00dB] R:[-20.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
==== ALSA Controls for Radio Receive ====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[Off] R:[Off]
==== Pi Ver ====
Pi 3 Model B+ 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: 0x0106
UUID: 5a56f3f8-8633-40e2-b6d6-7961de41e7f5
Vendor: NW Digital Radio

==== sys Ver ====
----- image version
2019 08 28 21:11:46 CDT: image_install.sh: image install script START
----- /proc/version
Linux version 4.19.66-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1253 SMP Thu Aug 15 11:49:46 BST 2019

----- /etc/*version: 10.0

----- /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: N9TJX-Draws
Icon name: computer
Machine ID: 4b759e4c7f8047a8b474e800d1ab08a0
Boot ID: acd9bb3830084b90a194a153cc6e5ecf
Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 4.19.66-v7+
Architecture: arm

---- modules
snd_soc_tlv320aic32x4_i2c 16384 9
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 5 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_bcm2835,snd_soc_core
snd 73728 12 snd_compress,snd_timer,snd_soc_tlv320aic32x4,snd_bcm2835,snd_soc_core,snd_pcm

Command 'apt-get install udrc-dkms' failed or was not run.

---- kernel
dpkg-query: no packages found matching udrc-dkms
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-============-============-=================================
ii raspberrypi-kernel 1.20190819-1 armhf Raspberry Pi bootloader

Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay

---- syslog

---- dmesg

---- compass
Compass preference file not found: /etc/apt/preferences.d/compass
Compass apt sources list file not found: /etc/apt/sources.list.d/compass.list
---- compass package files
ls: cannot access '/var/lib/apt/lists/archive.compasslinux.org_*': No such file or directory

----- Dire Wolf DEVELOPMENT version 1.6 C (Aug 28 2019)

==== Filesystem ====
/dev/root 29G 3.5G 25G 13% /

==== 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

# 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.19 (revision 3.19)
● gpsd.service - GPS (Global Positioning System) Daemon
Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-08-28 21:54:19 CDT; 9h ago
Process: 516 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
Main PID: 527 (gpsd)
Tasks: 3 (limit: 2200)
Memory: 1.2M
CGroup: /system.slice/gpsd.service
└─527 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0

Aug 28 21:54:19 N9TJX-Draws systemd[1]: Starting GPS (Global Positioning Sy…n...
Aug 28 21:54:19 N9TJX-Draws systemd[1]: Started GPS (Global Positioning Sys…mon.
Hint: Some lines were ellipsized, use -l to show in full.

---- chrony
crw-rw---- 1 root root 241, 0 Aug 28 21:54 /dev/pps0
crw------- 1 root root 241, 1 Aug 28 21:54 /dev/pps1
crw-rw---- 1 root dialout 239, 0 Aug 28 21:54 /dev/ttySC0
crw-rw---- 1 root dialout 239, 1 Aug 28 21:54 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS 0 3 0 - +0ns[ +0ns] +/- 0ns
#? PPS 0 3 0 - +0ns[ +0ns] +/- 0ns
^+ 159.203.158.197 2 10 377 35m -2762us[-2744us] +/- 58ms
^- satellite.gensonline.eu 2 10 377 781 -2266us[-2236us] +/- 94ms
^- vps6.ctyme.com 2 9 377 236 +7359us[+7359us] +/- 52ms
^* tara.castrovalva.org 2 10 377 584 +2140us[+2171us] +/- 31ms
-- chrony tracking
Reference ID : 2D4F0DCE (tara.castrovalva.org)
Stratum : 3
Ref time (UTC) : Thu Aug 29 12:04:19 2019
System time : 0.000001521 seconds slow of NTP time
Last offset : +0.000030475 seconds
RMS offset : 0.000163167 seconds
Frequency : 2.914 ppm slow
Residual freq : +0.000 ppm
Skew : 0.038 ppm
Root delay : 0.052745562 seconds
Root dispersion : 0.003564177 seconds
Update interval : 1038.6 seconds
Leap status : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
==============================================================================
GPS 0 0 0 +0.000 2000.000 +0ns 4000ms
PPS 0 0 0 +0.000 2000.000 +0ns 4000ms
159.203.158.197 55 24 523m -0.012 0.046 -2390us 973us
satellite.gensonline.eu 8 5 121m -0.055 0.571 -1448us 622us
vps6.ctyme.com 7 6 60m +0.864 3.569 +1530us 928us
tara.castrovalva.org 54 27 549m +0.023 0.064 +1736us 1326us

---- sensors
-rw-r--r-- 1 root root 171 Aug 28 21:22 /etc/sensors.d/draws
rpi_volt-isa-0000
Adapter: ISA adapter
in0: N/A

ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
+12V: +13.60 V
in5: +2.54 V
User ADC 1: +0.00 V
User ADC 2: +0.00 V

---- throttle
throttled=0x0
---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 0 time(s)

* Draws manager

* This installed without any issues.

* cd n7nix/config
* sudo su
* ./app_config.sh core
* reboot

* At this point I cannot see the sound card.
* I have not had a chance to see diagnose this, as I found this late last night. It took me a little while to figure out that for me the issue is running the "./app_config.sh core” command
*

73’s
Jonathan N9TJX

On Aug 29, 2019, at 6:37 AM, Mitch Winkle <ab4mw@...> wrote:

Second that notion. There is a lot of what I consider unwanted fluff in this image since I don't care about packet radio. I would really like to have a clean image with only the necessary drivers and such and then I could install my own programs, and select the HF programs that I want to use. So perhaps a "minimal" image
that gets the DRAWS functioning properly on the RPi??

On 8/29/19 2:44 AM, Jonathan Magee wrote:

Hi Mike,
I can confirm that I am powering it via the 12 volt plug. When you write up your clean install, please could you specify which version of the buster image you use....


Re: Using the DRAWS hat with a Raspberry Pi 4 #yaac #replacecompass #draws #install #js8call

Basil Gunn
 

Edouard Lafargue <ed@...> writes:

Why not just simply release a Debian "draws.deb" package that enables
the DRAWS ? This is the standard way to do that sort of stuff on
Debian/Raspbian and would avoid having to create full image instead of
using the official Raspbian distribution...
In the latest kernels supported by Raspbian (4.19.58) DRAWS hat required
drivers are in the main stream Linux kernel. You still need to load the
overlay in /boot/config.txt but other than that, thanks to Anna, DRAWS
is supported in the latest Linux kernel.

As far as the DRAWS boot images are concerned they were provided as a
convenience to provide a distribution that supports A LOT of commonly
used amateur radio Linux software. It would be nice if all those
programs were Debian packages but someone would have to step up & do
that work.

/Basil n7nix


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

 

SQL or COR is normally an open collator output from the Radio. Yaesu changed it to an I/O on some models. TNC Cable makers and some TNCs ship with cables that have pin 6 removed for this reason.

Bryan K7UDR

On Aug 28, 2019, at 7:56 PM, Bill Vodall <@wa7nwp> wrote:

Is this carefully explained somewhere? It seems a bit weird to have
to pull a pin from a data cable. (Or is it like the rPI 4 charging
cables...)


I removed pin six on one end of the mini 6 Din cable and the lost audio returned .. (on the FT 817)
Bill



Re: no transmit #wsjt-x

 

What radio model are you trying to drive?


On Thu, Aug 29, 2019, 04:34 Mitch Winkle <ab4mw@...> wrote:

sounds very much like my issue, only I have badly distored audio to the transmitter.  mine is in a box ready to be mailed back for eval.

On 8/28/19 10:08 PM, Rob Lapham wrote:
I did use Johns web app and it came up with the same values as the draws manager. I have turned  the gain up all the way and no clean tone.
the radio works fine with my other rp4 and a signal link so I think the radio is ok. also install another cable still no clean audio.
I lost
Rob k6jus