×

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

Bi-monthly release with minor bug fixes and improvements

EQMOD will not connect with cable at all

  • Posts: 421
  • Thank you received: 102
Sorry if I'm stating the obvious, but I see it's trying to connect at 9600 baud. Did you try 115200 baud?
The following user(s) said Thank You: Patryk
2 years 10 months ago #72870

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

  • Posts: 1067
  • Thank you received: 140
@kevin,
the correct baud rate is 9600, for EQMOD, unless you are connecting with a direct USB port on the mount…then it’s the higher one….
2 years 10 months ago #72872

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

  • Posts: 421
  • Thank you received: 102
A simple diagnostic step is to open miniterm on the correct tty port, and type the following:

:e1

and press enter. You won't be able to see what you're typing, this is normal. This is just a simple command to query the firmware version. On my system, it responds with:

=030723

If you get back some type of response like the above, then you know communication is working.
2 years 10 months ago #72875

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

  • Posts: 1067
  • Thank you received: 140
It’s no using a tty port, this I think is the issue, it’s using a “by ID” port name, this has changed recently….they used to connect with tty ports…..
2 years 10 months ago #72876

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

  • Posts: 421
  • Thank you received: 102
Yes, those are normally symlinks back to the /dev/ttyUSBx device names. I believe INDI switched to using these "by-id" names because those names are theoretically more stable than the /dev/ttyUSBx names.

I see this error:

EQMod Mount : "[ERROR] Failed to connect to port (/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AM00M7QG-if00-port0). Error: Port failure Error: No such file or directory. Check if device is connected to this port. "

What files do you actually have in /dev/serial/by-id? They will be symlinks. Do the device files that they point to actually exist?
2 years 10 months ago #72877

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

  • Posts: 1067
  • Thank you received: 140
No, there is only one there for the Pegasus hub, but I think they are only created at first connect, this have never connected….
2 years 10 months ago #72878

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

  • Posts: 421
  • Thank you received: 102
Those files in /dev/serial/by-id are created by the kernel, and should be created as soon as you plug in the device.

Are there any messages in dmesg when plugging in the cable, either errors or any kind of status indication?
2 years 10 months ago #72879

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

  • Posts: 421
  • Thank you received: 102
Oh, one more thought. There was a bug in Raspbian, which was resolved a few months ago, where serial devices plugged into a USB hub would cause problems like this. Plugging all the serial devices (mount, Pegasus hub) into the ports on the Pi instead of a hub was the solution. Just wondering if you're running an old version of Raspbian with this bug still present.
2 years 10 months ago #72880

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

  • Posts: 1067
  • Thank you received: 140
Well, this started when I moved to a Bluetooth EQMOD adapter and it worked well, but I did notice a bit of lag, so moved back to the EQMOD cable, now this cable had worked before without issue, and there was a file in the /dev/by ID folder for this from when it worked, but now it had stopped working and I thought it was the cable after days of trying.
So I bought a new one, and this does not work either, but also has never been connected as of yet. I deleted the current “by ID” file and there has not been a new one created from the new cable, but as you can see it does show an ID in the INdI panel, but just will not connect.
both cables work on windows with Ascom no problem 

I have latest “sudo apt update && sudo apt dist-upgrade” so will assume I have latest kernel..
also my cable is plugged directly into the RPI

BTW your help is much appreciated :)
 
2 years 10 months ago #72888

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

  • Posts: 421
  • Thank you received: 102
Go to a terminal and type "dmesg". That will show you a log of kernel messages. Unplugging and plugging the cable should cause some messages to get added. For example:

[ 269.038238] usb 1-1.2.2.1: USB disconnect, device number 6
[ 269.039197] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 269.039325] pl2303 1-1.2.2.1:1.0: device disconnected
[ 272.606545] usb 1-1.2.2.1: new full-speed USB device number 11 using xhci_hcd
[ 272.730958] usb 1-1.2.2.1: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 4.00
[ 272.730966] usb 1-1.2.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 272.730972] usb 1-1.2.2.1: Product: USB-Serial Controller D
[ 272.730977] usb 1-1.2.2.1: Manufacturer: Prolific Technology Inc.
[ 272.733636] pl2303 1-1.2.2.1:1.0: pl2303 converter detected
[ 272.743429] usb 1-1.2.2.1: pl2303 converter now attached to ttyUSB0

The first few lines happened when I unplugged my mount. The following lines were added when I plugged it back in.
The following user(s) said Thank You: AstroNerd
Last edit: 2 years 10 months ago by Kevin Ross.
2 years 10 months ago #72892

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

  • Posts: 1067
  • Thank you received: 140
Ok, will try this in the morning, cheers… 
2 years 10 months ago #72894

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

  • Posts: 1067
  • Thank you received: 140
Ok, tried the dmseg, and it does show the port as you say it’s trying to connect to ttyUSB0
so tried that in the port box but still no good…
it says port in use by another device, so tried ttyUSB1 and same, yet there are only two devices and ports found….
2 years 10 months ago #72926

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

Time to create page: 0.484 seconds