diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index f14969f21..9dcb00918 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -7470,13 +7470,23 @@ camera_init (Camera *camera, GPContext *context) break; case PTP_VENDOR_SONY: if (ptp_operation_issupported(params, 0x9280)) { - C_PTP (ptp_sony_9280(params, 0x1,0,0,0,0)); + C_PTP (ptp_sony_9280(params, 0x1,0,1,0,0)); C_PTP (ptp_sony_9281(params, 0x1)); /* no data sent back */ - C_PTP (ptp_sony_9280(params, 0x1,0,0,0,0)); + + C_PTP (ptp_sony_9280(params, 0x1,0,2,0,0)); C_PTP (ptp_sony_9281(params, 0x1)); /* no data sent back */ C_PTP (ptp_sony_9280(params, 0x4,0,1,0,0)); C_PTP (ptp_sony_9281(params, 0x4)); /* gets big data blob? */ + + /* tries this multiple times , but gets back 2006 error + ptp_sony_9280(params, 0x5,0,1,0,0); + */ + /* also sends at one point: + + C_PTP (ptp_sony_9280(params, 0x4,2,2,0,0, 0x01,0x01)); + (18 byte datablob instead of 16) + */ } break; default: