Pentax K3 II PTP , no image capture

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Pentax K3 II PTP , no image capture

Zoltan
gphoto2 reports for my Pentax K3-II in PTP-mode:

Device Capabilities:
        File Download, File Deletion, File Upload
        No Image Capture, No Open Capture, No vendor specific capture
Is there any hope, that image capture will be possible?

Best regards
Zoltan

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

summary.txt (5K) Download Attachment
config.txt (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pentax K3 II PTP , no image capture

Marcus Meissner-4
Hi,

It is possible, but needs a bit work.

First, you need to switch the camera in its menu to "PC" transmission mode.

Then record the USB ids of the camera in this mode with "lsusb"

Mail them here or to me ;)

You can already add them in libgphoto2 to camlibs/pentax/library.c in the camera_init function
similar to the other Pentax cameras in there, then rebuild libgphoto2 and it will be supported
by the Pentax driver.

Ciao, Marcus
On Sat, Apr 29, 2017 at 09:17:54AM +0200, Zoltan wrote:
> gphoto2 reports for my Pentax K3-II in PTP-mode:
>
> Device Capabilities:
>         File Download, File Deletion, File Upload
>         No Image Capture, No Open Capture, No vendor specific capture
> Is there any hope, that image capture will be possible?
>
> Best regards
> Zoltan

> Camera summary:
> Manufacturer: RICOH IMAGING COMPANY, LTD.
> Model: PENTAX K-3 II
>   Version: 1.10
>   Serial Number: 6225570
> Vendor Extension ID: 0x6 (1.0)
> Vendor Extension Description: microsoft.com/DeviceServices: 1.0;
>
> Capture Formats:
> Display Formats: Association/Directory, MS AVI, Apple Quicktime, TIFF, JPEG, Defined Type, Undefined Type
> Supported MTP Object Properties:
> Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated
> MS AVI/300a: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dc08/DateCreated dc89/Duration de93/SampleRate de94/NumberOfChannels de97/ScanDepth de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate
> Apple Quicktime/300d: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dc08/DateCreated dc89/Duration de93/SampleRate de94/NumberOfChannels de97/ScanDepth de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate
> TIFF/380d: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dcd3/ImageBitDepth dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
> JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dcd3/ImageBitDepth dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
> 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 dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
> Undefined Type/3000: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dcd3/ImageBitDepth dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
>
> Device Capabilities:
> File Download, File Deletion, File Upload
> No Image Capture, No Open Capture, No vendor specific capture
>
> Storage Devices Summary:
> store_00010001:
> StorageDescription: None
> VolumeLabel: None
> Storage Type: Removable RAM (memory card)
> Filesystemtype: Digital Camera Layout (DCIM)
> Access Capability: Read-Write
> Maximum Capability: 64792559616 (61791 MB)
> Free Space (Bytes): 64321617920 (61341 MB)
> Free Space (Images): 1205
> store_00020001:
> StorageDescription: None
> VolumeLabel: None
> Storage Type: Removable RAM (memory card)
> Filesystemtype: Digital Camera Layout (DCIM)
> Access Capability: Read-Write
> Maximum Capability: 16097738752 (15352 MB)
> Free Space (Bytes): 15658188800 (14932 MB)
> Free Space (Images): 293
>
> Device Property Summary:
> Battery Level(0x5001):(read only) (type=0x2) Range [0 - 100, step 1] value: 100% (100)
> Date & Time(0x5011):(read only) (type=0xffff) '20170429T085354'
> Session Initiator Info(0xd406):(readwrite) (type=0xffff) '(null)'
> Perceived Device Type(0xd407):(read only) (type=0x6) 1
> Property 0xd303:(read only) (type=0x2) 1
>

