Latest build: after reboot frozen screen

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
ON1AVO
Posts: 41
Joined: Sun Nov 20, 2011 2:35 pm

Re: Latest build: after reboot frozen screen

Post by ON1AVO » Wed Aug 19, 2020 1:44 pm

Colin,

In my first post I already listed the ps -ax Langstone services, here are those from the Langstone only build:
700 tty1 S+ 0:00 /bin/bash /home/pi/Langstone/run
757 tty1 Sl+ 0:41 python /home/pi/Langstone/Lang_RX.py
762 tty1 S+ 0:00 /home/pi/Langstone/GUI
So I'm missing the Lang_TX.py
./ stop and ps -ax: all 3 above mentioned services are gone

pi@raspberrypi:~/Langstone $ python Lang_TX.py &
[2] 860
pi@raspberrypi:~/Langstone $ ERROR: Open unlocked: -16
Traceback (most recent call last):
File "Lang_TX.py", line 227, in <module>
main()
File "Lang_TX.py", line 219, in main
tb = top_block_cls()
File "Lang_TX.py", line 49, in __init__
self.pluto_sink_0 = iio.pluto_sink('ip:pluto.local', 1000000000, 528000, 2000000, 0x800, False, 0, '', True)
File "/usr/lib/python2.7/dist-packages/gnuradio/iio/iio_pluto_sink_swig.py", line 126, in make
return _iio_pluto_sink_swig.pluto_sink_make(*args, **kwargs)
RuntimeError: Unable to create buffer: -16

pi@raspberrypi:~/Langstone $ python Lang_RX.py &
[2] 861

ps -ax: only 871 pts/0 S 0:00 python Lang_RX.py is listed

pi@raspberrypi:~/Langstone $ ./GUI &
[2] 876
pi@raspberrypi:~/Langstone $ Warning: the blks2.selector block is deprecated.
gr::log :INFO: audio source - Audio sink arch: alsa
len(audio_taps) = 231
Unable to refill buffer: Connection timed out

ps -ax: only Lang_RX.py and ./GUI are listed

It seems I have a problem with the Lang_TX.py task not starting due an error.

73 Freddy
73 de ON1AVO
Freddy

DL5BCA
Posts: 185
Joined: Tue Jun 30, 2020 11:59 am

Re: Latest build: after reboot frozen screen

Post by DL5BCA » Wed Aug 19, 2020 1:57 pm

Hi Freddy,

you have taken the OS (see attachment) as the basis for the installation.

If this does not work despite a correct installation, then the best thing to do is to use a new SD card.

For me it works without any problems.
Attachments
PI-OS-Lite.jpg
PI-OS-Lite.jpg (42.85 KiB) Viewed 6634 times
I always have crazy ideas.
Please don't be surprised.

User avatar
ON1AVO
Posts: 41
Joined: Sun Nov 20, 2011 2:35 pm

Re: Latest build: after reboot frozen screen

Post by ON1AVO » Wed Aug 19, 2020 2:11 pm

Thomas,

Yes this is the version I use to build the SD card.
I tried already 3 different 16GB class 10 SD cards of different vendors: Sandisk, Kingston and Transcend.

73 Freddy
73 de ON1AVO
Freddy

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

Re: Latest build: after reboot frozen screen

Post by G8GKQ » Wed Aug 19, 2020 2:21 pm

g0mjw wrote:
Wed Aug 19, 2020 12:06 pm
Secondly, the beta for the brave firmware needs the force compliant H264/265 checkbox set and saved to flash.
Mike - Not sure this applies to the rtmp input used by Portsdown. Or does it? Not relevant to Freddy's problem anyway.


Dave

g0mjw
Posts: 2568
Joined: Sat Sep 20, 2014 9:15 am

Re: Latest build: after reboot frozen screen

Post by g0mjw » Wed Aug 19, 2020 2:25 pm

Hi Dave,

SDR Console does not work without it so it may well be relevant.

Mike

DL5BCA
Posts: 185
Joined: Tue Jun 30, 2020 11:59 am

Re: Latest build: after reboot frozen screen

Post by DL5BCA » Wed Aug 19, 2020 2:29 pm

Hi Freddy,

I just looked at the picture of you. With such a USB sound card it doesn't work for me either.

I have the following USB sound card: https://www.rasppishop.de/USB-Soundkarte-Soundadapter
I always have crazy ideas.
Please don't be surprised.

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

Re: Latest build: after reboot frozen screen

Post by G8GKQ » Wed Aug 19, 2020 2:41 pm

Hi Freddy

Is that the same sound card as you mentioned in your first post?

Code: Select all

- Bus 001 Device 004: ID 1b3f:2008 Generalplus Technology Inc.
Doesn't look like it to me - but I may be wrong.

Dave

User avatar
ON1AVO
Posts: 41
Joined: Sun Nov 20, 2011 2:35 pm

Re: Latest build: after reboot frozen screen

Post by ON1AVO » Wed Aug 19, 2020 4:20 pm

Dave,

Yes it is.
On https://wiki.microwavers.org.uk/Langsto ... io_Adapter it is described as a working one, so it should be OK.

73 Freddy
73 de ON1AVO
Freddy

g4eml
Posts: 752
Joined: Thu Apr 26, 2018 9:36 am

Re: Latest build: after reboot frozen screen

Post by g4eml » Wed Aug 19, 2020 5:37 pm

Freddy,

Yes your problem is that for some reason Lang_TX.py is not starting. Nothing has changed in that file for some time and my tests yesterday show that it is still working OK. If you have done a fresh build as I did then it should behave the same.

So you need to find out why it is not working on your system.

The error message seems to be coming from the iio library which handles the communication to the Pluto. Like most error messages it is not much help.

One thought, is your Ethernet network on a different subnet? If it was also on 192.168.2.x it might cause a problem as it would clash with the Pluto.

One other possibility is that the ‘For the Brave’ firmware is causing some problem. I don’t think that it should as I am fairly sure that is what I am using. If you still have the original firmware it might be worth reloading that just in case.

Colin.

g0mjw
Posts: 2568
Joined: Sat Sep 20, 2014 9:15 am

Re: Latest build: after reboot frozen screen

Post by g0mjw » Wed Aug 19, 2020 5:54 pm

I will just re-iterate, it you do not have the force compliant box checked in Beta for the Brave, the Pluto does odd things with SDR Console and it might be the same problem here.

Mike

Post Reply

Return to “The Langstone Microwave Transceiver”