×

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

Bi-monthly release with minor bug fixes and improvements

Indi support for Meade LS (Autostar III) series

  • Posts: 17
  • Thank you received: 0
Hi Jochym!
Many thanks for your help. I really am interested to control this telescope under linux Kstars. I am primarily a Windows user, but have 3-4 months experience of using linux ubuntu. I have Raspberry pi3 loaded ubuntu mate 16.04LTS, installed kstars-bleeding. I have connected the telescope in the windows8.1 machine and ran Cartes de ciel planetarium software and used usb analyzer to monitor the telescope port. Please download the USBlyzer software capture log from this google drive link:

drive.google.com/file/d/0ByntE7ZqdSzoTTZ...WDg/view?usp=sharing

It's a html exported file. download and open it with browser.

Thanks.
7 years 10 months ago #8515
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
This is interesting - what operations have you performed during the monitoring? This will help me decipher the conversation.
7 years 10 months ago #8517
The topic has been locked.
  • Posts: 17
  • Thank you received: 0
I open the USBlyzer software. Connected the telescope usb cable. Then it appears into the usb list of the software. I selected ETX LS Telescope at COM4 and select start capturing. Then the software started logging. I opened Cartes de ciel planetarium software, opened the control panel and press connect button to connect the telescope with the software. Then I give the telescope a command to slew to Alpha Aris star. Then stopped capturing and export the log.
7 years 10 months ago #8518
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
Good. Thanks. I was hoping for such short action. It looks like the part we need to decipher is actually quite short. Just a few initial commands.
Would it be possible for you to boot linux and get us output of

lsusb -v -d 04cc:0000

This will help identify the enpoints of the device
7 years 10 months ago #8519
The topic has been locked.
  • Posts: 17
  • Thank you received: 0
Please find the attached screen shots.
7 years 10 months ago #8520
Attachments:
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
Thanks. To test my next idea we need to modify the driver a little.
Prepare your system to build a custom module.
You need to install:
linux-headers
build-essential
linux-source 
(technically you do not need the last one, but it is the simplest way to get the files)

Extract the kernel source somewhere (we only need two files from there)
get the cdc-acm.c and dcd-acm.h files from the drivers/usb/class directory in the kernel tree and copy to some working directory (e.g. src/meade-serial/ in your home directory).
Put the following code in the file: Makefile in the same directory:
obj-m := cdc-acm.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
There must be tab before $(MAKE) in last line.
next run make in this directory. This should build cdc-acm.ko module.
run:
sudo modprobe -r cdc-acm
sudo insmod cdc-acm.ko
and check the logs (it should load but fail exactly the same - we did not change anything yet). Get back here and I will tell you what to change next.
Good luck!
The following user(s) said Thank You: Evgeniy
Last edit: 7 years 10 months ago by Paweł. Reason: Typo
7 years 10 months ago #8522
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
Now for the modifications. They are actually simple.
Find the line in cdc-acm.c containig (around line 1760):
        { USB_DEVICE(0x2912, 0x0001), /* ATOL FPrint */
        .driver_info = CLEAR_HALT_CONDITIONS,
        },
and insert following code below:
        { USB_DEVICE(0x04cc, 0x0000), /* Meade LS telescope */
        .driver_info = NO_UNION_NORMAL,
        },
 
just before comment about Nokia S60.

Save the file run
make
again and then run:
sudo modprobe -r cdc-acm
sudo insmod cdc-acm.ko

Disconnect and connect the scope afterwards and check the logs.
Last edit: 7 years 10 months ago by Paweł. Reason: line numeber in the file
7 years 10 months ago #8524
The topic has been locked.
  • Posts: 29
  • Thank you received: 2
Hi,
Did the problem get solved ?
7 years 2 weeks ago #15897
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
No. s21xt never got back to me.
7 years 2 weeks ago #15903
The topic has been locked.
  • Posts: 3
  • Thank you received: 0
I have MEADE LS 6 for 5 years. I will happily continue.
6 years 1 month ago #23775
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
Do you have the same problem?
5 years 10 months ago #26242
The topic has been locked.
  • Posts: 200
  • Thank you received: 57
I mean do you want to work on making the mount talking to indi?
This will involve compiling your own serial drivers for the kernel and at least moderate poking around the linux system. Are you up for this?
And we may end empty-handed for our efforts...
5 years 10 months ago #26243
The topic has been locked.
Time to create page: 0.652 seconds