Discussion:
[gphoto-devel] Canon EOS M5 Submission
Jim Howard
2017-03-09 21:18:33 UTC
Permalink
lsusb -v output:

Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
bcdDevice 0.02
iManufacturer 1 Canon Inc.
iProduct 2 Canon Digital Camera
iSerial 3 DDB2246A54BB470EB9BE89673EA671B9
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 9
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered



gphoto2 --auto-detect
Model
Port
----------------------------------------------------------
USB PTP Class Camera usb:003,011




env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image


*** Error ***
Sorry, your camera does not support generic capture
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-6: 'Unsupported operation') ***
Marcus Meissner
2017-03-10 07:07:18 UTC
Permalink
Hi Jim,

I have added the ID.

In current GIT (no release yet), the EOS M5 might work even with some
capture functionality.

I have an M3 user in

https://github.com/gphoto/libgphoto2/issues/5

(It might need some additional fixes after reviewing that issue.)

Ciao, Marcus
Post by Jim Howard
Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
Jim Howard
2017-03-10 23:43:06 UTC
Permalink
Thanks Marcus, I will give the git repo a go and see if I get anything
further.

Jim
Post by Marcus Meissner
Hi Jim,
I have added the ID.
In current GIT (no release yet), the EOS M5 might work even with some
capture functionality.
I have an M3 user in
https://github.com/gphoto/libgphoto2/issues/5
(It might need some additional fixes after reviewing that issue.)
Ciao, Marcus
Post by Jim Howard
Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
Jim Howard
2017-03-12 13:46:06 UTC
Permalink
I see I did not have the list in the email to: correcting.

gphoto2 --auto-detect
Model Port

----------------------------------------------------------
Canon EOS M5 usb:001,006


First steps. Have both libgphoto2 and gphoto2 built and installed from
master.


Next step was to again try the capture and download:

gphoto2 --capture-image-and-download


*** Error ***
Canon EOS Full-Release failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-110: 'I/O in progress') ***

This is the response I get on most queries to the camera around capture. I
am able to use the download function to pull pictures from the camera, so
it is talking for some things.

Debug log attached.
Post by Jim Howard
Thanks Marcus, I will give the git repo a go and see if I get anything
further.
Jim
Post by Marcus Meissner
Hi Jim,
I have added the ID.
In current GIT (no release yet), the EOS M5 might work even with some
capture functionality.
I have an M3 user in
https://github.com/gphoto/libgphoto2/issues/5
(It might need some additional fixes after reviewing that issue.)
Ciao, Marcus
Post by Jim Howard
Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
Marcus Meissner
2017-04-23 18:05:53 UTC
Permalink
Hi Jim,

Please check 2.5.13 release. it should now work.

Ciao, Marcus
Post by Jim Howard
I see I did not have the list in the email to: correcting.
gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon EOS M5 usb:001,006
First steps. Have both libgphoto2 and gphoto2 built and installed from
master.
gphoto2 --capture-image-and-download
*** Error ***
Canon EOS Full-Release failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-110: 'I/O in progress') ***
This is the response I get on most queries to the camera around capture. I
am able to use the download function to pull pictures from the camera, so
it is talking for some things.
Debug log attached.
Post by Jim Howard
Thanks Marcus, I will give the git repo a go and see if I get anything
further.
Jim
Post by Marcus Meissner
Hi Jim,
I have added the ID.
In current GIT (no release yet), the EOS M5 might work even with some
capture functionality.
I have an M3 user in
https://github.com/gphoto/libgphoto2/issues/5
(It might need some additional fixes after reviewing that issue.)
Ciao, Marcus
Post by Jim Howard
Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
Marcus Meissner
2017-04-23 18:15:54 UTC
Permalink
Hi,

actually just current git, and 2.5.14 when I release that ... sorry for that.

Ciao, Marcus
Post by Marcus Meissner
Hi Jim,
Please check 2.5.13 release. it should now work.
Ciao, Marcus
Post by Jim Howard
I see I did not have the list in the email to: correcting.
gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon EOS M5 usb:001,006
First steps. Have both libgphoto2 and gphoto2 built and installed from
master.
gphoto2 --capture-image-and-download
*** Error ***
Canon EOS Full-Release failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-110: 'I/O in progress') ***
This is the response I get on most queries to the camera around capture. I
am able to use the download function to pull pictures from the camera, so
it is talking for some things.
Debug log attached.
Post by Jim Howard
Thanks Marcus, I will give the git repo a go and see if I get anything
further.
Jim
Post by Marcus Meissner
Hi Jim,
I have added the ID.
In current GIT (no release yet), the EOS M5 might work even with some
capture functionality.
I have an M3 user in
https://github.com/gphoto/libgphoto2/issues/5
(It might need some additional fixes after reviewing that issue.)
Ciao, Marcus
Post by Jim Howard
Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
--
Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. 3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <***@suse.de>
Jim Howard
2017-04-24 00:49:39 UTC
Permalink
It works!

Thanks much Marcus.

Jim
Post by Marcus Meissner
Hi,
actually just current git, and 2.5.14 when I release that ... sorry for that.
Ciao, Marcus
Post by Marcus Meissner
Hi Jim,
Please check 2.5.13 release. it should now work.
Ciao, Marcus
Post by Jim Howard
I see I did not have the list in the email to: correcting.
gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon EOS M5 usb:001,006
First steps. Have both libgphoto2 and gphoto2 built and installed from
master.
gphoto2 --capture-image-and-download
*** Error ***
Canon EOS Full-Release failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-110: 'I/O in progress') ***
This is the response I get on most queries to the camera around
capture. I
Post by Marcus Meissner
Post by Jim Howard
am able to use the download function to pull pictures from the camera,
so
Post by Marcus Meissner
Post by Jim Howard
it is talking for some things.
Debug log attached.
Post by Jim Howard
Thanks Marcus, I will give the git repo a go and see if I get
anything
Post by Marcus Meissner
Post by Jim Howard
Post by Jim Howard
further.
Jim
On Fri, Mar 10, 2017 at 1:07 AM, Marcus Meissner <
Post by Marcus Meissner
Hi Jim,
I have added the ID.
In current GIT (no release yet), the EOS M5 might work even with
some
Post by Marcus Meissner
Post by Jim Howard
Post by Jim Howard
Post by Marcus Meissner
capture functionality.
I have an M3 user in
https://github.com/gphoto/libgphoto2/issues/5
(It might need some additional fixes after reviewing that issue.)
Ciao, Marcus
Post by Jim Howard
Bus 003 Device 011: ID 04a9:32bb Canon, Inc.
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x32bb
------------------------------------------------------------
------------------
Post by Marcus Meissner
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
--
Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi.
3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <
Jim Howard
2017-04-24 01:04:52 UTC
Permalink
Now that my M5 can capture, and can capture and download, I thought I would
try bulb mode. This is the real reason for wanting gphoto to work, so do
astro things with it.

The options seem to be there:

/usr/local/bin/gphoto2 --list-all-config |grep -i bulb
Choice: 4 Bulb
Choice: 0 bulb

but I get the following error (log attached):

$ env LANG=C /usr/local/bin/gphoto2 --debug --debug-logfile=my-logfile.txt
-B5 --capture-image-and-download
Bulb mode enabled (exposure time:
5s).

*** Error ***
bulb not found in configuration tree.
ERROR: Could not set bulb capture, result -1.
*** Error (-1: 'Unspecified error') ***

Loading...