Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 14131

Trouble with indiserver and synscan eq5 pro in ras - by: perdels

$
0
0
Hello.

Past two days ive been struggling to get indiserver working on raspberry pi.
I connect my mount via usb to serial cable and it shows up as /dev/ttyUSB0.

I setup deb packages from here indilib.org/support/tutorials/139-indi-l...on-raspberry-pi.html

I run indiserver and everything looks ok

$ indiserver -vvv indi_eqmod_telescope
2015-11-20T19:31:03: startup: indiserver -vvv indi_eqmod_telescope
2015-11-20T19:31:03: Driver indi_eqmod_telescope: pid=7724 rfd=3 wfd=6 efd=7
2015-11-20T19:31:03: listening to port 7624 on fd 4
2015-11-20T19:31:03: Driver indi_eqmod_telescope: sending msg copy 1 nq 1:
<getProperties version='1.7'/>

2015-11-20T19:31:03: Driver indi_eqmod_telescope: read getProperties GPS Simulator GEOGRAPHIC_COORD
2015-11-20T19:31:03: Driver indi_eqmod_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2015-11-20T19:31:03: Driver indi_eqmod_telescope: read getProperties GPS Simulator TIME_UTC
2015-11-20T19:31:03: Driver indi_eqmod_telescope: snooping on GPS Simulator.TIME_UTC
2015-11-20T19:31:03: Driver indi_eqmod_telescope: read defSwitchVector EQMod Mount CONNECTION Idle rw
CONNECT='Off'
DISCONNECT='On'
2015-11-20T19:31:03: Driver indi_eqmod_telescope: read defTextVector EQMod Mount DRIVER_INFO Idle ro
DRIVER_NAME='EQMod Mount'
DRIVER_EXEC='indi_eqmod_telescope'
DRIVER_VERSION='0.2'
DRIVER_INTERFACE='5'
2015-11-20T19:31:03: Driver indi_eqmod_telescope: read defSwitchVector EQMod Mount CONFIG_PROCESS Idle rw
CONFIG_LOAD='Off'
CONFIG_SAVE='Off'
CONFIG_DEFAULT='Off'
2015-11-20T19:31:03: Driver indi_eqmod_telescope: read defTextVector EQMod Mount DEVICE_PORT Idle rw
PORT='/dev/ttyUSB0'
2015-11-20T19:31:03: Driver indi_eqmod_telescope: read defSwitchVector EQMod Mount TELESCOPE_BAUD_RATE Idle rw
9600='On'
19200='Off'
38400='Off'
57600='Off'
115200='Off'
230400='Off'

I startup phd2 and create a new profile. Create an indi mount, leaving everyhing as it is by default.
When i try to connect i allways get that /dev/ttyUSB0 is busy. I checked it multiple times with lsof and fuser, and nothing shows up using ttyUSB0. Im also in the right group so i have permissions to write to it. This is what i get from indiserver. Any suggestions? Its driving me nuts :)

2015-11-20T19:38:11: Driver indi_eqmod_telescope: read message EQMod Mount 'Connecting to port /dev/ttyUSB0 at speed 9600'
2015-11-20T19:38:11: Client 0: queuing <message device='EQMod Mount' name=''>
2015-11-20T19:38:11: Client 5: queuing <message device='EQMod Mount' name=''>
2015-11-20T19:38:11: Driver indi_eqmod_telescope: read setSwitchVector EQMod Mount CONNECTION Busy
CONNECT='Off'
DISCONNECT='On'
2015-11-20T19:38:11: Client 0: queuing <setSwitchVector device='EQMod Mount' name='CONNECTION'>
2015-11-20T19:38:11: Client 5: queuing <setSwitchVector device='EQMod Mount' name='CONNECTION'>
2015-11-20T19:38:11: Client 0: sending msg copy 2 nq 2:
<message device="EQMod Mount" timestamp="2015-11-20T19:38:11" message="Connecting to port /dev/ttyUSB0 at speed 9600"/>

2015-11-20T19:38:11: Client 5: sending msg copy 1 nq 2:
<message device="EQMod Mount" timestamp="2015-11-20T19:38:11" message="Connecting to port /dev/ttyUSB0 at speed 9600"/>

2015-11-20T19:38:11: Client 0: sending msg copy 2 nq 1:
<setSwitchVector device="EQMod Mount" name="CONNECTION" state="Busy" timeout="60" timestamp="2015-11-20T19:38:11">
<oneSwitch name="CONNECT">
Off
</oneSwitch>
<oneSwitch name="DISCONNECT">
On
</oneSwitch>
</setSwitchVector>

2015-11-20T19:38:11: Client 5: sending msg copy 1 nq 1:
<setSwitchVector device="EQMod Mount" name="CONNECTION" state="Busy" timeout="60" timestamp="2015-11-20T19:38:11">
<oneSwitch name="CONNECT">
Off
</oneSwitch>
<oneSwitch name="DISCONNECT">
On
</oneSwitch>
</setSwitchVector>

2015-11-20T19:38:26: Driver indi_eqmod_telescope: read message EQMod Mount 'Error: -> tty read failed, check connection: Timeout error'
2015-11-20T19:38:26: Client 0: queuing <message device='EQMod Mount' name=''>
2015-11-20T19:38:26: Client 5: queuing <message device='EQMod Mount' name=''>
2015-11-20T19:38:26: Driver indi_eqmod_telescope: read setSwitchVector EQMod Mount CONNECTION Alert
CONNECT='Off'
DISCONNECT='On'
2015-11-20T19:38:26: Client 0: queuing <setSwitchVector device='EQMod Mount' name='CONNECTION'>
2015-11-20T19:38:26: Client 5: queuing <setSwitchVector device='EQMod Mount' name='CONNECTION'>
2015-11-20T19:38:26: Client 0: sending msg copy 2 nq 2:
<message device="EQMod Mount" timestamp="2015-11-20T19:38:26" message="Error: -&gt; tty read failed, check connection: Timeout error"/>

2015-11-20T19:38:26: Client 5: sending msg copy 1 nq 2:
<message device="EQMod Mount" timestamp="2015-11-20T19:38:26" message="Error: -&gt; tty read failed, check connection: Timeout error"/>

2015-11-20T19:38:26: Client 0: sending msg copy 2 nq 1:
<setSwitchVector device="EQMod Mount" name="CONNECTION" state="Alert" timeout="60" timestamp="2015-11-20T19:38:26">
<oneSwitch name="CONNECT">
Off
</oneSwitch>
<oneSwitch name="DISCONNECT">
On
</oneSwitch>
</setSwitchVector>

2015-11-20T19:38:26: Client 5: sending msg copy 1 nq 1:
<setSwitchVector device="EQMod Mount" name="CONNECTION" state="Alert" timeout="60" timestamp="2015-11-20T19:38:26">
<oneSwitch name="CONNECT">
Off
</oneSwitch>
<oneSwitch name="DISCONNECT">
On
</oneSwitch>
</setSwitchVector>

Viewing all articles
Browse latest Browse all 14131


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>