¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: 'Error starting HPSDR hardware, is it connected and powered?'

 

Hi David,
Wrong forum for HL2 & PowerSDR !
Why not just use the setting for 'Reuse Last IP Address' rather than 'Use Static IP Address' because if you are on a local network with DHCP on the router, then the IP assigned may change and then the fixed IP won't work.

Anyway, better to post in the HL2 forum here


Nigel, G4ZAL


'Error starting HPSDR hardware, is it connected and powered?'

David Parker
 

New to Hermes Lite 2 after just receiving the radio last week.? Currently trying to install software.? I would like to use "PowerSDR_mRX_PS_v3.4.9.0" as my software.? But I keep getting the error in the heading of this post.? I've found the IP of the radio and entered it under the tab General/Hardware Config.? Any idea why I keep getting the error?


quisk becomes unresponsive when using a ptt keyboard short cut

 

I've had this issue for a while, but I need to see if I can get it fixed. I have set the PTT key to ord(' ') and I get the following repeated in the terminal:?

wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ../src/unix/utilsx11.cpp(2632) in wxGetKeyStateGTK(): Unsupported key, only modifiers can be used
Traceback (most recent call last):
? File "/usr/lib64/python3.11/site-packages/wx/core.py", line 3427, in <lambda>
? ? lambda event: event.callable(*event.args, **event.kw) )
? ? ? ? ? ? ? ? ? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
? File "/usr/local/lib64/python3.11/site-packages/quisk/quisk.py", line 6304, in OnReadSound
? ? elif self.hot_key_ptt_active and not wx.GetKeyState(conf.hot_key_ptt1):
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ../src/unix/utilsx11.cpp(2632) in wxGetKeyStateGTK(): Unsupported key, only modifiers can be used
Traceback (most recent call last):
? File "/usr/lib64/python3.11/site-packages/wx/core.py", line 3427, in <lambda>
? ? lambda event: event.callable(*event.args, **event.kw) )
? ? ? ? ? ? ? ? ? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
? File "/usr/local/lib64/python3.11/site-packages/quisk/quisk.py", line 6304, in OnReadSound
? ? elif self.hot_key_ptt_active and not wx.GetKeyState(conf.hot_key_ptt1):

The same thing happens when I use any other key for the short cut. I am on Fedora 37 and installed quisk using pip.


Re: xdemorse

 

Dick.
Pictures says more than words. Here is a screenshot with xdemorserc and quisk sound setup.
I have only modified xdemorserc in one place. old was:? hw:0 edited to: hw:1
The system sound is at maximum and sound from quisk is controlled by volume slider.
The decoder is very picky about the morse code pitch. (higher than I prefer)
Decoding is about the same as fldigi can do. The best cw-decoder is located between your ears :-)?
I am slowly relearning cw after 40 years hiatus from ham-radio.
73 de oz9ny, niels


Re: xdemorse

 

Niels, Thank you for your response.? How are you routing the cw audio from Quisk to xdemorse?? That is where I am having problems.

73 Dick w1up


Re: xdemorse

 

Hi Dick
No, but I just had to try xdemorse :-)

First I tried installing with sudo apt-get install xdemorse just to find out that I couldn't find xdemorserc. So I installed from source and here is my steps:

download source from https://packages.debian.org/sid/xdemorse

wget http://deb.debian.org/debian/pool/main/x/xdemorse/xdemorse_3.6.5.orig.tar.bz2

# unpack
tar -xf xdemorse_3.6.5.orig.tar.bz2
cd xdemorse-3.6.5/

./configure.sh
make
sudo make install

cd
mkdir .xdemorse