> /main/actions/opcode
> Label: PTP Opcode
> Type: TEXT
> Current: 0x1001,0xparam1,0xparam2
> /main/settings/datetime
> Label: Camera Date and Time
> Type: DATE
> Current: 1493449550
> Printable: Sa 29 Apr 2017 09:05:50 CEST
> Help: Use 'now' as the current time when setting.
>
> /main/status/serialnumber
> Label: Serial Number
> Type: TEXT
> Current: 6225570
> /main/status/manufacturer
> Label: Camera Manufacturer
> Type: TEXT
> Current: RICOH IMAGING COMPANY, LTD.
> /main/status/cameramodel
> Label: Camera Model
> Type: TEXT
> Current: PENTAX K-3 II
> /main/status/deviceversion
> Label: Device Version
> Type: TEXT
> Current: 1.10
> /main/status/vendorextension
> Label: Vendor Extension
> Type: TEXT
> Current: microsoft.com/DeviceServices: 1.0;
> /main/status/batterylevel
> Label: Battery Level
> Type: TEXT
> Current: 100%
> /main/other/5001
> Label: Battery Level
> Type: MENU
> Current: 100
> Choice: 0 0
> Choice: 1 1
> Choice: 2 2
> Choice: 3 3
> Choice: 4 4
> Choice: 5 5
> Choice: 6 6
> Choice: 7 7
> Choice: 8 8
> Choice: 9 9
> Choice: 10 10
> Choice: 11 11
> Choice: 12 12
> Choice: 13 13
> Choice: 14 14
> Choice: 15 15
> Choice: 16 16
> Choice: 17 17
> Choice: 18 18
> Choice: 19 19
> Choice: 20 20
> Choice: 21 21
> Choice: 22 22
> Choice: 23 23
> Choice: 24 24
> Choice: 25 25
> Choice: 26 26
> Choice: 27 27
> Choice: 28 28
> Choice: 29 29
> Choice: 30 30
> Choice: 31 31
> Choice: 32 32
> Choice: 33 33
> Choice: 34 34
> Choice: 35 35
> Choice: 36 36
> Choice: 37 37
> Choice: 38 38
> Choice: 39 39
> Choice: 40 40
> Choice: 41 41
> Choice: 42 42
> Choice: 43 43
> Choice: 44 44
> Choice: 45 45
> Choice: 46 46
> Choice: 47 47
> Choice: 48 48
> Choice: 49 49
> Choice: 50 50
> Choice: 51 51
> Choice: 52 52
> Choice: 53 53
> Choice: 54 54
> Choice: 55 55
> Choice: 56 56
> Choice: 57 57
> Choice: 58 58
> Choice: 59 59
> Choice: 60 60
> Choice: 61 61
> Choice: 62 62
> Choice: 63 63
> Choice: 64 64
> Choice: 65 65
> Choice: 66 66
> Choice: 67 67
> Choice: 68 68
> Choice: 69 69
> Choice: 70 70
> Choice: 71 71
> Choice: 72 72
> Choice: 73 73
> Choice: 74 74
> Choice: 75 75
> Choice: 76 76
> Choice: 77 77
> Choice: 78 78
> Choice: 79 79
> Choice: 80 80
> Choice: 81 81
> Choice: 82 82
> Choice: 83 83
> Choice: 84 84
> Choice: 85 85
> Choice: 86 86
> Choice: 87 87
> Choice: 88 88
> Choice: 89 89
> Choice: 90 90
> Choice: 91 91
> Choice: 92 92
> Choice: 93 93
> Choice: 94 94
> Choice: 95 95
> Choice: 96 96
> Choice: 97 97
> Choice: 98 98
> Choice: 99 99
> Choice: 100 100
> /main/other/5011
> Label: Date & Time
> Type: TEXT
> Current: 20170429T090550
> /main/other/d406
> Label: Session Initiator Info
> Type: TEXT
> Current: (null)
> /main/other/d407
> Label: Perceived Device Type
> Type: TEXT
> Current: 1
> /main/other/d303
> Label: PTP Property 0xd303
> Type: TEXT
> Current: 1

> ------------------------------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pentax K3 II PTP , no image capture

Zoltan
Hi,

thanks for the help and the quick reply.

~$ lsusb
Bus 002 Device 025: ID 25fb:017a   (USB-Mode MSC)
Bus 002 Device 031: ID 25fb:017b  (USB-Mode PTP)

I put both IDs in .../camlibs/pentax/library.c and recompiled, but image capture still is not possible.

MSC:
~$ env LANG=c gphoto2 --auto-detect
Model                          Port                                           
----------------------------------------------------------
Mass Storage Camera            disk:/media/zoltan/K-3 II1
Mass Storage Camera            disk:/media/zoltan/K-3 II
Pentax K3II                    usbscsi:/dev/sg6
Pentax K3II                    usbscsi:/dev/sg5

