Camera Hacker

:

Add Comment | Related Links | TrackBack
Related Content

EdsOpenSession returning "not supported" (Canon EOS SDK 2.8)

Hi All,

I'm developing a C++ application for Windows that need to control Canon 500D. It works fine with Canon 350D but for some reason when I connect 500D I EdsOpenSession function from the SDK returns error code 0x00000007 which means the operation is not supported.
I have been struggling with this issue for more than two weeks already. Any help is greatly appreciated!

Here is a log file my program creates when I first connect the 350D and then disconnect it and connect the 500D.
[18:23:20.452] Start Logging...

[18:23:20.455] Camera Module GetScannerCtlPluginInfo()
[18:23:20.456] Camera Module GetScannerCtlObject()

[18:23:20.459] EDCamera::Initialize()
[18:23:20.463] EdsInitializeSDK()
[18:23:20.527] EdsSetCameraAddedHandler() = 0x00000000
[18:23:20.528] EDCamera::SetupCamera()
[18:23:20.528] EdsGetCameraList() = 0x00000000
[18:23:21.911] EdsGetChildCount( count = 1 ) = 0x00000000
[18:23:21.911] EdsGetChildAtIndex( 0 ) = 0x00000000
[18:23:21.911] EdsGetDeviceInfo() = 0x00000000
[18:23:21.911] Create Camera model: Legacy protocol
[18:23:21.911] EdsSetPropertyEventHandler() = 0x00000000
[18:23:21.911] EdsSetObjectEventHandler() = 0x00000000
[18:23:21.912] EdsSetCameraStateEventHandler() = 0x00000000
[18:23:22.452] EdsOpenSession() = 0x00000000
[18:23:22.452] Camera is connected
[18:23:39.658] EDCamera::OnCameraStateEventHandler( 'kEdsStateEvent_Shutdown', Param = 1 )

[18:23:39.659] ReleaseCamera()
[18:23:39.879] EdsCloseSession() = 0x00000000

[18:24:17.845] EDSCALLBACK EDCamera::CameraAddedHandler()
[18:24:17.845] EDCamera::SetupCamera()
[18:24:17.845] EdsGetCameraList() = 0x00000000
[18:24:18.689] EdsGetChildCount( count = 1 ) = 0x00000000
[18:24:18.689] EdsGetChildAtIndex( 0 ) = 0x00000000
[18:24:18.689] EdsGetDeviceInfo() = 0x00000000
[18:24:18.689] Create Camera model: PTP protocol
[18:24:18.689] EdsSetPropertyEventHandler() = 0x00000000
[18:24:18.690] EdsSetObjectEventHandler() = 0x00000000
[18:24:18.690] EdsSetCameraStateEventHandler() = 0x00000000
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000400, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000400, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000404, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000401, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000403, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000403, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000106, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000106, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000108, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000010D, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000040A, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000001, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000114, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000405, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000405, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000406, Param = 0 )
[18:24:19.016] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000406, Param = 0 )
[18:24:19.017] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000402, Param = 0 )
[18:24:19.017] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000402, Param = 0 )
[18:24:19.017] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000407, Param = 0 )
[18:24:19.017] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000407, Param = 0 )
[18:24:19.017] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000040B, Param = 0 )
[18:24:19.017] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000008, Param = 0 )
[18:24:19.021] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000006, Param = 0 )
[18:24:19.021] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000000B, Param = 0 )
[18:24:19.038] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000000D, Param = 0 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000000C, Param = 0 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000100, Param = 0 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000102, PropertyID = 0x00000100, Param = 0 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 129 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 130 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 131 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 132 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 133 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 134 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000114, Param = 33 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 33 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000114, Param = 34 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 34 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000114, Param = 35 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000115, Param = 35 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 257 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 259 )
[18:24:19.051] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 271 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 513 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 514 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 515 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 516 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 1294 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 1551 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 1793 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 1796 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 2065 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000009, Param = 2063 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000000E, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000416, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000415, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000500, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000501, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000504, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000505, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000502, Param = 0 )
[18:24:19.052] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000506, Param = 0 )
[18:24:19.053] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000000F, Param = 0 )
[18:24:19.053] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000204, Param = 0 )
[18:24:19.053] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x00000022, Param = 0 )
[18:24:19.053] EDCamera::OnPropertyEventHandler( Event = 0x00000101, PropertyID = 0x0000050D, Param = 0 )
[18:24:19.060] EdsOpenSession() = 0x00000007
[18:24:19.060] Camera is not connected

[18:24:44.545] EDCamera::UnInitialize()

[18:24:44.546] ReleaseCamera()
[18:24:44.551] EdsTerminateSDK()

[18:24:44.568] Stop Logging.

Andrew
Wed, 04 Aug 2010 15:08:13 +0000

Hi,

did you solve your problem? I have the same issue like you have, only one difference (I'm using C#).
I tried several examples, but all of them fails on opening session with error code 7 on my Canon 550D.

twin_aphex
Mon, 09 Jan 2012 22:35:53 +0300

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 4 + 5?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.