×

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

  • Posts: 712
  • Thank you received: 174
Hi Daniel, thank you for info. I'll try it and if it will work with other cameras and computers I'll change it in repo. Peter
9 years 2 months ago #3129

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

  • Posts: 85
  • Thank you received: 3
Hi Peter.
I hope that it works.
And just to clarify, I set the chuck size to one MB just to see if all the lines cleared in the no sleep case. If you're going to change it in the repo maybe a 10MB chunk would be more practical and to avoid too many read cycles.

/Daniel
9 years 2 months ago #3131

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

Hello,

I have encountered this same problem with an SXVF-H36 so I am also looking for a solution.

Please let me know if I can be of any help.

Thanks.
-Nick
9 years 1 month ago #3301

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

Nick,

Which INDI Library are you using? from what source?
The following user(s) said Thank You: Nick
9 years 1 month ago #3302

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

  • Posts: 712
  • Thank you received: 174
Nick, if it is the same problem, it was fixed in rev 2006 about two weeks ago. Make sure you are using the most recent version of the driver. Peter
The following user(s) said Thank You: Nick
9 years 1 month ago #3303

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 have to check which version it is when I get home.
I installed it just yesterday using the ubuntu binary
apt-get install indi-full
apt-get install kstars-bleeding

Ubuntu version is 14.10, also updated yesterday.

Thanks.
9 years 1 month ago #3304

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

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.

Time to create page: 1.130 seconds