~$ LANG=C gphoto2 --list-all-config
                                                                              
*** Error ***             
This camera does not provide any configuration options.
*** Error (-6: 'Unsupported operation') ***      

PTP:
~ $ gphoto2 --auto-detect
Modell                         Port                                           
----------------------------------------------------------
USB PTP Class Camera           usb:002,033    

~$ LANG=C gphoto2 --list-all-config > config-new.txt
~$ diff config.txt config-new.txt                                                                              
8,9c8,9
< Current: 1493466951
< Printable: Sa 29 Apr 2017 13:55:51 CEST
---
> Current: 1493449550
> Printable: Sa 29 Apr 2017 09:05:50 CEST
144c144
< Current: 20170429T135551
---
> Current: 20170429T090550


Bye, Zoltan

Am 29.04.2017 um 11:17 schrieb Marcus Meissner:
Hi,

It is possible, but needs a bit work.

First, you need to switch the camera in its menu to "PC" transmission mode.

Then record the USB ids of the camera in this mode with "lsusb"

Mail them here or to me ;)

You can already add them in libgphoto2 to camlibs/pentax/library.c in the camera_init function
similar to the other Pentax cameras in there, then rebuild libgphoto2 and it will be supported
by the Pentax driver.

Ciao, Marcus
On Sat, Apr 29, 2017 at 09:17:54AM +0200, Zoltan wrote:
gphoto2 reports for my Pentax K3-II in PTP-mode:

Device Capabilities:
        File Download, File Deletion, File Upload
        No Image Capture, No Open Capture, No vendor specific capture
Is there any hope, that image capture will be possible?

Best regards
Zoltan

      
Camera summary:
Manufacturer: RICOH IMAGING COMPANY, LTD.
Model: PENTAX K-3 II
  Version: 1.10
  Serial Number: 6225570
Vendor Extension ID: 0x6 (1.0)
Vendor Extension Description: microsoft.com/DeviceServices: 1.0; 

Capture Formats: 
Display Formats: Association/Directory, MS AVI, Apple Quicktime, TIFF, JPEG, Defined Type, Undefined Type
Supported MTP Object Properties:
	Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated
	MS AVI/300a: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dc08/DateCreated dc89/Duration de93/SampleRate de94/NumberOfChannels de97/ScanDepth de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate
	Apple Quicktime/300d: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dc08/DateCreated dc89/Duration de93/SampleRate de94/NumberOfChannels de97/ScanDepth de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate
	TIFF/380d: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dcd3/ImageBitDepth dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
	JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dcd3/ImageBitDepth dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
	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 dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData
	Undefined Type/3000: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc87/Width dc88/Height dcd3/ImageBitDepth dc08/DateCreated dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData

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

Storage Devices Summary:
store_00010001:
	StorageDescription: None
	VolumeLabel: None
	Storage Type: Removable RAM (memory card)
	Filesystemtype: Digital Camera Layout (DCIM)
	Access Capability: Read-Write
	Maximum Capability: 64792559616 (61791 MB)
	Free Space (Bytes): 64321617920 (61341 MB)
	Free Space (Images): 1205
store_00020001:
	StorageDescription: None
	VolumeLabel: None
	Storage Type: Removable RAM (memory card)
	Filesystemtype: Digital Camera Layout (DCIM)
	Access Capability: Read-Write
	Maximum Capability: 16097738752 (15352 MB)
	Free Space (Bytes): 15658188800 (14932 MB)
	Free Space (Images): 293

Device Property Summary:
Battery Level(0x5001):(read only) (type=0x2) Range [0 - 100, step 1] value: 100% (100)
Date & Time(0x5011):(read only) (type=0xffff) '20170429T085354'
Session Initiator Info(0xd406):(readwrite) (type=0xffff) '(null)'
Perceived Device Type(0xd407):(read only) (type=0x6) 1
Property 0xd303:(read only) (type=0x2) 1


      
/main/actions/opcode
Label: PTP Opcode
Type: TEXT
Current: 0x1001,0xparam1,0xparam2
/main/settings/datetime
Label: Camera Date and Time
Type: DATE
Current: 1493449550
Printable: Sa 29 Apr 2017 09:05:50 CEST
Help: Use 'now' as the current time when setting.

