From 996f512c2ea23da04f75c3944a7a8e85eb7a4c2c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 24 Jan 2019 08:23:45 +0100 Subject: [PATCH] added sony dsc-wx350 --- camlibs/ptp2/cameras/sony-dsc-wx350.txt | 45 +++++++++++++++++++++++++ camlibs/ptp2/library.c | 3 ++ 2 files changed, 48 insertions(+) create mode 100644 camlibs/ptp2/cameras/sony-dsc-wx350.txt diff --git a/camlibs/ptp2/cameras/sony-dsc-wx350.txt b/camlibs/ptp2/cameras/sony-dsc-wx350.txt new file mode 100644 index 000000000..83735a2b2 --- /dev/null +++ b/camlibs/ptp2/cameras/sony-dsc-wx350.txt @@ -0,0 +1,45 @@ +Device info: +Manufacturer: Sony Corporation + Model: DSC-WX350 + device version: 1.0 + serial number: '0000000000000000nnnnnnnnnnnnnnnn' +Vendor extension ID: 0x00000011 +Vendor extension version: 100 +Vendor extension description: (null) +Functional Mode: 0x0000 +PTP Standard Version: 100 +Supported operations: + 0x1002 (Open session) + 0x1003 (Close session) + 0x1001 (Get device info) + 0x1004 (Get storage IDs) + 0x1005 (Get storage info) + 0x1006 (Get number of objects) + 0x1007 (Get object handles) + 0x1008 (Get object info) + 0x1009 (Get object) + 0x100a (Get thumbnail) + 0x1014 (Get device property description) + 0x1015 (Get device property value) + 0x1016 (Set device property value) + 0x101b (Get partial object) + 0x9801 (Unknown PTP_OC) + 0x9802 (Unknown PTP_OC) + 0x9803 (Unknown PTP_OC) + 0x9805 (Unknown PTP_OC) + 0x9280 (Unknown PTP_OC) + 0x9281 (Unknown PTP_OC) + 0x9282 (Unknown PTP_OC) + 0x9283 (Unknown PTP_OC) + 0x9284 (Unknown PTP_OC) + 0x9285 (Unknown PTP_OC) +Events Supported: + 0x4004 (StoreAdded) + 0x4005 (StoreRemoved) + 0x4006 (DevicePropChanged) +Device Properties Supported: + 0x5001 (Battery Level) + 0xd402 (Unknown DPC code) + 0xd406 (Unknown DPC code) + 0xd407 (Unknown DPC code) + 0xd303 (Unknown DPC code) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index afb4d279b..4b39dff29 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -1003,6 +1003,9 @@ static struct { /* https://sourceforge.net/p/libmtp/bugs/1310/ */ {"Sony:DSC-HX60V (MTP)", 0x054c, 0x08ad, 0}, + /* https://github.com/gphoto/libgphoto2/issues/355 */ + {"Sony:DSC-WX350 (MTP)", 0x054c, 0x08b0, 0}, + /* Sascha Peilicke at SUSE */ {"Sony:Alpha-A6000 (MTP)", 0x054c, 0x08b7, 0},