¿ªÔÆÌåÓý

Locked Re: USB connexion : Serial port not found #dcc-ex


 

¿ªÔÆÌåÓý

Hi Jean-Louis,

You need to be looking in Device Manager under the 'Ports (COM & LPT)' section, not the 'USB' section (see attached screen shot - sorry it's in english!)


On 09/11/2024 08:36, Jean-Louis Free via groups.io wrote:

Thank you Adrian, but how do I know wich port it is? (it says COM8 o, the JRMI interface) :


Thanks.



De: "Adrian Nicol" <Adrian@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Samedi 9 Novembre 2024 09:06:59
Objet: Re: [jmriusers] USB connexion : Serial port not found

I'm assuming you are using USB com port adaptors or the built-in Arduino port??

Could be a windows issue, I've never really got to the bottom of how Windows decides what com port number to apply 'automatically' to things, it seems to mostly apply the same number to any specific device but then sometimes it does not!

I've found the safest way is to assign a com port number manually, that seems more likely to 'stick' through reboots and USB device plugging ins and outs.

Go to:?

Device manager...right click on the com port in question....Properties...'Port Settings' tab....Advanced....COM Port Number 'pulldown' list and choose an unused port and apply it.?

To keep clear of Windows auto port numbering clashes, I usually go for numbers higher than the number of different serial devices I'm ever likely to plug in at one time , so something high teens or twenties.

The above works for me but I don't claim to really know enough about how Windows works (does anybody?) to know if there is any science behind it!

As a footnote, I've also had to clear out the Registry entries a couple of times when too many non-existant Serial Ports start showing up as "(In Use)" in the Ports 'Pull-Down' list mentioned above.

On 09/11/2024 06:06, Jean-Louis Free via groups.io wrote:
Hi,
?
This problem happens more an more often, may one every two try. I have to reboot the PC to get it fixed.
?
The USB connexion looks correct.
?
What could be wrong ?
?
?
--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?

Join [email protected] to automatically receive all group messages.