×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Sharpsky Pro Focuser Driver

  • Posts: 200
  • Thank you received: 14
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.
5 years 3 months ago #15348
Attachments:

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

  • Posts: 981
  • Thank you received: 374
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.
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
The following user(s) said Thank You: Jasem Mutlaq, Chris Ryan
5 years 3 months ago #15366

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

  • Posts: 200
  • Thank you received: 14
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.
5 years 3 months ago #15401

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

Time to create page: 0.185 seconds