×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] Serial port Failure ? Can you help me?

  • Posts: 44
  • Thank you received: 0
Hi, Can you help me with the port selector, please? I have the neq6 connected to Pi 4 by USB (Prolific) and the focuser by Arduino (Moonlite).
If I don't connect Arduino, the neq6 is connected.
if I connect Arduino, the neq6 is not connected with this message


2024-03-29T16:19:27: [ERROR] Failed to connect to port (/dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_55736313238351605121-if00). Error: Port failure Error: Permission denied. Try adding your user to the dialout group and restart (sudo adduser $USER dialout)
2024-03-29T16:19:27: [INFO] Trying connecting to /dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_55736313238351605121-if00 @ 9600 ...
2024-03-29T16:19:25: [WARNING] Port /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 is already used by another driver or process. 2024-03-
29T16:19:22: [INFO] Trying connecting to /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 @ 9600 ...

If connect the Neq6 and after I connect the Arduino cable,


I get these messages:2024-03-29T17:02:12: [WARNING] Port /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 is already used by another driver or process. but I am in the Moonlite focuser tab as in the picture


it seems a problem with the ports.....

Thank you.Sergio
Last edit: 1 month 2 days ago by sergio.
1 month 2 days ago #99990
Attachments:

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

  • Posts: 44
  • Thank you received: 0
I have solved !!!!
This is my report.
1. Ubuntu Mate in my PI4 (I had the same issue with Ubuntu O/S and Raspberry OS).
2. My mount neq6 is connected to PI4 by a Serial -> USB cable (Prolific)
3. Arduino for focuser
4. Devices are connected to an USB Hub

Once I plug the devices (neq6 and arduino), launch ekos, the message reports the device cannot connect because the port is already used.

Solution:
by linux terminal the comand lsusb returns:
Bus 001 Device 006: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
Bus 001 Device 005: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P


Solution:
After reading "indilib.org/support/tutorials/157-persis...al-port-mapping.html", I have created a new file:

sudo vi /lib/udev/rules.d/99-focuser.rules

with this text:
# MoonliteFocuser udev rule
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0043", MODE="0666", SYMLINK+="focuser"


Now, I unplug/plug the Arduino cable or better, I restart the PI4.

For your info, the prolific device is in the file
/lib/udev/rules.d/99-indi_auxiliary.rules
1 month 1 day ago #100001

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

Time to create page: 0.433 seconds