Langstone - Portsdown Convergence

Forum for discussion about the Langstone Microwave Transceiver that shares some features with the Portsdown. Wiki: https://wiki.microwavers.org.uk/Langstone_Project
User avatar
G1LPS Terry
Posts: 198
Joined: Mon Mar 10, 2008 10:33 pm

Re: Langstone - Portsdown Convergence

Post by G1LPS Terry » Thu May 21, 2020 6:56 pm

Just tested tx
SR upto 4000 at 8psk working for me.
contest numbers are also working.
doesnt pick up my station ID. Transmission displays "BATC" instead.
Super to see that it can already TX.

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Langstone - Portsdown Convergence

Post by G8GKQ » Fri May 22, 2020 4:03 pm

Terry's problem was due to a major bug in the update routine of the Portsdown A27 software. Please do not update your Portsdown on Langstone until I fix it. Later this evening I hope!

Dave, G8GKQ

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Langstone - Portsdown Convergence

Post by G8GKQ » Fri May 22, 2020 8:57 pm

OK

I have fixed the bug, but you'll need to manually upgrade using the procedure below, or build a new card. My apologies.
  • Start up your Langstone and switch to Portsdown mode.
  • Log in by SSH
  • Paste in the following lines, one at a time:

Code: Select all

cd /home/pi
killall rpidatvgui
wget https://raw.githubusercontent.com/davecrump/portsdown-a27/master/update.sh -O /home/pi/update.sh
chmod +x /home/pi/update.sh
/home/pi/update.sh -d
The Langstone/Portsdown should then update and reboot. You will then be able to perform future updates from the Touchscreen (Menu 3, Check for Updates).

I note that GitHub have been having some difficulties this evening, so you may want to wait until tomorrow to try this.

73

Dave, G8GKQ

G4FKK
Posts: 135
Joined: Sun May 05, 2019 12:15 pm

Re: Langstone - Portsdown Convergence

Post by G4FKK » Sat May 23, 2020 9:58 am

Hi Dave,

I've done the manual upgrade. I notice 'Check for Updates'' on M3 has 'Force Update' and 'Dev Update' options. Would it help if I tested one or both of those for you?

73, Martin - G4FKK

User avatar
i2NDT
Posts: 160
Joined: Thu Nov 12, 2015 9:26 pm

Re: Langstone - Portsdown Convergence

Post by i2NDT » Sat May 23, 2020 10:03 am

ciao Dave,
I updated a few minutes ago and got these warnings:

inflating: longmynd-master/udp.c
inflating: longmynd-master/udp.h
CC main.c
main.c: In function ‘process_command_line’:
main.c:142:17: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(config->status_fifo_path, argv[param], 128);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:152:17: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(config->status_fifo_path, argv[param], 128);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:156:17: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
strncpy(polarisation_str, argv[param], 8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:136:17: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
strncpy(config->ts_ip_addr,argv[param++], 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:146:17: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
strncpy(config->status_ip_addr,argv[param++], 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD longmynd
Installing adf4351
cc -Wall -g -O2 -Wno-unused-variable -o adf4351 adf4351.c ctladf4351.c -lm -lrt
-lpthread -lwiringPi
In file included from adf4351.c:75:
adf4351.c: In function ‘adf4350_set_freq’:
adf4351.h:88:44: warning: result of ‘9 << 29’ requires 34 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
#define ADF4350_REG2_NOISE_MODE(x) ((x) << 29)
^~
adf4351.c:405:30: note: in expansion of macro ‘ADF4350_REG2_NOISE_MODE’
ADF4350_REG2_MUXOUT(0x7) | ADF4350_REG2_NOISE_MODE(0x9)));
^~~~~~~~~~~~~~~~~~~~~~~
Installing keyedtx
gcc main.c timer.c -o keyedtx -lwiringPi -lpthread -lrt
gcc main.c timer.c -o keyedtxtouch -lwiringPi -lpthread -lrt
Installing atten
cc -Wall -g -O2 -Wno-unused-variable -o set_attenuator pe4312.c pe43713.c hmc111
9.c set_attenuator.c -lm -lrt -lpthread -lwiringPi

Rebooting
pi@raspberrypi:~ $

Claudio
i2NDT Claudio
Dalmine, Italia

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Langstone - Portsdown Convergence

Post by G8GKQ » Sat May 23, 2020 10:11 am

Martin - yes please (if you're prepared to rebuild if it all goes horribly wrong!).

Claudio - Thanks, yes they've tightened up the checking on the compiler since those apps were written. No problems, just highlighting slightly less than ideal programming practice. In fact there are a number of other warnings in my parts of the code that that I am working to avoid by improving the code. All normal!

Thanks, Dave

g8gtz
Posts: 1733
Joined: Wed Apr 07, 2010 6:26 pm

Re: Langstone - Portsdown Convergence

Post by g8gtz » Sat May 23, 2020 10:26 am

The update went OK for me but still got a blank screen with all of the LongMynd players. Listening GB3AW ;)

Noel

G4FKK
Posts: 135
Joined: Sun May 05, 2019 12:15 pm

Re: Langstone - Portsdown Convergence

Post by G4FKK » Sat May 23, 2020 10:39 am

Both update options worked fine - as far as I can tell. No rebuild required :)

I'll plug up the Minitiouner next and do some more playing with Portsdown.

73, Martin - G4FKK

G4FKK
Posts: 135
Joined: Sun May 05, 2019 12:15 pm

Re: Langstone - Portsdown Convergence

Post by G4FKK » Sat May 23, 2020 11:00 am

I managed to get a picture from QO100 using the VLC player Noel. There was a strong 333 signal on 10499000. Seems to have gone now.

Martin - G4FKK
g8gtz wrote:
Sat May 23, 2020 10:26 am
The update went OK for me but still got a blank screen with all of the LongMynd players. Listening GB3AW ;)

Noel

G4FKK
Posts: 135
Joined: Sun May 05, 2019 12:15 pm

Re: Langstone - Portsdown Convergence

Post by G4FKK » Sat May 23, 2020 11:07 am

I'm getting the sound from the beacon but no picture.

MER = 6.6 (4.7 needed).

Very wobbly picture but no sound using Mplayer.

Audio but no picture using OMX player.

73 Martin - G4FKK

Post Reply

Return to “The Langstone Microwave Transceiver”