Thank you for your contributions, Marcus. Attached are the summary.log and summary.txt files you asked for.

By the way, I think you may have mistyped the command. It seems to be:
```
gphoto2 --summary --debug --debug-logfile=summary.log > summary.txt
```

Which uses `—debug` instead of `—debuginfo

Camera summary:
Manufacturer: LEICA
Model: LEICA SL (Typ 601)
  Version: 3.7
  Serial Number: 00000000000000000000000004966339
Vendor Extension ID: 0x6 (1.0)

Capture Formats: 
Display Formats: Association/Directory, DPOF, Apple Quicktime, Defined Type, 
TIFF EP, JPEG
Supported MTP Object Properties:
        Association/Directory/3001: dc01/StorageID dc02/ObjectFormat 
dc03/ProtectionStatus dc04/ObjectSize dc05/AssociationType dc07/ObjectFileName 
dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name
        DPOF/3006: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus 
dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject 
dc41/PersistantUniqueObjectIdentifier dc44/Name
        Apple Quicktime/300d: dc01/StorageID dc02/ObjectFormat 
dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject 
dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height 
dc89/Duration de93/SampleRate de94/NumberOfChannels de97/ScanDepth 
de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate
        Defined Type/3800: dc01/StorageID dc02/ObjectFormat 
dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject 
dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height 
dcd3/ImageBitDepth
        TIFF EP/3802: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus 
dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject 
dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height 
dcd3/ImageBitDepth
        JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus 
dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject 
dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height 
dcd3/ImageBitDepth

Device Capabilities:
        File Download, File Deletion, No File Upload
        Generic Image Capture, No Open Capture, No vendor specific capture

Storage Devices Summary:
store_00010001:
        StorageDescription: SD1
        VolumeLabel: None
        Storage Type: Removable RAM (memory card)
        Filesystemtype: Digital Camera Layout (DCIM)
        Access Capability: Read-Write
        Maximum Capability: 64139296768 (61168 MB)
        Free Space (Bytes): 64136544256 (61165 MB)
        Free Space (Images): 0
store_00020001:
        StorageDescription: SD2
        VolumeLabel: None
        Storage Type: Removable RAM (memory card)
        Filesystemtype: Digital Camera Layout (DCIM)
        Access Capability: Read-Write
        Maximum Capability: 63831015424 (60874 MB)
        Free Space (Bytes): 63828262912 (60871 MB)
        Free Space (Images): 0

Device Property Summary:
Battery Level(0x5001):(read only) (type=0x2) Range [0 - 100, step 1] value: 20% 
(20)
White Balance(0x5005):(readwrite) (type=0x4) Enumeration 
[0,1,2,3,4,5,6,7,8,9,10,11] value: 0
Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [0,1,2] value: 0
Exposure Metering Mode(0x500b):(readwrite) (type=0x4) Enumeration [0,1,2] 
value: Average (1)
Exposure Program Mode(0x500e):(readwrite) (type=0x4) Enumeration 
[2,3,4,1,512,513] value: A (3)
Exposure Index (film speed ISO)(0x500f):(readwrite) (type=0x6) Enumeration 
[0,50,100,200,400,800,1600,3200,6400,12500,25000,50000] value: ISO 0 (0)
Exposure Bias Compensation(0x5010):(readwrite) (type=0x3) Enumeration 
[-3000,-2667,-2500,-2333,-2000,-1667,-1500,-1333,-1000,-667,-500,-333,0,333,500,667,1000,1333,1500,1667,2000,2333,2500,2667,3000]
 value: 0.0 stops (0)
Still Capture Mode(0x5013):(readwrite) (type=0x4) Enumeration [0,5,6,7,3,4,2,8] 
value: 0
Contrast(0x5014):(readwrite) (type=0x2) Enumeration [0,3,1,4,2] value: 1
Sharpness(0x5015):(readwrite) (type=0x2) Enumeration [0,3,1,4,2] value: 1
Supported Streams(0x5020):(read only) (type=0x6) Range [0 - 983041, step 1] 
value: 131073
Enabled Streams(0x5021):(readwrite) (type=0x6) Range [0 - 983041, step 1] 
value: 0
Video Format(0x5022):(read only) (type=0x6) Enumeration [1196444237] value: 
1196444237
Video Resolution(0x5023): error 201b on query.
Video Framerate(0x5025):(read only) (type=0x6) Enumeration [25000,30000] value: 
30000
Session Initiator Info(0xd406):(readwrite) (type=0xffff) '(null)'
Perceived Device Type(0xd407):(read only) (type=0x6) 1

Attachment: summary.log
Description: Binary data


These are the steps that I did:
  1. I git cloned the libgphoto2 repository on my MacBook Pro 15” Retina 2018: https://github.com/gphoto/libgphoto2
  2. I followed instructions in the INSTALL file in the repo: https://github.com/gphoto/libgphoto2/blob/master/INSTALL
  3. I saw a lot of logs coming out on the `make -j6` step (I have 6 CPU cores). But no errors (at least it ran to completion)
  4. Then I ran `make install`. 
  5. Then I navigated to my root directory and typed in the command you provided.

Let me know if this has what you need. I hope this ran the updated git code, not whatever I had previously installed when I had installed gphoto2 before.

Chris


On Apr 5, 2020, at 7:35 AM, Marcus Meissner <mar...@jet.franken.de> wrote:

On Fri, Apr 03, 2020 at 02:56:49PM -0700, Christopher Kao via Gphoto-devel wrote:
Hi,

I see the the Leica SL is listed under supported cameras (http://www.gphoto.org/proj/libgphoto2/support.php <http://www.gphoto.org/proj/libgphoto2/support.php>) but not under the remote controlling cameras page (http://www.gphoto.org/doc/remote/ <http://www.gphoto.org/doc/remote/>).

On my MacBook Pro 15” Retina 2018 have confirmed that I am able to run `gphoto2 —capture-image` and the camera takes an image. But I am unable to run `gphoto2 —capture-preview`. My goal is to be able to stream images.

This is the debug output when I try to capture preview. See attached file.

However, I see that the Leica Image Capture 3.7 app does support live image streams (and very quickly with around 0.1 second latency). See screenshot of this working. Do you have a sense of what underlying mechanism Leica Image Shuttle might be using to get the images to the Mac? It seems to me that there is definitely PTP being used since I see PTPCamera open as a process when Leica Image Capture 3.7 runs.

Hi,

I spent some time looking over the debugtrace, and also reverse enginering the LightRoom driver
and now the Image Shuttle executable...

Currently we do not know how the preview is being streamed to the machine.

It looks a bit like it uses PTP 1.1 "Streams", which we currently do not yet implement as we had no
other camera using it so far.


I have now added some PTP stream debugging code and Leica specific open and close session commands to libgphoto2
master already in preparation, if you want to try it.

Once built, run:
gphoto2 --summary --debuginfo --debug-logfile=summary.log > summary.txt

and attach both summary.log and summary.txt.

Ciao, Marcus

_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to