Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Indi support for Meade LS (Autostar III) series

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8510

  • s21xt
  • s21xt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Hi!
I am not Linux geek. Please see the attached picture. Don't know what to do.
Attachments:

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

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8511

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
Sorry. I was too brief. On the second look at your logs I have noticed that the cdc_acm serial driver is actually trying to talk to the device but fails. So my previous idea was wrong. I think that Jasem's guess that the cdc_acm driver needs to be patched to support this usb-serial chip. Unfortunately without knowing what is really inside this seems to be next to impossible.

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

P.

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8514

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
If you still want to get the scope working under Linux we can try to sniff the USB traffic of the windows driver to figure out how to talk to the device. Yo would need to install a USB snooper under windows and record the initial sequence when the scope is connected. I can guide you with this if you decide to do it. Are you primarily windows or Linux user?

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

P.

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8515

  • s21xt
  • s21xt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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.

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

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8517

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
This is interesting - what operations have you performed during the monitoring? This will help me decipher the conversation.

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

P.

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8518

  • s21xt
  • s21xt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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.

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

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8519

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
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

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

P.

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8520

  • s21xt
  • s21xt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Please find the attached screen shots.
Attachments:

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

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8522

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
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!

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

P.
Last Edit: by Jochym. Reason: Typo

Indi support for Meade LS (Autostar III) series 2 years 4 weeks ago #8524

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
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.

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

P.
Last Edit: by Jochym. Reason: line numeber in the file

Indi support for Meade LS (Autostar III) series 1 year 2 months ago #15897

  • VTVL
  • VTVL's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 5
Hi,
Did the problem get solved ?

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

Indi support for Meade LS (Autostar III) series 1 year 2 months ago #15903

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 156
  • Karma: 2
  • Thank you received: 41
No. s21xt never got back to me.

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

P.
Time to create page: 0.179 seconds

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!


Gallery

Replica

Why INDI

Replica