I can connect two camera with this modification. Ekos see it as "Meade Deep Sky Guide" and "Meade Deep Sky Guide 2".
Whichever camera I choose, preview is from the same camera. Have I change some name etc?
The properties of each camera in the Indi control panel are correct (image size .... etc).

handle = NULL;
    for (i = 0; i < cnt; ++i)
    {
        if (!libusb_get_device_descriptor(list[i], &desc))
        {
            if ((desc.idVendor == 0x156c) && (desc.idProduct = 0x0101))
            {
                dev = list[i];
                if (libusb_open(dev, &handle))
                {
                    dev = NULL; 
                }
                else // device opened - check is already claimed
				   if  (!libusb_claim_interface (handle,0)) 
				   {
				    libusb_release_interface (handle,0); // first dsi found not claimed - end loop
				    break;
				   }
            }
        }
    }


Read More...

This code dosen't work. How to chceck is device already opened by another instance of driver?

Lsusb shows that firmware is loaded for both dsi. I can connect only to one.

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 days ago

knro wrote:

silver wrote: GotoNova driver: isSlewComplete give timeout error.
Yes, it should just be const char *cmd = "SE?#"


I tried commands :SE?# and SE# from serial terminal and Ieq45 with 8406 HC controler give no answer. Probably this command is not supported.
Is another way to check is slew completed? For example target position mached with current position etc ?. I think maxim DL does it this way with this mount.



Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 days ago

knro wrote: that looks fine, submit it on Github as Pull-Request.


I don't know how to do this (Pull-request), but I will learn.

I need more testing. I have sniffed Ascom Driver 2.11 (phd - manual guide and other windows program).
If pulse length is less than 999 Ascom driver write for example 750ms:
:Me750#:
If pulse guide is 1000ms or more Windows Ascom driver give multiple commands, for example 2200ms:
:Me999# :Me999# :Me202#
(999+999+202=2200)

I think correct format is :Me%3d#. I will test this code:
int LX200GotoNova::SendPulseCmd(int direction, int duration_msec)
{
    int nbytes_write = 0;
    char cmd[10];
	int duration_time_msec=duration_msec;
	while (duration_time_msec>0)
	{
	if (duration_time_msec>999) duration_msec=999;
	else duration_msec=duration_time_msec;	
	switch (direction)
		{
			case LX200_NORTH:
				sprintf(cmd, ":Mn%03d#", duration_msec); 
				break;
			case LX200_SOUTH:
				sprintf(cmd, ":Ms%03d#", duration_msec);
				break;
			case LX200_EAST:
				sprintf(cmd, ":Me%03d#", duration_msec);
				break;
			case LX200_WEST:
				sprintf(cmd, ":Mw%03d#", duration_msec);
				break;
			default:
				return 1;
		}
	duration_time_msec = duration_time_msec - duration_msec;
	DEBUGF(INDI::Logger::DBG_DEBUG, "CMD (%s)", cmd);
    tty_write_string(PortFD, cmd, &nbytes_write);
	}
    tcflush(PortFD, TCIFLUSH);
    return 0;
}


Read More...

Long Jon replied to the topic '2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 days ago

I will try change DsiDevice.cpp.

    handle = NULL;
    for (i = 0; i < cnt; ++i)
    {
        if (!libusb_get_device_descriptor(list[i], &desc))
        {
            if ((desc.idVendor == 0x156c) && (desc.idProduct = 0x0101))
            {
                dev = list[i];
                if (libusb_open(dev, &handle))
                {
                    dev = NULL; 
                }
               [b] if (dev!=NULL)[/b break]; // libusb_open return code <> 0 it's mean no success - maybe device is alredy opened (first dsi) , if dev is NULL don't brake search next device from list
            }
        }
    }


Read More...

Long Jon created a new topic ' 2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 days ago

I have Meade DSI III color and Meade DSI II mono. I can connect with Ekos only one camera at a time. Second camera error is: "Unable to find DSI. Has the firmware been loaded?" Single camera works ok. I can disconnect first and connect second.

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 5 days ago

To add pulse guide I made the following changes. Is it sufficient ? Don't have hardware now to check correct comand for pulseguide ":Mn%04d#" or ":Mgn%04d#". There is no info in command reference from Ioptron. I will check this letter. In obsolete ieq45driver8406.c is ":Mgn%04d#"

lx200gotonova.h
...
virtual bool Park() override;
virtual bool UnPark() override;
virtual int SendPulseCmd(int direction, int duration_msec) override;

lx200gotonova.cpp
setLX200Capability(LX200_HAS_FOCUS | LX200_HAS_PULSE_GUIDING); instead setLX200Capability(LX200_HAS_FOCUS);

int LX200GotoNova::SendPulseCmd(int direction, int duration_msec)
{
int nbytes_write = 0;
char cmd[10];
switch (direction)
{
case LX200_NORTH:
sprintf(cmd, ":Mn%04d#", duration_msec);
break;
case LX200_SOUTH:
sprintf(cmd, ":Ms%04d#", duration_msec);
break;
case LX200_EAST:
sprintf(cmd, ":Me%04d#", duration_msec);
break;
case LX200_WEST:
sprintf(cmd, ":Mw%04d#", duration_msec);
break;
default:
return 1;
}

DEBUGF(INDI::Logger::DBG_DEBUG, "CMD (%s)", cmd);

tty_write_string(PortFD, cmd, &nbytes_write);

tcflush(PortFD, TCIFLUSH);
return 0;

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 5 days ago

GotoNova driver: isSlewComplete give timeout error.

Command ":SE?#'" length is 6 not 16, strlen(cmd) is not equal to &nbytes_written.

bool LX200GotoNova::isSlewComplete()
{
char cmd[16];
int errcode = 0;
char errmsg[MAXRBUF];
char response[8];
int nbytes_read = 0;
int nbytes_written = 0;

strncpy(cmd, ":SE?#", 16);

DEBUGF(INDI::Logger::DBG_DEBUG, "CMD (%s)", cmd);

if ((errcode = tty_write(PortFD, cmd, strlen(cmd), &nbytes_written)) != TTY_OK)

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 5 days ago

No success. It will be easier to add a pulse guide to the GotoNova driver, which works better. 8406 hand controller command sets is almost the same as 8401.

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 6 days ago

Thank you for replay. ind_ieq_telescope is for ieq45 pro and CGEM60.

I have basic programing skils. I will try to put commands from ieq45driver8406.c to lx200zeq25.cpp
I have put differences in the xls file

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 7 days ago

Gotonova driver has similar command set with 8406, but lack of pulse guide. I need pulse guide. My DSI II guide camera dosen't have ST4 port.

Read More...

Long Jon created a new topic ' Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 1 week ago

Helo,
I tried lx200zeq25 driver with no success :(. This driver uses a set of commands for 8407 and never HC. My equipment was skipped. I have found in indi-1.5.0\libindi\obsolete directory old driver for my mount with 8406 HC. Could you tell me how to compile and install this driver ?.
Thank you

Read More...

Long Jon replied to the topic 'iEQ45 GTN 8407 and 8406' in the forum. 1 week ago

Could you tell me correct, working driver for Ieq45 with 8406 Hand Controler ?.

Indi version 1.5.0 (Ubuntu Mate on Raspberry Pi 3).

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!