cp /usr/local/share/examples/xdemorse/* /home/username>/.xdemorse
# !* replace <username> with your linux username *!

the file xdemorserc should be in /home/username>/.xdemorse

In xdemorserc I changed soundcardname from hw:0 to hw:1
I managed to decode some strong signals but I have to dig further into the linux sound system to get a more reliable reception.

73 de oz9ny, niels


xdemorse

 

Is anyone running xdemorse with an HL-2?? I am having problems with routing the audio from quisk to xdemorse.? Any help or ideas will be appreciated .
Thanks, Dick w1up


Re: External com devices using CAT

 

Thanks Jim,

Somewhat unrelated. I do have hamlib rig 2 setup in cqrlog and it is working fine. I also gave JS8call a try for the first time but couldn¡¯t get hamlib to work there so used the serial port from quisk and it worked. ? As of last night I upgraded to the latest hamlib and they¡¯re both working now. ?


The serial port interface is going to run the lpf on two amplifiers. ?Using the ldmos big amp at only 35 to 50 watts out is terribly inefficient! ?Going build another 100 watt amp using Jim Veatch boards with an enormous heatsink just for digital modes.


Re: External com devices using CAT

 

Now I understand. The serial CAT was designed to communicate with other programs such as?N1MM+ or WSJT-X. So it creates a virtual serial port with one end connected to Quisk and the other end to the program. This won't work with a real serial port on Linux. Linux users generally use Hamlib rig 2 for CAT. This uses a network connection. Or they use the Fldigi XML protocol.

It should be fairly easy to connect the current logic to a real serial port. I will add the feature to the next release.

Jim
N2ADR


Re: Segmentation faults with remote mode

 

The remote segfaults are definitely network or cpu lag related. Since I'm running quisk in an ubuntu VM on my control laptop, sometimes it will struggle when plugged into my huge monitor and it's drawing a ton of pixels. This lag will crash the remote. Also when my daughter decides she wants to play minecraft while watching a 4k movie and the wife is using SMB over a VPN while on a work video conference... ?well?you get the picture.

I also found that although the remote was set-up to sample at 96khz bandwidth, the audio was garbled and unintelligible. Switching the audio card on the remote to 48khz fixed that and helped tremendously with the seg faults. I have been able to run for up to an hour without a crash. I'd definitely?like to get it back to 96khz or the full 192khz eventually, so I may dig into understanding the remote/control buffers at some point. I also may put a network switch in my garage eventually, even though the remote is 5ft from a ubiquity WAP.

-Eric
WW4ET



On Thu, Jan 5, 2023 at 2:17 AM Gisle Vanem <gvanem@...> wrote:

Not sure it's related, but one cause of crash on Windows, was this illegal ptr to free():

--- orig-quisk-4.2.15/quisk.c 2022-12-20 22:26:07
+++ quisk.c                   2023-01-05 07:16:17
@@ -3101,7 +3101,7 @@
                return NULL;
        wisdom = fftw_export_wisdom_to_string();
        pyBytes = PyByteArray_FromStringAndSize(wisdom, strlen(wisdom));
-       free(wisdom);
+       fftw_free(wisdom);
        return pyBytes;
 }

(I hope does not massacre the above Markdown).


Re: Segmentation faults with remote mode

 

Not sure it's related, but one cause of crash on Windows, was this illegal ptr to free():

--- orig-quisk-4.2.15/quisk.c 2022-12-20 22:26:07
+++ quisk.c                   2023-01-05 07:16:17
@@ -3101,7 +3101,7 @@
                return NULL;
        wisdom = fftw_export_wisdom_to_string();
        pyBytes = PyByteArray_FromStringAndSize(wisdom, strlen(wisdom));
-       free(wisdom);
+       fftw_free(wisdom);
        return pyBytes;
 }

(I hope groups.io does not massacre the above Markdown).


Re: External com devices using CAT

 
Edited

Jim,

I should clarify I have the arduino connected to ttys0 physical comport of the computer and just need to read the current frequency in quisk.?

I am a little confused about how this works. ?I only need to read the frequency from quisk on the serial port as if my arduino was connected to the CAT serial on a physical radio. ?Is this not possible?


Re: Segmentation faults with remote mode

 

I am worried about these segmentation faults. Eric and Ben see them. But Graeme and I do not. I can't fix it if I can't produce the fault. My remote is on the LAN, not WiFi so maybe that is a problem. It does seem that gdb is the best tool.

It would help if I knew the hardware used (SoftRock, HL2,...) and the OS (Linux, Windows), and the network (LAN or WiFi). Ben is local, so if he can reliably see the fault maybe I can come over and have a look.

Jim
N2ADR


Re: Quisk Version 4.2.15 January 2022

 

Thank you Jim,

It works beautifully! I can now run a KiwiSDR on my web browser and Quisk with pulse giving me the ability to switch between either receiver (or both) helping me to beat my S8 local noise. My station is getting fairly automated now in terms of connecting up. I have a control box which is driven from a server written in Python on my remote Rpi4 that allows me to turn on the equipment in my shack individually and prime my antenna tuner for a tune cycle when RF appears plus receiving a signal from the tuner when tune cycle is complete to go to normal transmission. My operating position has a client app written in Qt6 which I am in the process of converting to PySide6 which sends the control signals to the control box via the Rpi4 and python server and the tune button. When the controller's tune button is clicked to prime the tuner, I send a CAT command to Quisk to operate the spot button and turn it off again when tune complete. I have not had to touch a line of your code, nor that of the HL2 so congratulations on such a well thought out system with all the hooks I need to get the result I want -- ditto for HL2

73, Graeme ZL2APV


Re: Quisk Version 4.2.15 January 2022

 

¿ªÔÆÌåÓý

Thanks Jim, from a Linux user.? I'm curious what you did to improve pulseaudio speed.

73,

Rob

KL7NA

On 1/4/23 10:49 AM, jimahlstrom via groups.io wrote:
CAUTION: This email originated from outside the Walla Walla University email system.

The Alsa sound driver and the Windows sound driver with the "Fast Sound" option are fast enough to produce a useful sidetone for CW operation. I improved the PulseAudio sound driver to produce a fast sidetone too.

Jim
N2ADR
-- 
Rob Frohne,PhD PE
Professor
School of Engineering
Walla Walla University
204 S. College Ave.
College Place, WA 99324

Excellence in Thought ? Generosity in Service ? Beauty in Expression ? Faith in God


Re: External com devices using CAT

 

Quisk reads Hamlib commands from the serial port. It does not send Hamlib commands. If you want to send Hamlib commands you need to program the required commands into your custom hardware file.

Jim
N2ADR


Quisk Version 4.2.15 January 2022

 

The Alsa sound driver and the Windows sound driver with the "Fast Sound" option are fast enough to produce a useful sidetone for CW operation. I improved the PulseAudio sound driver to produce a fast sidetone too.

Jim
N2ADR


Re: Quisk 4.2.14 installation fails on Raspberry PI with Python 3.9

 

I have also used the same method as Graeme without a problem.
One caution if using freedv -- the version included is for x86_64 and not for Pi4 or any other ARM SBC.

"git clone build and install then remove freedvpkg/lib* and copy /usr/local/lib/libcodec2* to freedvpkg/ of the quisk source package if you need to "make soapy3".
73 ... Sid.

On 29/12/2022 07:37, Graeme Jury wrote:
Hello Joerg,

If you have read my response to Eric re: segmentation fault you will see that I am using Rpi4 with python 3.9. To set Quisk up I downloaded the tar.gz version of quisk from and compiled with "make quisk3". It simply runs for me and I followed up the instructions to set it up as my remote. Something which is a little unclear (and I should make some instructions) is which items are controlled from the remote end and which are set from the control head end, e.g. the s-meter offset. I have always used the tar.gz and compiled with my running version of python on every computer that I have and suggest that it may be a solution for you as I can assure you that python 3.9 and Rpi4 and Quisk really does work.

73, Graeme ZL2APV
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


External com devices using CAT

 

All,

I am trying to setup quisk to communicate via ttyS0 to an external device (arduino) to control my amplifiers LPF's.? I have my user name in the dial out already.? In the remote menu I have set up CAT to /dev/ttyS0 which is a real serial port and have it connected to the arduino but I cannot get it to do anything.? The arduino is programed with ok1cdj code for band decoding and I have tested it with my picastar which emulates a TS2000 for CAT and it works so I know the arduino is working.? Since quisk uses flex cat commands I figured this would work.? When I loaded the sketch to the arduino I also changed the baud rate to 9600 following the instruction in quisk.? Serial port shows being set to 9600 also.

I really would appreciate some help with this.? I sure hope this is possible and I am likely missing something here hopefully just in the way I have the serial port setup in quisk.?


Thank you
Ryan
KK6DZB


Hot key from control end

 

I am using quisk version 4.2.12 in remote mode. The hot key at the control end changes the PTT button to red but doesn't key the transmitter. I changed the code in OnReadSound in quisk.py to fix it.

Maybe there is a better way, but this gets it going.


if ptt is True and not ptt_button_down:
self.SetPTT(True)
# code added to set remote PTT when hot key pressed Don Magee
if application.remote_control_head:
application.Hardware.RemoteCtlSend('PTT' + ';1\n')
elif ptt is False and ptt_button_down:
self.SetPTT(False)
if application.remote_control_head:
application.Hardware.RemoteCtlSend('PTT' + ';0\n')


Don Magee