jcupitt / rtiacquire

Remote control of any DSLR camera
GNU Lesser General Public License v2.1
92 stars 21 forks source link

Canon live view not working #14

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi! I am trying to use RTIacquire for a photo booth, however, the liveview functionality does not work and I do not know what the solution to this problem is. When I click the play button on the application I get the following output on the terminal:

sam@sam-Linux:~/photobooth/rtiacquire-master$ RTIAcquire 
ERROR:root:error - foreach_func [gphoto2-port-info-list.c:237]: Error during assembling of port list: 'Unspecified error' (-1).
ERROR:root:error - ptp_list_folder_eos [library.c:7017]: storage 0xffffffff, but handle 0x00000000?
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x9152 receiving resp failed: PTP Operation Not Supported (0x2005)
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x911c receiving resp failed: PTP Device Busy (0x2019)
ERROR:root:error - camera_unprepare_canon_eos_capture [config.c:450]: 'ptp_canon_eos_resetuilock (params)' failed: PTP Device Busy (0x2019)
ERROR:root:error - foreach_func [gphoto2-port-info-list.c:237]: Error during assembling of port list: 'Unspecified error' (-1).
ERROR:root:error - ptp_list_folder_eos [library.c:7017]: storage 0xffffffff, but handle 0x00000000?

I am using ubuntu 16.04.2 and Canon 70D, which is one of the cameras that is supported by gphoto2

Thank you for your help :D

jcupitt commented 7 years ago

Hello Sam, sorry, I don't have that camera, I can't really help.

PTP Device Busy (0x2019) sounds like gphoto perhaps can't get the USB. Could some other program (like shotwell) have grabbed it?

I think I would try to get command-line gphoto2 working, then see how that compares to what rtiacquire is doing.

ghost commented 7 years ago

Hi jcupitt, thanks so much for your quick reply!

The gphoto2 cli works fine. I can do both gphoto2 --capture-image and gphoto2 --capture movie without a problem so I do not think that another application has grabbed the camera.

When I take a picture from rtiacquire it also works perfectly, however, I still get error messages:

ERROR:root:error - foreach_func [gphoto2-port-info-list.c:237]: Error during assembling of port list: 'Unspecified error' (-1).
ERROR:root:error - ptp_list_folder_eos [library.c:7017]: storage 0xffffffff, but handle 0x00000000?
ERROR:root:error - ptp_usb_getresp [usb.c:428]: PTP_OC 0x911c receiving resp failed: PTP Device Busy (0x2019)
ERROR:root:error - camera_unprepare_canon_eos_capture [config.c:450]: 'ptp_canon_eos_resetuilock (params)' failed: PTP Device Busy (0x2019)

Do you have any other ideas to what may be the problem?

jcupitt commented 7 years ago

Sorry, no :( It was working with a Canon a few years ago, but I've not used a recent one with it. Good luck!

Adi-18 commented 6 years ago

I also have that problem with canon EOS 200D