×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

Port is already used error

  • Posts: 102
  • Thank you received: 6
My Eqod mount just started doing this out of the blue. Had connected without issue before.

RP4 - Astroberry

2020-07-26T21:58:12: [WARNING] Port /dev/ttyACM0 is already used by another driver or process.
2020-07-26T21:58:09: [INFO] Trying connecting to /dev/ttyACM0 @ 9600 ...
2020-07-26T21:58:08: [WARNING] Port /dev/ttyUSB0 is already used by another driver or process.
2020-07-26T21:58:05: [INFO] Trying connecting to /dev/ttyUSB0 @ 9600 ...
2020-07-26T21:58:04: [WARNING] Communication with /dev/ttyUSB1 @ 9600 failed. Starting Auto Search...
2020-07-26T21:58:04: [ERROR] Failed to connect to port (/dev/ttyUSB1). Error: Port failure Error: No such file or directory. Check if device is connected to this port.
2020-07-26T21:58:04: [INFO] Auto search is enabled. When connecting, the driver shall attempt to communicate with all available system ports until a connection is established.

If I just unplug it, plug it back in, then restart Ekos - it works. Any idea what causes this?

Thanks
9 months 1 week ago #57368

Please Log in or Create an account to join the conversation.

  • Posts: 337
  • Thank you received: 104
I experience this error as both a result of the semi-random order that the tabs start up (thus devices start up), and as a result of not using the port mapper. Jasem has a video on mapping ports to named devices that would likely solve this for you. I'm just too lazy to do it. It's pretty easy to just scan the ports if necessary at startup contention and set another available port. But I believe the youtube video gives details on how this is done to avoid it entirely. Cheers, Doug
RASA11, Celestron CGX-L, ASI183mc Pro, 60mm guider + ASI290mm mini, ASI EAF focuser, PPB, Rpi4-4Gb+SSD, Powered USB3 hub, hardwire Ethernet.
The following user(s) said Thank You: rankinstudio
9 months 1 week ago #57372

Please Log in or Create an account to join the conversation.

  • Posts: 102
  • Thank you received: 6
Thanks, found the article on this.

Cheers
9 months 1 week ago #57375

Please Log in or Create an account to join the conversation.

  • Posts: 1112
  • Thank you received: 171

I experienced the same problem recently. Usually it is the mount that cannot connect. All I have to do then is click 'Connect' in the Control Panel and the problem usually goes away.
The other option is the port mapping. After it happened for the third time, that's what I did and it seems stable since then.
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
9 months 1 week ago #57418

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0

Replied by Dmagg on topic Port is already used error

Who is James? and we can find solution?
1 week 1 day ago #70895

Please Log in or Create an account to join the conversation.

Replied by knro on topic Port is already used error

This issue is already fixed with latest INDI stable. Please update.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 week 1 day ago #70897

Please Log in or Create an account to join the conversation.

Time to create page: 0.361 seconds