×
INDI Library v1.8.5 Released (19 Apr 2020)

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

Problems connecting Pegasus Focuscube, using commands

1 year 10 months ago
cometavictor
Fresh Boarder
Fresh Boarder
Posts: 5
More
Topic Author
Problems connecting Pegasus Focuscube, using commands #30081
Hi everybody,

I have problems trying to command the Pegasus Focuscube.

The sequence of commands are :

1) sudo indiserver -vv indi_dmfc_focus
The server start.
From other console :
2) indi_getprop
I obtain the next :
Pegasus DMFC.CONNECTION.CONNECT=Off
Pegasus DMFC.CONNECTION.DISCONNECT=On
Pegasus DMFC.DRIVER_INFO.DRIVER_NAME=Pegasus DMFC
Pegasus DMFC.DRIVER_INFO.DRIVER_EXEC=indi_dmfc_focus
Pegasus DMFC.DRIVER_INFO.DRIVER_VERSION=1.0
Pegasus DMFC.DRIVER_INFO.DRIVER_INTERFACE=8
Pegasus DMFC.DEBUG.ENABLE=Off
Pegasus DMFC.DEBUG.DISABLE=On
Pegasus DMFC.POLLING_PERIOD.PERIOD_MS=500
Pegasus DMFC.CONFIG_PROCESS.CONFIG_LOAD=Off
Pegasus DMFC.CONFIG_PROCESS.CONFIG_SAVE=Off
Pegasus DMFC.CONFIG_PROCESS.CONFIG_DEFAULT=Off
Pegasus DMFC.CONNECTION_MODE.CONNECTION_SERIAL=On
Pegasus DMFC.CONNECTION_MODE.CONNECTION_TCP=Off
Pegasus DMFC.DEVICE_PORT.PORT=/dev/ttyUSB0
Pegasus DMFC.DEVICE_BAUD_RATE.9600=Off
Pegasus DMFC.DEVICE_BAUD_RATE.19200=On
Pegasus DMFC.DEVICE_BAUD_RATE.38400=Off
Pegasus DMFC.DEVICE_BAUD_RATE.57600=Off
Pegasus DMFC.DEVICE_BAUD_RATE.115200=Off
Pegasus DMFC.DEVICE_BAUD_RATE.230400=Off
Pegasus DMFC.DEVICE_AUTO_SEARCH.ENABLED=On
Pegasus DMFC.DEVICE_AUTO_SEARCH.DISABLED=Off
Pegasus DMFC.DEVICE_PORT_SCAN.Scan Ports=Off
Pegasus DMFC.SYSTEM_PORTS./dev/ttyUSB1=Off

Then, execute next :

3) indi_setprop "Pegasus DMFC".SYSTEM_PORTS./dev/ttyUSB1=On
and obtain, among others :

Pegasus DMFC.SYSTEM_PORTS./dev/ttyUSB1=On

4) indi_setprop "Pegasus DMFC".CONNECTION.CONNECT=On
but when execute indi_getprop , again obtain
Pegasus DMFC.CONNECTION.CONNECT=Off

I am alternating commands in other order:
first : indi_setprop "Pegasus DMFC".CONNECTION.DISCONNECT=Off
second : indi_setprop "Pegasus DMFC".CONNECTION.CONNECT=On

but always obtain : Pegasus DMFC.CONNECTION.CONNECT=Off

Any suggestions or idea of what is happening?

Best regards

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

1 year 10 months ago
knro
Administrator
Administrator
Posts: 8181
Karma: 51
Problems connecting Pegasus Focuscube, using commands #30082
Running in sudo is usually not a good idea unless there is quite a compelling reason to do so. You just need to issue this command to connect:
indi_setprop "Pegasus DMFC".CONNECTION.CONNECT=On

If it's not connecting, I'd check any error message (from KStars or such)

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.

Time to create page: 0.270 seconds