Hi,
Could you please add support for Canon EOS1100D ? Actually it's supported, but --list-cameras is not showing its name.
chateau.d.if!abbe:~ % sudo gphoto2 --port=usb:ugen7.2 --get-config=/main/status/model
Label: Camera Model
Type: TEXT
Current: 2147484296
chateau.d.if!abbe:~ % sudo gphoto2 --auto-detect
Model Port
----------------------------------------------------------
USB PTP Class Camera usb:/dev/usb,/dev/ugen7.2
Please let me know if need any more information.
Thanks
What is the USB id. That information is needed.
do you have the usb ids for it? then we can just add it.
also please report if both
gphoto2 --capture-image
and
gphoto2 --capture-preview
work :)
chateau.d.if!abbe:~ % sudo usbconfig -d ugen7.2 dump_device_desc
ugen7.2: <Canon Digital Camera Canon Inc.> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x04a9
idProduct = 0x3217
bcdDevice = 0x0002
iManufacturer = 0x0001 <Canon Inc.>
iProduct = 0x0002 <Canon Digital Camera>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
I guess from above output USB id is 04a9:3217 ?
I executed "gphoto2 --capture-image" and it captured a photo, but I'm not able to find any photo at that location in SD card plugged in to the camera. Following is the output:
chateau.d.if!abbe:/tmp % sudo gphoto2 --port usb:ugen7.2 --capture-image
New file is in location /capt0000.jpg on the camera
Following is the output of "gphoto2 --capture-preview", I'm also attaching logfile, in case it helps to troubleshoot.
chateau.d.if!abbe:/tmp % sudo gphoto2 --port usb:ugen7.2 --capture-preview
*** Error (-110: 'I/O in progress') ***
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --port usb:ugen7.2 --capture-preview
Please make sure there is sufficient quoting around the arguments.
Thanks
debug output of "gphoto2 --capture-preview"
I've attached the log file (with some details related to my host removed and camera serial number masked), and forgot to mention, I'm running FreeBSD 8.2-RELEASE (amd64).
HTH
gphoto2 --capture-image-and-download would be better.
(it is in SDRAM capture mode, the image is just in RAM and so gets lost as gphoto2 terminates.)
the ids are the right ones, thanls ;)
Thanks, that works. And any ideas about '--capture-preview' ? Was that expected from this?
lsusb shows;
Bus 001 Device 005: ID 04a9:3217 Canon, Inc.
for 1100d
the I/O error on --capture-preview should not have happened.
:/
did you try a current libgphoto2 version (2.4.11 or 2.4.13)?
it works on my eos1000d though
EOS 1100D is in and successes were reported.