/main/status/serialnumber
Label: Serial Number
Type: TEXT
Current: 6225570
/main/status/manufacturer
Label: Camera Manufacturer
Type: TEXT
Current: RICOH IMAGING COMPANY, LTD.
/main/status/cameramodel
Label: Camera Model
Type: TEXT
Current: PENTAX K-3 II
/main/status/deviceversion
Label: Device Version
Type: TEXT
Current: 1.10
/main/status/vendorextension
Label: Vendor Extension
Type: TEXT
Current: microsoft.com/DeviceServices: 1.0; 
/main/status/batterylevel
Label: Battery Level
Type: TEXT
Current: 100%
/main/other/5001
Label: Battery Level
Type: MENU
Current: 100
Choice: 0 0
Choice: 1 1
Choice: 2 2
Choice: 3 3
Choice: 4 4
Choice: 5 5
Choice: 6 6
Choice: 7 7
Choice: 8 8
Choice: 9 9
Choice: 10 10
Choice: 11 11
Choice: 12 12
Choice: 13 13
Choice: 14 14
Choice: 15 15
Choice: 16 16
Choice: 17 17
Choice: 18 18
Choice: 19 19
Choice: 20 20
Choice: 21 21
Choice: 22 22
Choice: 23 23
Choice: 24 24
Choice: 25 25
Choice: 26 26
Choice: 27 27
Choice: 28 28
Choice: 29 29
Choice: 30 30
Choice: 31 31
Choice: 32 32
Choice: 33 33
Choice: 34 34
Choice: 35 35
Choice: 36 36
Choice: 37 37
Choice: 38 38
Choice: 39 39
Choice: 40 40
Choice: 41 41
Choice: 42 42
Choice: 43 43
Choice: 44 44
Choice: 45 45
Choice: 46 46
Choice: 47 47
Choice: 48 48
Choice: 49 49
Choice: 50 50
Choice: 51 51
Choice: 52 52
Choice: 53 53
Choice: 54 54
Choice: 55 55
Choice: 56 56
Choice: 57 57
Choice: 58 58
Choice: 59 59
Choice: 60 60
Choice: 61 61
Choice: 62 62
Choice: 63 63
Choice: 64 64
Choice: 65 65
Choice: 66 66
Choice: 67 67
Choice: 68 68
Choice: 69 69
Choice: 70 70
Choice: 71 71
Choice: 72 72
Choice: 73 73
Choice: 74 74
Choice: 75 75
Choice: 76 76
Choice: 77 77
Choice: 78 78
Choice: 79 79
Choice: 80 80
Choice: 81 81
Choice: 82 82
Choice: 83 83
Choice: 84 84
Choice: 85 85
Choice: 86 86
Choice: 87 87
Choice: 88 88
Choice: 89 89
Choice: 90 90
Choice: 91 91
Choice: 92 92
Choice: 93 93
Choice: 94 94
Choice: 95 95
Choice: 96 96
Choice: 97 97
Choice: 98 98
Choice: 99 99
Choice: 100 100
/main/other/5011
Label: Date & Time
Type: TEXT
Current: 20170429T090550
/main/other/d406
Label: Session Initiator Info
Type: TEXT
Current: (null)
/main/other/d407
Label: Perceived Device Type
Type: TEXT
Current: 1
/main/other/d303
Label: PTP Property 0xd303
Type: TEXT
Current: 1

      
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pentax K3 II PTP , no image capture

Marcus Meissner-4
On Sat, Apr 29, 2017 at 02:00:22PM +0200, Zoltan wrote:

