Page 1 of 1
Error initialising camera: -1 Unspecified error
Posted: Wed Mar 06, 2013 5:38 am
by hueblo
Hello, kind of new to linux.
Running Raspbian wheezy image on a 2gig sd card
When ever I connect my Canon 5D Mark II to my Raspberry via usb I get the following error
"Error initialising camera: -1 Unspecified error". My initial thought was to look for a usb mode on the camera but I could not find any options. I then thought maybe i need a driver? I have not been able to find one. My goal is to use the camera with gphoto2. When I run the command gphoto2 --auto-detect it does detect the correct name of the model and the port. Besides that command all other gphoto2 commands like capture-image end in a I/O error. I'm not sure where to go from here. Any help would be useful, thank you.
Re: Error initialising camera: -1 Unspecified error
Posted: Sat Aug 10, 2013 5:14 pm
by diallery
Hi
It appears that I have the exact same problem, all my Canon SLRs (40d, 550d). When I connect a simpler Canon (A720, A550) I get no error. Does anyone know how to resolve my problem?
diallery
Re: Error initialising camera: -1 Unspecified error
Posted: Sat Aug 10, 2013 8:19 pm
by mad-hatter
Hello,
I would guess that you will need a larger SD card with an expanded file system.
2 GB is to small (raspi-config is your friend).
Regards
Re: Error initialising camera: -1 Unspecified error
Posted: Sun Aug 11, 2013 8:57 am
by diallery
Hallo
The same problem but not exactly the same config. I have a 8 GB SD card.
Thanks
diallery
Re: Error initialising camera: -1 Unspecified error
Posted: Sun Aug 11, 2013 9:20 am
by mad-hatter
Hello,
Have you expanded the file system on the SD card?
Go to the camera board section of this forum and in the search box try "canon camera", without quotes.
Lot of results, You might try the gphoto Q & A website, not all canon cameras are supported.
Regards
Re: Error initialising camera: -1 Unspecified error
Posted: Sun Aug 11, 2013 4:15 pm
by diallery
Hello
I already expanded the file system at noobs installation, I searched the forum but I only found the exact same problem here. As I connect one of my 3 Canon SLRs I get the message in the headline, the older compact models work fine, in gphoto2 all cameras are recognised but the SLRs can not be triggered.
Thanks for helping
diallery
Re: Error initialising camera: -1 Unspecified error
Posted: Sat Aug 17, 2013 8:49 pm
by Bellavant
I think you have to reset the usb - search the forum there are many postbabout this.
Newest gphoto2 version say it is not necessary have a usb reset. I installed this new version but sometimes had same error so, like the oldest i reset the usb before every use. I hope can help.
Re: Error initialising camera: -1 Unspecified error
Posted: Thu Aug 29, 2013 7:51 pm
by scratchuser
Bellavant wrote:I think you have to reset the usb - search the forum there are many postbabout this.
Newest gphoto2 version say it is not necessary have a usb reset. I installed this new version but sometimes had same error so, like the oldest i reset the usb before every use. I hope can help.
I have the same problem: gphoto2 on my rPI can see my Canon 450D but reports "Error initialising camera: -1 Unspecified error" whenever I try to do anything with it. Works fine on my Ubuntu desktop.
I tried searching the forums but could find nothing on how to reset a USB device or port. Found a C program to do this at
http://marc.info/?l=linux-usb&m=121459435621262&w=2 but when I compiled it, it complained about
linux/usbdevice_fs.h so that is a no-go without some more digging.
Any more ideas?
--- Alistair.
Re: Error initialising camera: -1 Unspecified error
Posted: Thu Aug 29, 2013 8:28 pm
by scratchuser
Oops, found a couple of typos in the code and that usbreset program now appears to work. It also seems to have bought my camera to life!
Many thanks for the hints in this thread guys.
--- Alistair
Re: Error initialising camera: -1 Unspecified error
Posted: Sun Sep 22, 2013 10:02 am
by Chris_J
Hi Alistair,
Any chance you can post a link to the corrected code? I'm having the same problem!
Thanks,
Chris