Open imoldovavan opened 4 years ago
I have no experience of running Manjaro, but did you try running "sudo ldconfig"? -- John
A few people have commented to me this libcw issue that doesn't seem to be fixed by a sudo ldconfig. I haven't seen it myself. However, I am told it does get fixed by a reboot. If you do not have a Hermes/Hermes Lite 2 and you don't want to transmit CW from the PC, you can comment out the feature in the makefile (see README).
Perhaps I should comment out the cwx #IFDEF in makefile, as I imagine remote CW is only wanted by a minority?
sudo ldconfig nor rebooting helped. I will try to compile without the cw module.
Hi, Try CW compilation setting the library installation path to /usr/lib and not /usr/local/lib
cd unixcw-3.5.1 autoreconf -i ./configure --prefix=/usr make sudo make install sudo ldconfig
reboot if necessary.
If linhpsdr still won't see the libcw library, show what the command will return ldd /full/patch/to/linhpsdr | grep libcw
I tried to remove CW per instructions. I get seg fault. I will try per above next.
[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 device[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR [ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed fo[ionut@ionut-G6 ~]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$ r discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$
transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$ local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$
GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$ devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$
discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$ s discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x560ba0e41860 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic n_input_devices=1 create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 Segmentation fault (core dumped) [ionut@ionut-G6 ~]$
Could you make a backup of your props file in:
/home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props
then after backup, delete 00-01-02-03-04-05.props.
It looks like you are trying to use alsa. I have done some work on alsa in the past few days that is in my fork here:
I am still getting seg fault error after installing CW per instructions. Reverting to previous version of linhpsdr works fine.
Ok, as the person who has been making a lot of pull requests recently, I will fix this. Can you tell me the commit ID for the previous version that works? I will look into this.
Did you try deleting the props file?
Also, which version of manjaro are you running? I'll need to know version number (e.g. 20.0) and type (e.g. KDE plasma, Gnome etc.). I will make a machine to test.
Here is the output of the version that works. Using latest version of manjaro, just updated.
[ionut@ionut-G6 linhpsdr426]$ linhpsdr Build: 2019-10-11 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discovered: received 60 bytes discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for enp1s0 discovery found 1 devices discovery: found device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 protocol2_discover: looking for HPSDR devices on enp1s0 protocol2_discover: bound to enp1s0 192.168.1.90 255.255.255.0 protocol2_disovery: thread_id=0x563f27106460 protocol2_discover: bytes read -1 protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable protocol2_discover: exiting protocol2_discover_receive_thread protocol2_discover: exiting discover for enp1s0 protocol2_discovery found 1 devices discovery: found protocol=0 device=6 software_version=40 status=2 address=192.168.1.83 (00:01:02:03:04:05) on enp1s0 main: discovery found 1 devices discovered: 0 device=6 adding Hermes Lite tree_selection_changed_cb tree_selection_changed_cb: selected=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 tree_selection_changed_cb: first=Hermes Lite,1,4.0,192.168.1.83,00:01:02:03:04:05 found 0 starting Linux HPSDR (Beta): Hermes Lite P1 v4.0 192.168.1.83 (00:01:02:03:04:05) on enp1s0 create_radio for Hermes Lite 6 loadProperties: /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic create_receiver: channel=0 sample_rate=96000 create_receiver: channel=0 frequency_min=0 frequency_max=30720000 create_receiver: buffer_size=1024 create_receiver: fft_size=2048 create_receiver: OpenChannel: channel=0 buffer_size=1024 sample_rate=96000 fft_size=2048 output_samples=512 receiver_init_analyzer: channel=0 zoom=1 pixels=0 pixel_samples=(nil) receiver_update_title: Linux HPSDR: Rx-0 ADC-0 96000 create_vfo: rx=0 rx_panadapter_configure_event_cb receiver_configure_event: gtk_paned_set_position: rx=0 position=60 height=120 percent=0.500000 audio_open_output: plughw:1,0 HD-Audio Generic audio_open_output: selected=plughw:1,0 HD-Audio Generic audio_open_output: handle=0x563f2717bfc0 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output create_transmitter: channel=8 transmitter_init_analyzer: width=0 pixels=0 update_timer: fps=10 protocol1_init Server listening on port 50000 x=309 y=187 moving main_window to x=309 y=187 rx_panadapter: resize_timeout receiver_init_analyzer: channel=0 zoom=1 pixels=1015 pixel_samples=(nil) receiver_init_analyzer: g_new0: channel=0 pixel_samples=0x563f2c08b000 SetAnalyzer id=0 buffer_size=1024 fft_size=8192 overlap=2048 tx_panadapter_configure_event: width=300 height=160 transmitter_init_analyzer: width=300 pixels=900 SetAnalyzer id=8 buffer_size=1024 overlap=3392 rx_panadapter_configure_event_cb radio_start protocol1_run protocol1 starting receive thread: buffer_size=2048 output_buffer_size=0 receive_thread: id=0x563f2703faa0 metis_restart protocol1: receive_thread FPGA firmware version: 4.0 rx_panadapter: resize_timeout receiver_init_analyzer: channel=0 zoom=1 pixels=1015 pixel_samples=0x563f2c08b000 receiver_init_analyzer: g_new0: channel=0 pixel_samples=0x563f2c08b000 SetAnalyzer id=0 buffer_size=1024 fft_size=8192 overlap=2048 output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic update_filters: new filter grid 0x563f2c1ee420 receiver_dialog: update_audio_choices: rx=0 transmitter: update_transmitter_audio_choices: tx=8 adding: plughw:1,0 HD-Audio Generic switch_page: 3 RX-0 switch_page: 3 RX-0 rx=0 receiver_dialog: update_audio_choices: rx=0 Output device changed: -1 Output device changed: 0: plughw:0,3 HD-Audio Generic (plughw:0,3 HD-Audio Generic) audio_open_output: plughw:0,3 HD-Audio Generic audio_open_output: selected=plughw:0,3 HD-Audio Generic audio_open_output: handle=0x563f2c5c0410 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output audio_open_output: plughw:0,3 HD-Audio Generic audio_open_output: selected=plughw:0,3 HD-Audio Generic audio_open_output: handle=0x563f26f91da0 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output Output device changed: 1: plughw:1,0 HD-Audio Generic (plughw:1,0 HD-Audio Generic) audio_open_output: plughw:1,0 HD-Audio Generic audio_open_output: selected=plughw:1,0 HD-Audio Generic audio_open_output: handle=0x563f2715d000 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output audio_open_output: plughw:1,0 HD-Audio Generic audio_open_output: selected=plughw:1,0 HD-Audio Generic audio_open_output: handle=0x563f2715d000 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output audio_open_output: plughw:1,0 HD-Audio Generic audio_open_output: selected=plughw:1,0 HD-Audio Generic audio_open_output: handle=0x563f26feaf00 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output Output device changed: 0: plughw:0,3 HD-Audio Generic (plughw:0,3 HD-Audio Generic) audio_open_output: plughw:0,3 HD-Audio Generic audio_open_output: selected=plughw:0,3 HD-Audio Generic audio_open_output: handle=0x563f27022550 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output audio_open_output: plughw:0,3 HD-Audio Generic audio_open_output: selected=plughw:0,3 HD-Audio Generic audio_open_output: handle=0x563f27022550 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output audio_open_output: plughw:0,3 HD-Audio Generic audio_open_output: selected=plughw:0,3 HD-Audio Generic audio_open_output: handle=0x563f27022550 audio_open_output: cannot set parameters (Cannot allocate memory) audio_close_output audio_close_output output_device: plughw:0,3 HD-Audio Generic input_device: plughw:1,0 HD-Audio Generic output_device: plughw:1,0 HD-Audio Generic update_filters: new filter grid 0x563f2c436420 receiver_dialog: update_audio_choices: rx=0 transmitter: update_transmitter_audio_choices: tx=8 adding: plughw:1,0 HD-Audio Generic radio_dialog: audio_cb: selected=1 audio: create_audio: USE_PULSEAUDIO audio: create_audio: USE_PULSEAUDIO audio: state_cb: PA_CONTEXT_AUTHORIZING audio: state_cb: PA_CONTEXT_AUTHORIZING audio: state_cb: PA_CONTEXT_SETTING_NAME audio: state_cb: PA_CONTEXT_SETTING_NAME audio: state_cb: PA_CONTEXT_READY audio: state_cb: PA_CONTEXT_READY Output: 0: alsa_output.pci-0000_00_14.2.analog-stereo (Built-in Audio Analog Stereo) Input: 0: alsa_output.pci-0000_00_14.2.analog-stereo.monitor (Monitor of Built-in Audio Analog Stereo) Input: 1: alsa_input.pci-0000_00_14.2.analog-stereo (Built-in Audio Analog Stereo) switch_page: 3 RX-0 switch_page: 3 RX-0 rx=0 receiver_dialog: update_audio_choices: rx=0 Output device changed: -1 Output device changed: -1 Output device changed: 0: alsa_output.pci-0000_00_14.2.analog-stereo (Built-in Audio Analog Stereo) audio_open_output: alsa_output.pci-0000_00_14.2.analog-stereo audio_open_output: allocated local_audio_buffer 0x563f2c62c480 size 8192 bytes
Let me know if I can give you more information.
Please can you type following commands:
mv /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props /home/ionut/.local/share/linhpsdr/bak_00-01-02-03-04-05.props
rm /home/ionut/.local/share/linhpsdr/00-01-02-03-04-05.props
Then run this latest version of linhpsdr.
program fired up. I don't see the receiver tab to set my audio.
Great, please do the following:
This annoying feature is on my list to fix.
https://www.youtube.com/watch?v=oOJ837Nu-wQ I have to delete the props file everytime. Otherwise I get core dump. Video shows that. Also the gain needs to be set a lot lower. the -20db option helped with that before.
Thanks for the video, this helps a lot. Is this a Hermes Lite and not a Hermes Lite 2?
I have a rdioberry. I should have mention that. Also I don't get the rx tab.
Ok, I've just done some testing with hpsdrsim and I can replicate the problem. Leave it with me and I will fix this.
https://www.youtube.com/watch?v=HQSCPwZkKls
One more video :)
Showing me trying to find the rx tab.
The Hermes Lite 2 sends how many receivers are supported in a discovery packet. If the discovered radio is "Hermes Lite", the discovery code reads looks for the packet. It seems the radioberry doesn't send this so linHPSDR thinks 0 receivers are supported. I can guess it is a radioberry based on firmware (and I think John was doing this but I commented it out - sorry!).
Does anyone know why the Radioberry doesn't report as a Radioberry in the discovery packet? It would make this all a lot less confusing!
Please delete props and clone this:
https://github.com/m5evt/linhpsdr
I think this fixes the problems with the Radioberry. Some tweaking may be required for some settings, I'm not very familiar with protocol differences between Radioberry and HL2.
[ionut@ionut-G6 linhpsdr]$ linhpsdr Build: 2020-04-26 Beta GTK+ version 3.24.17 sysname: Linux nodename: ionut-G6 release: 5.6.7-1-MANJARO version: #1 SMP PREEMPT Thu Apr 23 10:50:31 UTC 2020 machine: x86_64 opengl: 0 Creating wisdom file: /home/ionut/.local/share/linhpsdr/ discovery protocol1_discovery discover: looking for HPSDR devices on lo discover: bound to lo discover_receive_thread discovery: bytes read -1 discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable discovery: exiting discover_receive_thread discover: exiting discover for lo discover: looking for HPSDR devices on enp1s0 discover: bound to enp1s0 discover_receive_thread discover: sendto socket failed for discovery_socket : Operation not permitted
after a reboot it fired up... still testing
It acts the same. No rcvr tab; Need to delete props file for no core dump;
Thanks for your patience with this. I'm hoping this was a simple error on my part. Please either reclone or simply change line 205 or protocol1_discovery.c to:
if (discovered[devices].software_version < 42) {
I now have a better understanding of the difference between a radioberry and an HL2. In summary, with an up to date radioberry, there should be very little difference.
It seems you are using an old version of the radioberry. Although the current linHPSDR code should work with this now, I think your user experience would be much better if you upgrade to the latest version of radioberry firmware/gateware. The LNA functionality will be much better, panadapters are scaled correctly for LNA setting. This will also allow you to use CWX (remote CW) if you wish.
I am runing Manjaro (Arch): Linux ionut-G6 5.5.16-1-MANJARO #1 SMP PREEMPT Wed Apr 8 10:07:00 UTC 2020 x86_64 GNU/Linux
[ionut@ionut-G6 bin]$ linhpsdr linhpsdr: error while loading shared libraries: libcw.so.6: cannot open shared object file: No such file or directory [ionut@ionut-G6 bin]$ which libcw.so.6 /usr/local/lib/libcw.so.6
Program can't find the libcw.so.6 library, even after I added the /usr/local/lib path.