> Hi,
>
> thanks for the help and the quick reply.
>
> ~$ lsusb
> Bus 002 Device 025: ID 25fb:017a   (USB-Mode MSC)
> Bus 002 Device 031: ID 25fb:017b  (USB-Mode PTP)
>
> I put both IDs in .../camlibs/pentax/library.c and recompiled, but image
> capture still is not possible.
>
> MSC:
> ~$ env LANG=c gphoto2 --auto-detect
> Model Port
> ----------------------------------------------------------
> Mass Storage Camera            disk:/media/zoltan/K-3 II1
> Mass Storage Camera            disk:/media/zoltan/K-3 II
> Pentax K3II                    usbscsi:/dev/sg6
> Pentax K3II                    usbscsi:/dev/sg5
>
> ~$ LANG=C gphoto2 --list-all-config
>
> *** Error ***
> This camera does not provide any configuration options.
> *** Error (-6: 'Unsupported operation') ***
>
> PTP:
> ~ $ gphoto2 --auto-detect
> Modell Port
> ----------------------------------------------------------
> USB PTP Class Camera           usb:002,033
>
> ~$ LANG=C gphoto2 --list-all-config > config-new.txt
> ~$ diff config.txt config-new.txt
> 8,9c8,9
> < Current: 1493466951
> < Printable: Sa 29 Apr 2017 13:55:51 CEST
> ---
> > Current: 1493449550
> > Printable: Sa 29 Apr 2017 09:05:50 CEST
> 144c144
> < Current: 20170429T135551
> ---
> > Current: 20170429T090550
>

Can you explicitly select the usbscsi ports ... you can do so by doing:

        gphoto2 --port "usbscsi:/dev/sg5" --camera "Pentax K3II" --summary

Replace --summary by the command you want.

Ciao, Marcus

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pentax K3 II PTP , no image capture

Marcus Meissner-4
On Sat, Apr 29, 2017 at 09:11:33PM +0200, Zoltan wrote:

> Am 29.04.2017 um 19:24 schrieb Marcus Meissner:
> >
> > Can you explicitly select the usbscsi ports ... you can do so by doing:
> >
> > gphoto2 --port "usbscsi:/dev/sg5" --camera "Pentax K3II" --summary
> >
> > Replace --summary by the command you want.
> >
> > Ciao, Marcus
>
> Thank you, now --summary works, but --capture-image hangs. I attached the
> debug.log of
>
> $ sudo umount /dev/sde1
> $ sudo umount /dev/sdf1
> $ sudo gphoto2 --port "usbscsi:/dev/sg5" --camera "Pentax K3II" --debug
> --capture-image &> debug.log
> ^C^C

It reports "busy" on download, which is weird. It might be related to the
fact that the filesystem is mounted at the same time.

Could you umount it / disable the automounter and try it again?

Ciao, Marcus

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pentax K3 II PTP , no image capture

Zoltan
Am 30.04.2017 um 22:10 schrieb Marcus Meissner:

It reports "busy" on download, which is weird. It might be related to the
fact that the filesystem is mounted at the same time.

Could you umount it / disable the automounter and try it again?

Ciao, Marcus

Deactivation of automount does not help.
  gphoto2 --summary --debug
results also in errors in the debug log:

...
0.133697 gp_port_send_scsi_cmd       (3): Sending scsi cmd: (hexdump of 8 bytes)
0000  f0 26 00 00 00 00 00 00-                         .&......       

0.133698 gp_port_usbscsi_send_scsi_cmd(2): setting scsi command timeout to 0
0.133859 gp_port_send_scsi_cmd       (2): scsi cmd result: 0
0.133862 gp_port_send_scsi_cmd       (3): scsi cmd data: (hexdump of 8 bytes)
0000  00 00 00 00 00 00 00 01-                         ........       

0.133863 pentax                      (2): [R]                            => ERROR: 0x01
...
0.183986 gp_port_send_scsi_cmd       (3): Sending scsi cmd: (hexdump of 8 bytes)
0000  f0 26 00 00 00 00 00 00-                         .&......       

0.184005 gp_port_usbscsi_send_scsi_cmd(2): setting scsi command timeout to 0
0.184928 gp_port_send_scsi_cmd       (2): scsi cmd result: 0
0.184946 gp_port_send_scsi_cmd       (3): scsi cmd data: (hexdump of 8 bytes)
0000  00 00 00 00 00 00 00 00-                         ........       

0.184952 pentax                      (2): [R]                            => ERROR: 0x00
...

With the latest pktriggercord it's the same problem: capturing an image with pktriggercord releases the shutter but then hangs.

Any hints, what I can do to help fixing this problem?

Bye, Zoltán

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel