SB replied to the topic 'indi_sx_ccd not working' in the forum. 8 years ago

Hello again;

Finally I compiled ok from the source "indi-master". I comment out the content of sxGetCameraModel() function and also I increased the time out of lines 114 &115 to 3000000 each one. The error persists :(

s@s-VirtualBox:~/indi/build/3rdparty$ sx_ccd_test
sx_ccd_test version. If this is shown, the modification success 1.12

sxList: 'CoStar' #1 [0x1278, 0x517] found
sxList() -> 1

testing CoStar ---------------testing modified file--------------------

sxOpen: libusb_open -> OK
sxOpen: libusb_get_config_descriptor -> OK
sxOpen: libusb_claim_interface(1) -> OK
sxOpen() -> 1

sxGetCameraModel() -> 0

sxGetCameraParams: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
sxGetCameraParams(..., 0,...) -> 0

sxSetTimer: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
sxSetTimer(900) -> 0

sxGetTimer: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
sxGetTimer() -> 0

sxClearPixels: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
sxClearPixels(..., 0) -> 0

sxLatchPixels: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
sxLatchPixels(..., 0, ...) -> 0

sxReadPixels: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
sxReadPixels() -> 0

0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 

sxClose: libusb_close
sxClose()


I guess that virtualbox can not provide enough timming between messages to allow this camera to work properly. I faced this problem before with Ueye cameras, but I solve it changing the configuration of Virtualbox to USB3 (even when the camera was connected to a USB port). However, in this case it seem that there is no solution when using virtualbox (at least, I have no more ideas).

Read More...