WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Setting ptp values in Nikon D3S

Re: Setting ptp values in Nikon D3S

by Matthias Blaicher :: Rate this Message:

| View in Thread

Is there any progress on this one? This setting would be quite useful
for me, too.

Matthias

On Wed, Oct 27, 2010 at 6:13 PM, Bernardin <bernardin@...> wrote:

>
> I tried the patch, but there is still some problem.
> I'm again attaching the output of gphoto2 --set-config /main/other/d183=20
> --debug
>
> http://old.nabble.com/file/p30068771/debug.log debug.log
>
> Setting the ISO Auto High Limit parameter apparently causes an error.
>
> 0.576260 ptp2/usb_getresp(0): request code 0x1016 getting resp error 0x200f
> 0.576300 context(0): The property 'ISO Auto High Limit' / 0xd183 was not
> set, PTP errorcode 0x200f.
>
> *** Error ***
> The property 'ISO Auto High Limit' / 0xd183 was not set, PTP errorcode
> 0x200f.
> 0.577494 gp-camera(2): Freeing camera...
> 0.577539 gphoto2-camera(2): Exiting camera ('USB PTP Class Camera')...
>
> K.
>
>
>
> Marcus Meissner wrote:
>>
>> On Tue, Oct 26, 2010 at 02:18:44AM -0700, Bernardin wrote:
>>>
>>> I'm uploading two files with the debug output.
>>> One is the output of
>>> gphoto2 --get-config /main/other/d183 --debug >& out_get.txt
>>>
>>> The other one, of
>>> gphoto2 --set-config /main/other/d183=20 --debug >& out_set.txt
>>
>> My fault ... /other was not evaluated at all during setting,
>> as it was searching in the wrong section.
>>
>> This patch should help.
>>
>> Ciao, Marcus
>>
>> Index: camlibs/ptp2/config.c
>> ===================================================================
>> --- camlibs/ptp2/config.c     (Revision 13361)
>> +++ camlibs/ptp2/config.c     (Revision 13362)
>> @@ -5002,6 +5002,11 @@
>>               }
>>       }
>>
>> +     ret = gp_widget_get_child_by_label (subwindow, _("Other PTP Device
>> Properties"), §ion);
>> +     if (ret != GP_OK) {
>> +             gp_log (GP_LOG_ERROR, "ptp2_set_config", "Other PTP Device Properties
>> section widget not found?");
>> +             return ret;
>> +     }
>>       /* Generic property setter */
>>       for (i=0;i<params->deviceinfo.DevicePropertiesSupported_len;i++) {
>>               uint16_t                propid = params->deviceinfo.DevicePropertiesSupported[i];
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Gphoto-user mailing list
>> Gphoto-user@...
>> https://lists.sourceforge.net/lists/listinfo/gphoto-user
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Setting-ptp-values-in-Nikon-D3S-tp30048385p30068771.html
> Sent from the gphoto-user mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Gphoto-user mailing list
> Gphoto-user@...
> https://lists.sourceforge.net/lists/listinfo/gphoto-user
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user

 « Return to Thread: Setting ptp values in Nikon D3S