开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

USB reconnection to QMX+ after PC restart


 

Hello all,

I typically run my QMX+ in digital modes from a little Beelink S13 mini PC running Win11 that is "headless" and that I use over a remote desktop connection.

Whenever I reboot the mini PC, with the QMX+ remaining powered, I lose USB connectivity to the QMX+.? This is remedied simply enough if I am around by shutting down the QMX+ and then turning it back on.? I can't figure out what to do if I am not physically nearby, however.

I'm curious if anyone can recommend a remedy.? I have tried uninstalling the USB hardware on the mini PC and having it reinstall, but this didn't do the trick of regaining control of the QMX+.

Thoughts?? Am I missing something obvious?? Is this an issue rooted in the QMX+ or in my particular mini PC (and OS)?
?
Best regards,?
Carl


 

On 29/01/2025 20:38, Carl Willis (KF4KIG) via groups.io wrote:
Whenever I reboot the mini PC, with the QMX+ remaining powered, I lose USB connectivity to the QMX+.
Carl,

Unfortunately this is normal.
The QDX/QMX will only enumerate once then require a power cycle.
Hans knows this but does not know how to correct it.

A possibility is to trigger a relay when the computer starts up. I'm sure it could be done but to my knowledge this has not been discussed.

73 Alan G4ZFQ


 

I would think that if the QMX+ firmware can execute a bootstrapping power-on sequence, it could trivially be programmed to restart itself, but indeed that is beyond my level of familiarity.

Regarding the relay idea, how would this work?? Interrupting supply power to the QMX+ probably just turns it off, in which state it remains unless the power button is pressed (is this correct?).


 

I don't have any problem rebooting my Raspberry Pi remotely and the QMX+ retains connectivity ...?

I use X11 forwarding to XQuartz on my MacBookAIr to run WSJTX on the Raspberry Pi but manipulate it similar?to remote desktop.

Occasionally?I have to reboot and never had an issue with the QMX+ not being seen.? ?Likely a difference between PC and Linux drivers

On Wed, Jan 29, 2025 at 5:34?PM Carl Willis (KF4KIG) via <carl.willis=[email protected]> wrote:

I would think that if the QMX+ firmware can execute a bootstrapping power-on sequence, it could trivially be programmed to restart itself, but indeed that is beyond my level of familiarity.

Regarding the relay idea, how would this work?? Interrupting supply power to the QMX+ probably just turns it off, in which state it remains unless the power button is pressed (is this correct?).


 

I would think that the USB interface would detect both connects and disconnects. When you power cycle the computer, the connection goes away and this should be detected. When the computer restarts, the USB interface should detect this and begin to attempt enumeration.

All USB devices I’ve ever used are automatically detected at each reboot of the computer. This seems like a solved problem so what am I missing? Could this be due to the lack of a dedicated USB interface chip?

Tony

On Wed, Jan 29, 2025 at 4:34?PM Carl Willis (KF4KIG) via <carl.willis=[email protected]> wrote:

I would think that if the QMX+ firmware can execute a bootstrapping power-on sequence, it could trivially be programmed to restart itself, but indeed that is beyond my level of familiarity.

Regarding the relay idea, how would this work?? Interrupting supply power to the QMX+ probably just turns it off, in which state it remains unless the power button is pressed (is this correct?).


 

On 29/01/2025 22:34, Carl Willis (KF4KIG) via groups.io wrote:
Regarding the relay idea, how would this work?? Interrupting supply power to the QMX+ probably just turns it off, in which state it remains unless the power button is pressed (is this correct?).
Carl,

I was thinking of a QDX which does come up instantly.
I'm not sure about the QDM. Does it just need the power button press?

As I said, I've not thought about the details. A little routine run at startup could trigger some circuitry, maybe from a COM port.

Jon,

I had thought it was a problem with Windows but I'm sure Linux users have reported it as well.
I have it with a QDX and a RPi.

73 Alan G4ZFQ


 

On 29/01/2025 21:34, Alan G4ZFQ via groups.io wrote:
Hans knows this but does not know how to correct it.
It's all to do with how one of the registers is programmed that is used to detect connections/disconnections and the fact the Windows and Linux handle these differently.

On the QDX, device firmware update mode correctly works without power cycles and it's normal mode that fails. I did work on diagnosing some the issues for Hans, there's a QDX he sent me here.

The problem was not how to fix the code but that Hans told me the area of Flash memory that held the code was really just about full so changing the code would be a really challenging job. There will also be an issue of job priorities as well as I'm sure everyone screaming for SSB would be happy and prepared for that to pushed back so this minor irritation can be addressed.

Andy


 

On Wed, Jan 29, 2025 at 03:53 PM, Tony Scaminaci wrote:
All USB devices I’ve ever used are automatically detected at each reboot of the computer. This seems like a solved problem so what am I missing? Could this be due to the lack of a dedicated USB interface chip?
?
?
Not just reboot, any connect or disconnect. Hot plugging is a feature of USB isn't it?? This could be done by looking for something else on the I/O lines, this triggers the USB discovery process.? I expect there is something in the USB library for the processor.
?
Chris, G5CTH


 

On 30/01/2025 09:00, Andy via groups.io wrote:
The problem was not how to fix the code
OK, Thanks for the update Andy.

But is it a Windows-only problem?

My QDX on my RPi needed a power cycle today.

73 Alan G4ZFQ


 

On 30/01/2025 16:00, Alan G4ZFQ via groups.io wrote:
But is it a Windows-only problem?
Yes, as Linux and QDX et al. happily work under the same sequences of events that do not work for Windows. And it's repeatable time after time.
My QDX on my RPi needed a power cycle today.
A single unexplainable event. Are you sure it wasn't an extraneous cosmic ray that flipped a few bits in the QDX and / or Pi guts?


 

On 30/01/2025 22:09, Andy via groups.io wrote:
A single unexplainable event. Are you sure it wasn't an extraneous cosmic ray that flipped a few bits in the QDX and / or Pi guts?
Andy,

Looks like I was jumping to a wrong conclusion.

The QDX sits on the untidy bench of my "workshop" 100% RXTX on 6m WSPR.
From time to time, it can be weeks, I realise it has stopped and see the WSJT-X " Do you want to configure?"
It does not see the QDX until I power cycle it.

However, as you say the simple pull/ replace USB test shows no problem.
It looks like something else I do in the workshop triggers the cosmic ray.
Or, maybe RF gets in the USB when I do something..

73 Alan G4ZFQ


 

On Wed, Jan 29, 2025 at 09:38 PM, Carl Willis (KF4KIG) wrote:
Thoughts??
Win11 has one anoying "feature" Fast Startup, it speeds things up but it also causes some wierd issues with every day? hardware/software.
?
Try turning that off and reboot to check for results.


 

On 31/01/2025 10:08, Alan G4ZFQ via groups.io wrote:
Looks like I was jumping to a wrong conclusion.
I thought as much ;-)

There could be lots of things but RF getting in where it shouldn't would be the first thing I check for.

Andy


 

I installed Ubuntu 24.04.1 LTS (remotely accessed via xrdp) on the mini PC controlling my QMX+ and can now confirm what Andy and others have observed about reconnection to the QMX+ when the PC restarts.? Linux has no problem reconnecting to the QMX+, and of course Windows 11 on the same box had the problem.

This is somewhat frustrating, because Windows Remote Desktop provides a significantly smoother performance with WSJT-X than xrdp/gnome.? However, the benefits of being able to manage the PC remotely and still have it connect to the QMX+ definitely outweigh the loss of contact on Windows.

It would be very nice to have a capabillity to restart the QMX+ remotely, but that's a different issue.