Welcome, Guest
Username: Password: Remember me
27 Feb 2017
INDI development team is happy to announce the release of INDI Library v1.4.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers. Several improvements and enhancements are included in this release including native support for Cygwin and MacOS platforms in addition to Linux, BSD, and Windows (Client only).
Read More...
  • Page:
  • 1
  • 2

TOPIC: Sharpsky Pro Focuser Driver

Sharpsky Pro Focuser Driver 1 week 23 hours ago #15348

  • lazjen
  • lazjen's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 162
  • Thank you received: 6
OK, time to get started then. Can't wait forever. It would be nice to have the protocol, etc to speed this up, but it appears not to be an option.

Dmesg gives this when I connect the focuser:

44.703687] usb 2-1.1.1.1: new full-speed USB device number 7 using ehci-pci
[ 44.799169] usb 2-1.1.1.1: New USB device found, idVendor=0925, idProduct=7001
[ 44.799171] usb 2-1.1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 44.799173] usb 2-1.1.1.1: Product: Generic HID
[ 44.799174] usb 2-1.1.1.1: Manufacturer: SharpSky Pro
[ 44.802145] hid-generic 0003:0925:7001.0002: hiddev0,hidraw1: USB HID v1.11 Device [SharpSky Pro Generic HID] on usb-0000:00:1d.0-1.1.1.1/input0

It looks like it sets up 2 things under /dev -> /dev/hidraw1 and /dev/usb/hiddev0.

Under Windows, I ran Wireshark to capture some USB traffic. I've never used Wireshark before so I don't know what I am doing with it yet. :)

I've attached some captured output files that I'll start working on trying to understand. One file is just connecting the focuser only. The other has connection and moving the focuser back and forth. I've attached in case someone else can understand the data and/or tell me if I'm capturing the right stuff.
Attachments:

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

Sharpsky Pro Focuser Driver 1 week 9 hours ago #15366

It looks like the focuser is recognized as a hid device, not a serial device. I have experience with programming a driver for the latter, based on the serial over usb communication (UART). That's how quantum filter wheel was developed based on serial commands sniffed with wireshark.
For HID device, It might be the case that you will not get anywhere further with this without specification of the communication protocol.
The following user(s) said Thank You: knro, lazjen

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

Sharpsky Pro Focuser Driver 6 days 16 hours ago #15401

  • lazjen
  • lazjen's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 162
  • Thank you received: 6
Well that certainly slams the brakes on it.

I was looking at the moonlite and robofocus code trying to understand it and it looks relatively easy. I couldn't relate the data I saw from wireshark at all.

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

  • Page:
  • 1
  • 2
Time to create page: 0.220 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