×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Problem with persistent USB link in Stellarmate...(I think)

1 year 3 months ago
dean
Senior Boarder
Senior Boarder
Posts: 48
More
Problem with persistent USB link in Stellarmate...(I think) #39301
wild card on the ttyUSB ... ttyUSB*
and try "ttyUSB.NEQ6". if you unplug and run lsusb and then plug in and
run lsusb is your puter registering a signal? If so, its not a hardware issue,
its a software issue.

HEQ5 (belt mod), Lynx USB direct
ASI385MC-Cool, ASI120MM-mini
Meade LX90 8" SCT (deforked), Orion 60mm
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3
Raspberry Pi 3B+, Pi4B+ 8Gb
Kstars/Ekos/Stellarmate OS

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

1 year 3 months ago
chrismills59
Fresh Boarder
Fresh Boarder
Posts: 8
More
Topic Author
Problem with persistent USB link in Stellarmate...(I think) #39439
Many many thanks to everyone for all the advice offered. I very much appreciate the support.

I have finally found success!!!
I just need some clear skies and a good target.

I though it would be worth posting with my findings.
After update to StellarMate 1.4.0 I still had no success with the usb-serial connection. In addition, the update seems to have broken the web manager.
So I'm back to 1.3.5 again which is working well.
I have a new USB-Serial cable, this time with a genuine FTDI chip, and this has worked "out of the box". Since it has a different vendor/product ID from my GPS then I don't even have to use the Serial assistant or any UDEV rules.
It would seem that the CP210x chip does not play well with StellarMate.

Hope this info is useful for others.

Chris

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

6 days 1 hour ago 6 days 1 hour ago by AtM.
AtM
Senior Boarder
Senior Boarder
Posts: 63
Karma: 1
More
Problem with persistent USB link in Stellarmate...(I think) #59819
I experience the same problem, intermittently. I am using a direct serial interface on the Pi board, UART5 to be precise, mapped to ttyAMA1. This port is hardwired to the NEQ6 controller board, through level converters. Another port, UART0, is used for GPS and is mapped to ttyAMA0.

The error I get (in Kstars control panel) is: "Port /dev/ttyAMA1 is already used by another driver or process."

What I would like to know to help me debugging is what exactly is causing the software to output this message?

The problem may be HW related, but could equally well be an Ubuntu/Raspberry driver issue.

Thanks,
Arjan
The following user(s) said Thank You knro

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

5 days 23 hours ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
Problem with persistent USB link in Stellarmate...(I think) #59823
In INDI, when a driver opens a serial port, it sets as exclusive and then performs the handshake process. If handshake is successful, the driver is connected. On failure, it closes the port and releases all resources associated with it. Now, other drivers can open it and claim exclusivity. So this message is produced when two more drivers are trying to open the same port while another driver has a lock on it. The best long term solution for this is to use serial port mapping so that each driver connects to a specific end point (e.g. /dev/mount) and Auto Search is Disabled.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

5 days 14 hours ago 5 days 14 hours ago by AtM.
AtM
Senior Boarder
Senior Boarder
Posts: 63
Karma: 1
More
Problem with persistent USB link in Stellarmate...(I think) #59834
Hi Jasem,

Yes, I understand this process, so the warning is only issued when the device is already taken.
What I also see is failure to synchronize with the NEQ6 controller via the serial interface, I suppose this message is issued only after obtaining access to the serial device?
In that case, the warning might be caused by me hitting the Connect button, while the EQMod driver was still in the process of synchronization with the controller: I should leave it alone...

My conclusion therefore is that there are actually HW issues, since sometimes the connect actually succeeds: time to get my oscilloscope out.

Thanks,
Arjan

Edit: I found a loose pin upon visual inspection of the serial i/f, duhh.

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

Time to create page: 0.330 seconds