pihpsdr icon indicating copy to clipboard operation
pihpsdr copied to clipboard

Problem with pihpsdr v2.0.0-rc7

Open UN7RX opened this issue 4 years ago • 10 comments

Good day! I had version 1.2.3. I updated pihpsdr to version v2.0.0-rc7. The program has stopped starting. It does not start at all, when the pihpsd button is pressed, nothing happens on the desktop. I completely deleted the pihpsdr directory and installed v2.0.0-rc7. Nothing has changed, it still does not start. Version 1.2.3 is working fine. What could be the problem? Raspberry OS version updated to latest release. RBi 4B

UN7RX avatar Apr 18 '20 21:04 UN7RX

Hi, Please, run pihpsdr in the console and show logs. Pihpsdr v2.x.x works for me correctly on RPI4, Odroid N2, Kubuntu x86_64 and Linux Mint 19.2 x86_64 Do you have i2c enabled on RPI4? It is required in Pihpsdr v2.x.x with active GPIO support

sq8mvy avatar Apr 23 '20 15:04 sq8mvy

You may also want to try removing any existing props files As there have been several changes in the latest test version.

g0orx avatar Apr 23 '20 15:04 g0orx

Hi! File in home / pi / pihpsdr / log folder? At first there was information in the log that there were insufficient permissions to run the usr / bin / pihpsdr file. I changed the permissions to 755. Now the following information is in the log: / usr / local / bin / pihpsdr: error while loading shared libraries: libi2c.so.0: cannot open shared object file: No such file or directory

In RBi I2C settings - enable

UN7RX avatar Apr 23 '20 17:04 UN7RX

hmm, weird... Check if it changes anything: sudo ldconfig -v

For problems, run pihpsdr in the console. You will see all the information pihpsdr provides. Find the libi2c.so library (it will probably be somewhere in / usr / lib) and all the links to it. If the link libi2c.so.0 to libi2c.so is missing, create it manually. Check the permissions of the device /dev/i2c-1 or /dev/i2c-2 I could have slightly confused the i2c device names and provided the incomplete libi2c library name. I don't have RPI4 with me so I write from memory

sq8mvy avatar Apr 23 '20 17:04 sq8mvy

It sounds like you are running an old version of Raspbian. I would suggest 3 things:

  1. Update to latest Raspbian,
  2. Delete or rename the existing pihpsdr directory.
  3. Extract the tar file to create a new pihpsdr directory and run the install.sh script.

Then try running pihpsdr again.

g0orx avatar Apr 23 '20 17:04 g0orx

Good afternoon! I had the latest version of Raspbian Stretch. I deleted it and installed Raspbian Buster. I re-installed pihpsdr 2.0-rc7 and it immediately started! Thank you so much for your help! One more question, is it normal that the program freezes if I choose the NR2 noise canceller?

UN7RX avatar Apr 24 '20 06:04 UN7RX

Hi, Raspbian Stretch does not support RPI4 hardware, but will run on it.

One more question, is it normal that the program freezes if I choose the NR2 noise canceller?

For me NB, NB2 and NR, NR2 do not freeze pihpsdr.

sq8mvy avatar Apr 24 '20 09:04 sq8mvy

NB, NB2 and NR working good , problem is only NR2...

UN7RX avatar Apr 24 '20 09:04 UN7RX

The NR2 problem is fixed in the source code. I will try to push an updated binary version on soon.

g0orx avatar Apr 24 '20 11:04 g0orx

Hello! My program still hangs when I turn on the NR2. Rb PI 4, 4Gb memory. The Raspbian version is the latest, with updates. Nothing but OS and piHPSDR installed. Someone solved this problem? v2.0.8-rc1

UN7RX avatar Apr 24 '22 05:04 UN7RX