×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Sharpsky Pro Focuser Driver

  • Posts: 205
  • Thank you received: 19
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.
7 years 1 week ago #15348
Attachments:

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

  • Posts: 983
  • Thank you received: 375
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: Jasem Mutlaq, Chris Ryan
7 years 1 week ago #15366

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

  • Posts: 205
  • Thank you received: 19
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.
7 years 1 week ago #15401

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

Time to create page: 0.178 seconds