×

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

Bi-monthly release with minor bug fixes and improvements

Error when using SX SXVR-H18

If you're using my repo then most likely you already have latest version of everything including INDI SX driver.
9 years 1 month ago #3305

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

  • Posts: 8
  • Thank you received: 0

Replied by Nick on topic Error when using SX SXVR-H18

It is indi library 1.0
I tried it again today. lsusb recognizes the camera. The indiserver connects to the camera without errors and everything looks to be working in Ekos.

I don't get any error messages it just never downloads an image.

I tried capturing an image from the command line too and the log just hangs at read.

One thing to note is that the driver recognizes the camera as SXVR-H36 when it is actually an SXVF-36. Could this be a problem?

I also have failed completely to get my Orion ssag working in ekos. I thought that it was supported by the QHY drivers?

Thanks.
9 years 1 month ago #3306

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

What's the VID:PID for both SXVR-H36 and SSAG?
The following user(s) said Thank You: Nick
9 years 1 month ago #3308

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

  • Posts: 85
  • Thank you received: 3

When looking at the code in the trunk, I see that the sleep was commented out, but 'libusb_bulk_transfer' is still trying to download the data in one single chunk.

For me (with the H18 camera), it worked when reading in chunks smaller than about 15MB, otherwise libusb gives some strange error.

This is the code you sent me earlier. I played a little bit with the chunk size to see how large chunks I could read before it gave error. Above 15 gave error. I recommend setting 10MB to be safe.
#define CHUNK_SIZE                  15728640 //15*1024*1024

In sxReadPixels function
int size = MIN(count - read, CHUNK_SIZE);
rc = libusb_bulk_transfer(sxHandle, BULK_IN, (unsigned char *)pixels + read, size, &transferred, BULK_DATA_TIMEOUT);
The following user(s) said Thank You: Nick
9 years 1 month ago #3310

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

  • Posts: 712
  • Thank you received: 174
OK, I'll change it that way. Peter
9 years 1 month ago #3311

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

  • Posts: 8
  • Thank you received: 0

Replied by Nick on topic Error when using SX SXVR-H18

I will check and let you know later today.

Thank you.
9 years 1 month ago #3313

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

  • Posts: 712
  • Thank you received: 174
Done. CHUNK_SIZE set to 10MB. Peter
9 years 1 month ago #3332

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

  • Posts: 8
  • Thank you received: 0

Replied by Nick on topic Error when using SX SXVR-H18

Does this mean that I should reinstall the SX driver and try it again?
Thanks.
9 years 1 month ago #3333

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

  • Posts: 712
  • Thank you received: 174
If you are using ppa:mutlaqja/ppa you may need to wait a couple of hours until it gets rebuild and then reinstall. If you are building it from source, you can checkout and rebuild it anytime. Peter
The following user(s) said Thank You: Nick
9 years 1 month ago #3334

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

  • Posts: 8
  • Thank you received: 0

Replied by Nick on topic Error when using SX SXVR-H18

Thank You. That fixed the problem. The image downloads now.
9 years 1 month ago #3343

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

  • Posts: 8
  • Thank you received: 0

Replied by Nick on topic Error when using SX SXVR-H18

The SX camera is working now.

dmesg shows this when the Orion SSAG is plugged in
[ 718.676226] usb 1-3: new high-speed USB device number 5 using ehci-pci
[ 718.808489] usb 1-3: New USB device found, idVendor=1856, idProduct=0011
[ 718.808509] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0

lsusb gives
Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 005: ID 1856:0011
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I hope this is of some help.
Let me know if there is anything other info I can give you.

Thanks.
-Nick
9 years 1 month ago #3344

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

  • Posts: 85
  • Thank you received: 3
I can also confirm that the new version is working with my H18.

/Daniel
9 years 1 month ago #3353

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

Time to create page: 0.715 seconds