DanielVanNoord / open-phd-guiding

Automatically exported from code.google.com/p/open-phd-guiding
0 stars 0 forks source link

PHD2 + INDI + QHY5IIL on raspbian #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start indi-server indi_qhy_ccd
2. Open PHD2 gear connection settings
3. Select indi camera and connect

What is the expected output? What do you see instead?
My QHY5IIL should connect, and logs says it does, but suddely it disconnects 
and "Connect" button appears again ready for connection....
Can not connect to camera.. 

What version of the product are you using? On what operating system?
raspberry pi raspbian, indi-qhy version 1.2, libindi 0.9.9. PHD2 compiled for 
raspbian from last sources.

Please provide any additional information below.

I have run qhy_test without any errors
When I connect camera on phd2 sdtout shows folling messages...

Found CONNECTION for camera QHY CCD QHY5II
2014-10-22T19:20:29: Driver indi_qhy_ccd: libusb_open -> OK
2014-10-22T19:20:29: Driver indi_qhy_ccd: libusb_set_configuration -> OK
2014-10-22T19:20:29: Driver indi_qhy_ccd: libusb_claim_interface -> OK
Camera connected state: 0
Found CONNECTION for camera QHY CCD QHY5II
2014-10-22T19:20:50: Driver indi_qhy_ccd: libusb_open -> OK
2014-10-22T19:20:50: Driver indi_qhy_ccd: libusb_detach_kernel_driver -> OK
2014-10-22T19:20:50: Driver indi_qhy_ccd: libusb_set_configuration -> OK
2014-10-22T19:20:50: Driver indi_qhy_ccd: libusb_claim_interface -> OK
Camera connected state: 0
Camera connected state: 0

I can not find if it is indi or phd2 issue...

Many Thanks In Advance,
Javier R.

Original issue reported on code.google.com by frjar...@gmail.com on 23 Oct 2014 at 9:34

GoogleCodeExporter commented 9 years ago
Added PHD2 DEBUG lines...

21:39:29.271 29.567 3040423936 Status Line 0: Connecting to Camera ...
21:39:39.709 10.438 3040423936 Throw from 
/media/usbdisk/open-phd-guiding/gear_dialog.cpp:774->OnButtonConnectCamera: 
connect failed
21:39:39.710 00.001 3040423936 Status Line 0: Camera Connect Failed
21:42:00.442 140.732 3040423936 
GetBoolean("/profile/1/target/refCircleEnabled", 0) returns 0
21:42:00.444 00.002 3040423936 GetDouble("/profile/1/target/refCircleRadius", 
2.000000) returns 2.000000
21:42:30.423 29.979 3040423936 Status Line 0: Connecting to Camera ...
21:42:40.683 10.260 3040423936 Throw from 
/media/usbdisk/open-phd-guiding/gear_dialog.cpp:774->OnButtonConnectCamera: 
connect failed
21:42:40.685 00.002 3040423936 Status Line 0: Camera Connect Failed
21:42:50.109 09.424 3040423936 GetBoolean("/profile/1/target/refCircleEnabled", 
0) returns 0
21:42:50.110 00.001 3040423936 GetDouble("/profile/1/target/refCircleRadius", 
2.000000) returns 2.000000
21:42:51.557 01.447 3040423936 StopCapturing CaptureActive=0 
continueCapturing=0 exposurePending=0
21:42:51.558 00.001 3040423936 StopWorkerThread(0x0x828b10) begins
21:42:51.560 00.002 3038057136 Worker thread wakes up
21:42:51.561 00.001 3038057136 worker thread servicing REQUEST_TERMINATE
21:42:51.562 00.001 3038057136 worker thread done servicing request
21:42:51.564 00.002 3038057136 WorkerThread::Entry() ends
21:42:51.579 00.015 3040423936 StopWorkerThread() threadExitCode=0
21:42:51.580 00.001 3040423936 StopWorkerThread(0x0x828b10) ends
21:42:51.581 00.001 3040423936 WorkerThread destructor called
21:42:51.583 00.002 3040423936 StopWorkerThread(0x0x828ca8) begins
21:42:51.584 00.001 3029668528 Worker thread wakes up
21:42:51.586 00.002 3029668528 worker thread servicing REQUEST_TERMINATE
21:42:51.587 00.001 3029668528 worker thread done servicing request
21:42:51.588 00.001 3029668528 WorkerThread::Entry() ends
21:42:51.590 00.002 3040423936 StopWorkerThread() threadExitCode=0
21:42:51.592 00.002 3040423936 StopWorkerThread(0x0x828ca8) ends
21:42:51.593 00.001 3040423936 WorkerThread destructor called
21:42:51.594 00.001 3040423936 Server stopped
21:42:51.596 00.002 3040423936 event server stopped
21:42:51.598 00.002 3040423936 Status Line 0: Server stopped

Original comment by frjar...@gmail.com on 23 Oct 2014 at 10:05

GoogleCodeExporter commented 9 years ago
Please close this issue because it is not a problem with phd2. It must be some 
kind of problem with indi qhyccd driver.

Many Thanks
Javier R.

Original comment by frjar...@gmail.com on 24 Oct 2014 at 3:43

GoogleCodeExporter commented 9 years ago
closing per Javier's request

Original comment by andy.gal...@gmail.com on 24 Oct 2014 at 3:54