×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

EQMOD will not connect with cable at all

  • Posts: 1061
  • Thank you received: 132
Ok, I thought I would try another RPI power supply, this one is a 5amp one, and still the same :(
the cable shows when connected in DMESG, but there is no serial communication with the mount, it’s like the mount is switched off, in fact it acts the same when it is switched off and I try, yet in windows it’s perfect, with all three EQMOD cables…..WHY….?.? I am tearing what little hair I have out here…… :(
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
2 months 8 hours ago #73589

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

  • Posts: 1008
  • Thank you received: 297
In your log, 1-1.2.5 is your mount cable and 1-1.2.7 your pegasus. I think the 1.0 suffix relates to the USB internal block.

Maybe you could follow stackoverflow.com/questions/35505385/mon...usb-serial-converter to attempt to monitor the serial communication, to understand which side is causing the issue. Wireshark has a UI that can be used too. But both are a bit involved.

Another idea is to check if selinux, a security overlay, is enabled on your installation (sudo check-selinux-installation).

Yet another idea is to use "strace" to spy on the INDI driver (sudo strace -p <driver process pid>).

I don't think you provided the configuration of the serial port to the mount with "stty", could you try that? And getting a screenshot of the port properties under windows when the mount is connected?

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
2 months 6 hours ago #73593

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

  • Posts: 1061
  • Thank you received: 132
@Eric
im sorry but you have completly lost me I am not well up on Linus at all, just want a working set up which I had a few months ago and nothing has changed, I have no idea what all the things  are you mentioned…..sorry…
I think my days with Linux and INdI, are coming to an end… :( as I don’t have a working set up…
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
2 months 4 hours ago #73601

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

  • Posts: 1061
  • Thank you received: 132
@eric,
what propertied do you need from windows, I posted them above,,,.I really don’t know what else I can post,  as I do not have any idea how to use the software you mention…..this is just beyond me….it works perfectly on windows with same settings as in INdI….
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
2 months 3 hours ago #73602

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

  • Posts: 1008
  • Thank you received: 297
When your mount is connected in Windows and communicating with the application, open the device manager, look for the COM port, right click and select properties. You will get a pop-up presenting the current configuration of the port, with bits per second, data bits, parity, stop bits and flow control.

Now, in the same situation, when your raspberry pi is connected to the mount and trying to communicate, execute "sudo stty -F /dev/ttyUSB0" (if the mount is still on ttyUSB0). You will get a number of properties which should match the Windows configuration.

When a serial port refuses to communicate, it is sometimes because the flow control is not configured the same on both ends. Flow control uses a distinct pin to validate the stability of the data transferred on the cable, and thus will block transfer until both ends agree on its electrical level.

Second point that you can try is "sudo check-selinux-installation". Although I see no reason for this to be enabled, this feature will cause security rules to be enforced to prevent random applications from using ports, sockets and other computer resources. "strace" could also help to diagnose such program execution issues.

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
Last edit: 2 months 1 hour ago by Eric.
2 months 1 hour ago #73607

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

  • Posts: 1061
  • Thank you received: 132
The windows and the INdI parameters are the same…I checked this and they are shown above in the serial port properties I showed  from windows, that are the same….
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
1 month 4 weeks ago #73609

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

  • Posts: 1061
  • Thank you received: 132
Here at the bottom…

  
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
1 month 4 weeks ago #73610
Attachments:

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

  • Posts: 1061
  • Thank you received: 132
@eric
ok, so I ran the command stty, and I ran first of all before trying to connect the mount in ekos, and got this, USB0 is the mount and USB1 is the Pegasus UPB
 

and then I tried to connect in ekos, and ran it again on the mount USB0 and got this

 

this means nothing to me, but the settings in windows are 
9600 baud rate
8 data bits
1 stop bit
NONE flow control
NONE parity
 
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
Last edit: 1 month 4 weeks ago by AstroNerd.
1 month 4 weeks ago #73624
Attachments:

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

  • Posts: 1061
  • Thank you received: 132
An update, have now changed out the RPI for an Intel i3 mini PC with Ubuntu 20.04, and all the issues are EXACTLY THE SAME, so the issue was not the rpi, so now everything has been changed and still does not work with EQMOD cable, tried three cables, but switch it over to the windows PC and all works fine…and all works fine on both Mini PC and RPI with EQMOD Bluetooth adapter. So anyone who can solve this gets by vote as a genius…… :)
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
1 month 3 weeks ago #73829

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

  • Posts: 130
  • Thank you received: 11
I haven't read the complete thread so my advice may be duplicate. I would reset my mount controller to factory settings, plug in cables and try anew. That is just to rule out that the BT adapter has changed some settings in the controller which Windows/Ascom does not care about but Linux/Ekos/Indi does.

CS
Klaus
The following user(s) said Thank You: AstroNerd
1 month 3 weeks ago #73889

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

  • Posts: 1061
  • Thank you received: 132
@Klaus
thanks, but I have tried on a fresh INdI install that has never had the BT adapter set up….I dont think that there are any settings in the mount control board that can be changed….are there…??
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
1 month 3 weeks ago #73893

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

  • Posts: 54
  • Thank you received: 8
Have you an Arduino Mega or could you borrow one? Just as an experiment, you could install the AstroEQ software onto the Mega and use it as a live Eqmod mount simulator. You don’t need any stepper drivers Kstars & Indi will think there’s a mount connected and behave accordingly, I sometimes do this when testing the mount drivers on the latest release without having to drag my mount into the house.

Cheers Alan.
Raspberry Pi4B,ASI120MM -S Usb3, ASI385MC, Atik CCD, Canon 600D, NEQ6, EQMod, EQ5, AstroEQ, EQMod Equinox ED80
1 month 3 weeks ago #73928

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

Time to create page: 0.718 seconds