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

StellarMate and INDI Web Server - by: relicsraage

$
0
0
Hello folks,

My first post to this forum after months of lurking. I was able to find solutions to most of my challenges. However, I am stumped on this.
Testing was done with/without a USB3 hub.

First, created a dedicated serial connection in INDI Web Server.

Stellarmate
4.9.78-v7+
Invoked KStars and Ekos
Pegasus DMFC connected to a Powered USB Hub.
Output from INDI Web Server
/dev/focuser VID:0x2109 PID:0x2812
la -la /dev
lrwxrwxrwx 1 root root 15 Apr 12 04:49 focuser -> bus/usb/001/009
lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 3: Dev 9, If 0, Class=Hub, Driver=hub/4p, 480M
dmesg -wH
+17.019851] usb 1-1.3.1: new full-speed USB device number 18 using dwc_otg
[ +0.109976] usb 1-1.3.1: device descriptor read/64, error -71
[ +0.230007] usb 1-1.3.1: device descriptor read/64, error -71
[ +0.229990] usb 1-1.3.1: new full-speed USB device number 19 using dwc_otg
[ +0.109983] usb 1-1.3.1: device descriptor read/64, error -71
[ +0.230019] usb 1-1.3.1: device descriptor read/64, error -71
[ +0.120250] usb 1-1.3-port1: attempt power cycle
[ +0.679737] usb 1-1.3.1: new full-speed USB device number 20 using dwc_otg
[ +0.440022] usb 1-1.3.1: device not accepting address 20, error -71
[ +0.110011] usb 1-1.3.1: new full-speed USB device number 21 using dwc_otg
[ +0.439967] usb 1-1.3.1: device not accepting address 21, error -71
[ +0.000242] usb 1-1.3-port1: unable to enumerate USB device
Output from INDI Control Panel
2018-04-12T10:52:54: [ERROR] Failed to connect to port (/dev/focuser). Error: Port failure Error: Inappropriate ioctl for
device. Check if device is connected to this port.
Pegasus DMFC Tab - Connection set at "Connection Mode: Serial" "Ports: /dev/focuser"
Scan Ports returns: [WARNING] No candidate ports found on the system.

Does not connect

**************
**************
Pegasus DMFC connected directly to Stellarmate.
ls -la
crw-rw---- 1 root dialout 188, 0 Apr 12 05:34 ttyUSB0
/dev$ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 47, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
|__ Port 3: Dev 46, If 0, Class=Hub, Driver=hub/4p, 480M
Dmesg -wH
+1.906016] usb 1-1.2: new full-speed USB device number 47 using dwc_otg
[ +0.156973] usb 1-1.2: New USB device found, idVendor=0403, idProduct=6015
[ +0.000015] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000009] usb 1-1.2: Product: DMFC v3.2
[ +0.000007] usb 1-1.2: Manufacturer: Pegasus Astro
[ +0.000009] usb 1-1.2: SerialNumber: PA2GUZRV
[ +1.124261] usbcore: registered new interface driver usbserial
[ +0.000093] usbcore: registered new interface driver usbserial_generic
[ +0.000083] usbserial: USB Serial support registered for generic
[ +0.012106] usbcore: registered new interface driver ftdi_sio
[ +0.000103] usbserial: USB Serial support registered for FTDI USB Serial Device
[ +0.000353] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
[ +0.000195] usb 1-1.2: Detected FT-X
[ +0.001211] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0

Pegasus DMFC Tab - Device found and running on ttyUSB0

For completeness, when I connect this focuser to MacOs, I get an the address /dev/cu.usbserial-PA2GUZRV

This is not a show stopper, as I can still plug the focuser directly into one of the StellarMates USB ports, but the less devices on this box the better to avoid low voltage events. (changed cables and power wart and USB3 Hubs)

Ran log files for INDI & Focuser for both tests.

I am open to suggestions at this point.

Regards

Viewing all articles
Browse latest Browse all 14131


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