Cannot launch LinHPSDR or PiHPSDR on Raspberry Pi 3B+

337 views
Skip to first unread message

N7IHQ

unread,
Mar 22, 2021, 2:35:17 PM3/22/21
to Hermes-Lite
I compiled and installed LinHPSDR on my Raspberry Pi 3B+ running the latest Raspberry OS. When I launch LinHPSDR, my Hermes-Lite 2 is discovered but I get a warning message on the display "No Data - receiver thread exited". I tried PiHPSDR and the discovery screen freezes. LinHPSDR works fine using my Lenovo laptop running Ubuntu 20.04. Any suggestions how to fix this problem?

Thanks!

Jim N7IHQ

Matthew

unread,
Mar 22, 2021, 3:49:07 PM3/22/21
to Hermes-Lite
This is a curious problem. I know others have used the rpi with linHPSDR. The fact that piHPSDR doesn't work suggests it is maybe something about the configuration of the pi? Did you follow these instructions?

Discovery is on a different port to the main RX data, but I would be surprised if an rpi firewall was blocking one port and not the other. Do you get any error messages from the command line that might provide some hints?

I believe both quisk and SparkSDR should work on the rpi. Can you get either of these to work?

73 Matthew M5EVT.

Roger David Powers

unread,
Mar 23, 2021, 9:08:18 AM3/23/21
to Hermes-Lite
I can say I built both pihpsdr and linhpsdr from source early February on RPi4b (not RPi3b) and did not see these issues.

I did not find I had to change firewall settings.

Regards,
RDP

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/3b7cff20-64d4-42e3-b553-9d8edf5eecdbn%40googlegroups.com.

ron.ni...@gmail.com

unread,
Mar 23, 2021, 2:03:53 PM3/23/21
to Hermes-Lite
Can you ping the Discovery address of the HL2?
Also you might try the python command-line tool on GitHub:
to see if hermeslite.py can discover and inspect your HL2's DNS settings.
73,
Ron
n6ywu

Matthew

unread,
Mar 23, 2021, 3:35:53 PM3/23/21
to Hermes-Lite
If linHPSDR shows the device in the list at discovery (which Jim says it does), this means the HL2 is responding to a discovery packet.

73 Matthew M5EVT.

N7IHQ

unread,
Mar 23, 2021, 7:48:03 PM3/23/21
to Hermes-Lite
Thanks for your help. I used the LinHPSDR build instructions on the G0ORX and M5EVT GitHub pages. I installed Quisk and had the same problem. No receive data or waterfall display. I had the same result when I installed LinHPSDR on another Raspberry Pi 3B. I will try the DL1YCF scripts next.

Jim N7IHQ

Alan Hopper

unread,
Mar 24, 2021, 2:43:29 AM3/24/21
to Hermes-Lite
Hi Jim,
discovery working but then no data is generally a sign of a network issue.  The discovery works differently to other communication with the radio and it is possible for one to work and not the other. Ron's suggestion of pinging the the ip reported during discovery should indicate if this is the problem. What is your network setup?  Is the HL2 on the same network that worked with the laptop, if so is the pi on the same subnet? Are you connecting through a switch with DHCP somewhere on your network, this is the recommended setup, connecting with a direct cable can be more tricky.
73 Alan M0NNB 

N7IHQ

unread,
Mar 24, 2021, 6:17:17 PM3/24/21
to Hermes-Lite
Thanks for your suggestions Alan. It is definitely a network problem with the Raspberry Pi. I do not get a response when I ping the Hermes Lite address from the Raspberry Pi but I get a response from a ping with the laptop. The Raspberry Pi and Hermes Lite are connected using ethernet cables to a 4 port WiFi router. My laptop that works with the Hermes Lite is connected to the router using WiFi. The Raspberry Pi and laptop IP addresses are 192.168.X.XX and the Hermes Lite IP address is 169.254.XX.XXX.

Thanks,

Jim N7IHQ

Steve Haynal

unread,
Mar 24, 2021, 8:13:16 PM3/24/21
to Hermes-Lite
Hi Jim,

It looks like your HL2 is not being assigned an address via DHCP. Do you have a DHCP server on that network? What is the status of the LEDs?

73,

Steve
kf7o

ron.ni...@gmail.com

unread,
Mar 25, 2021, 2:12:20 AM3/25/21
to Hermes-Lite
Try power cycling the both the router and the HL2, wait a minute or so, and see if the HL2 picks up a DHCP address in the 192.168.x.xx range.

Roger David Powers

unread,
Mar 25, 2021, 7:08:09 AM3/25/21
to Hermes-Lite

Yes, and if that does not work, you may want to go through the troubleshoot network page from our wiki at https://github.com/softerhardware/Hermes-Lite2/wiki/Troubleshoot-Network ...

It seems the discovery is working because it uses a broadcast packet so HL2 will respond as long as there is physical connectivity.

Most programs will display the radio's address so you know if it got a DHCP address or not.

I'm interested to know the final outcome...

Regards,
RDP

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit

N7IHQ

unread,
Mar 25, 2021, 6:19:45 PM3/25/21
to Hermes-Lite
Try power cycling the both the router and the HL2, wait a minute or so, and see if the HL2 picks up a DHCP address in the 192.168.x.xx range.

Thanks for your suggestion. After power cycling the HL2, the IP address changed to 192.168.x.xx. After starting the radio, I have a waterfall display. I do not have receive audio with the PulseAudio setting, but I am making progress.

Jim N7IHQ

Roger David Powers

unread,
Mar 28, 2021, 12:22:45 PM3/28/21
to Hermes-Lite
Our software wiki page ( https://github.com/softerhardware/Hermes-Lite2/wiki/Software ) gives a link to the LinHPSDR user's guide which I am pretty confident will give you tips on how to resolve the audio issue for it.  Basically, set up audio as you think it should be, enable AGC, change the gain a bit, audio starts.  Not sure why this is needed, but it worked for me. 

Personally I found the performance using PulseAudio connected to RPi4b headphones was unacceptable, using Alsa directly worked far better.  I also found acceptable performance by using RPi4b to generate audio via pulse to a second computer.

 PiHPSDR worked right out of the box with regard to audio.  There also are some links in our software wiki page for it that may be helpful.

Regards,
RDP 

On Thursday, March 25, 2021, 08:04:39 PM EDT, N7IHQ <jim.g....@gmail.com> wrote:
Thanks for your suggestion. After power cycling the HL2, the IP address changed to 192.168.x.xx. After starting the radio, I have a waterfall display. I do not have receive audio with the PulseAudio setting, but I am making progress.

Jim N7IHQ

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit
Reply all
Reply to author
Forward
0 new messages