From 5806b2422ba6fc8e49b8ae711f2f995c9fc0e829 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 31 Jul 2016 19:51:28 +0200 Subject: pkgs/jmtpfs: patch for Jolla mtp --- pkgs/mtp-jolla.patch | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/mtp-jolla.patch (limited to 'pkgs/mtp-jolla.patch') diff --git a/pkgs/mtp-jolla.patch b/pkgs/mtp-jolla.patch new file mode 100644 index 00000000..e893d3b7 --- /dev/null +++ b/pkgs/mtp-jolla.patch @@ -0,0 +1,34 @@ +diff --git a/src/music-players.h b/src/music-players.h +index a44460a..d05f52f 100644 +--- a/src/music-players.h ++++ b/src/music-players.h +@@ -3102,6 +3102,16 @@ + { "Jolla", 0x2931, "Sailfish (ID1)", 0x0a01, + DEVICE_FLAGS_ANDROID_BUGS }, + ++ /* In update 4 the order of devices was changed for ++ better OS X / Windows suport and another device-id ++ got assigned for the MTP */ ++ { "Jolla", 0x2931, "Sailfish (ID2)", 0x0a05, ++ DEVICE_FLAGS_ANDROID_BUGS }, ++ ++ /* In a later version, the ID changed again. */ ++ { "Jolla", 0x2931, "Sailfish (ID3)", 0x0a07, ++ DEVICE_FLAGS_ANDROID_BUGS }, ++ + /* + * TCL? Alcatel? + */ +@@ -3129,12 +3139,6 @@ + { "DigiLand", 0x1f3a, "DL701Q", 0x0c02, + DEVICE_FLAGS_ANDROID_BUGS }, + +- /* In update 4 the order of devices was changed for +- better OS X / Windows suport and another device-id +- got assigned for the MTP */ +- { "Jolla", 0x2931, "Sailfish (ID2)", 0x0a05, +- DEVICE_FLAGS_ANDROID_BUGS }, +- + /* + * bq + * https://sourceforge.net/p/libmtp/feature-requests/128/ -- cgit 1.4.1