Siduction Forum

Siduction Forum => Software - Support => Topic started by: fauser17 on 2014/10/03, 10:41:20

Title: kio-mtp and smartphones
Post by: fauser17 on 2014/10/03, 10:41:20
Hello everybody,
First of all i am french so excuse my english if some mistakes.
I installed siduction kde 201312 and after i install kio-mtp (before updating the packages) and connect my ALCATEL POP S3 with an usb cable.
Everything works perfectly : I can see the internal memory of the phone and the SD card and copy, move, delete all the files from and to the phone. Very good.
After i did the upgrading (1171 packages!). I connect my phone and then a message saying that the mtp process died abruptly. No possibility to see the phone. I tried to come back with the old libmtp (9, run-time and common) but it does not work. I suppose there is one (may be more) packages upgraded that is faulty but which one ?
I will try reinstall and upgrade not one package after one but may be ten by ten (i am not in a hurry and have time to do it...).
Nevertheless if somebody have an answer to this it would be good.
Title: Re: kio-mtp and smartphones
Post by: dibl on 2014/10/03, 19:20:03
My Samsung Nexus S (android 2.3) is connecting as well as it ever did, as a USB storage device -- it has always been a little shaky to hold the USB connection while transferring files with dolphin.  My 64-bit siduction KDE desktop is fully updated.  So I don't think it is a general problem for everyone.


Code: [Select]
root@imerabox:/# apt-cache policy kio-mtp
kio-mtp:
  Installed: 0.75+git20140304-1
  Candidate: 0.75+git20140304-1
  Version table:
 *** 0.75+git20140304-1 0
        500 http://ftp.us.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
Title: Re: kio-mtp and smartphones
Post by: ayla on 2014/10/03, 20:32:28
My sony xperia z also connects to my current siduction system/ dolphin using kio_mtp. As dibl said: a little shaky, sometimes I have to wait for minutes until I can open a folder...

I'm using airdroid insteed with no problems at all.

greets
ayla
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/03, 23:36:32
Thanks for your replies but it does not help. My system is 32 bits my android 4.3. May be i have to try 64 bits.
I have try SolydK (32 bits) and i have exactly the same problem.
Usb Mass Storage do not work properly with my phone i can't see my SD card. I have try Mint 17 Kde and it works well but packages are older, similar to those of siduction before the upgrade.
I am practicaly sure it is a package (i think one of kde) that causes problem when upgrading.
I continue searching.
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/04, 04:26:29
Nexus 5 --> android "L"  and kitkat no problems, no lag.
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/04, 09:53:33
Piper could you tell us what is your system : 32 or 64 bits ?
Ayia i had a glance around airdroid. Il looks like something interresting. I'll try it and let you know what i think about it.
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/04, 14:51:43
Code: [Select]
System:    Host: x1 Kernel: 3.16-3.towo.2-siduction-amd64 x86_64 (64 bit) Desktop: KDE 4.14.1
           Distro: siduction 14.1.0 Paint It Black - kde - (201409142227)
Machine:   Mobo: Gigabyte model: GA-970A-UD3 v: x.x Bios: Award v: F7 date: 10/22/2012
CPU:       Hexa core AMD FX-6300 Six-Core (-MCP-) cache: 12288 KB
           clock speeds: max: 3500 MHz 1: 1400 MHz 2: 1400 MHz 3: 1400 MHz 4: 1400 MHz 5: 1400 MHz 6: 3000 MHz
Graphics:  Card: NVIDIA GF106 [GeForce GTS 450]
           Display Server: X.Org 1.16.1 driver: nvidia Resolution: 1920x1200@59.95hz
           GLX Renderer: GeForce GTS 450/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 340.32
Audio:     Card-1 NVIDIA GF106 High Definition Audio Controller driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k3.16-3.towo.2-siduction-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 90:2b:34:a5:99:2d
Drives:    HDD Total Size: 8001.6GB (17.5% used) ID-1: /dev/sda model: Hitachi_HDS72202 size: 2000.4GB
           ID-2: /dev/sdb model: ST3000DM001 size: 3000.6GB ID-3: /dev/sdc model: ST3000DM001 size: 3000.6GB
Partition: ID-1: / size: 199G used: 44G (24%) fs: ext4 dev: /dev/sda3
           ID-2: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
Sensors:   System Temperatures: cpu: 28.0C mobo: 15.0C gpu: 34C
           Fan Speeds (in rpm): cpu: 1500 fan-2: 0 fan-3: 0 fan-5: 0                                                                         
Info:      Processes: 216 Uptime: 21 min Memory: 1096.4/7972.9MB Client: Shell (bash) inxi: 2.2.14


I dropped airdroid, went with droidoverwifi, much much better app IMHO
Title: Re: kio-mtp and smartphones
Post by: spacepenguin on 2014/10/04, 16:06:14
I also cannot use my smartphone (Samsung Galaxy S3 mini) with MTP or PTP. The device is shown but I don't get access. Sometimes it did work but the files I copied always were corrupted.

So I use two other methods:

1. KDE-Connect (works only via WLAN): This is great! I love to see incoming SMS instantly in KDE even before I get the notification on the phone - and I can acces the phones internal storage space through dolphin. KDE-Connect needs to be installed on both devices.

2. ES File Explorer for Android with built in FTP Server (also requires WLAN): That's how I get my photos from my Samsung's SD card to my hardrive (via dolphin).
Title: Re: kio-mtp and smartphones
Post by: dibl on 2014/10/04, 18:27:50
I dropped airdroid, went with droidoverwifi, much much better app IMHO

Thanks for that piper!  Somehow I had droidoverwifi installed on my phone, but had never tried it.  I just gave it a test run and I like it better than airdroid already.  Good tip!
Title: Re: kio-mtp and smartphones
Post by: ayla on 2014/10/04, 18:33:12
yepp, it has a nice working surface.
I prefer airdroid because of the easy to use ssl connection only.

greets
ayla
Title: Re: kio-mtp and smartphones
Post by: ghstryder on 2014/10/05, 16:25:41
I've tried airdroid before, and I'll have to check out droidoverwifi. I just use pushbullet to get files back and forth from the computer to the phone.
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/07, 10:36:33
Well nothing new around kio-mtp.
I have tried the 64 bits system with no more success. Just after installation everything works well but as soon as i dist-upgrade (fully with all the repos : base, kdenext, extras, user, fixes... with main contrib non-free where possible) it does not work anymore. First it is very painfull (around 1200 packages) some errors (i am obliged to fix-missing...). So without solution i give up and going to try the droid solutions.
For information i tried with a pure Debian sid it is exactly the same problem. I would have liked well knowing why . I have seen something about a Kde bug but not a real answer. It is not a very big problem because i use Mint 17 (working well) also and Windows (working of course since Mtp is Microsoft protocol)and Bodhi working more or less.
Thanks for responding and i continue quietly searching the Why.
So i don't close the posts if ever somebody can explain me something.
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/07, 13:06:37
First, I don't use dolphin, I use konqueror, which, IMHO is far more superior ;).

I also have konqueror setup as "default application"

systemsettings > default applications > file manager > konqueror (restart kde to take effect)

Not sure if this stuff matters or not, I use them and have them installed

Code: [Select]
ibmtp-common - Media Transfer Protocol (MTP) common files
libmtp-dbg - Media Transfer Protocol (MTP) debugging symbols
libmtp-dev - Media Transfer Protocol (MTP) development files
libmtp-doc - Media Transfer Protocol (MTP) library documentation
libmtp-runtime - Media Transfer Protocol (MTP) runtime tools
libmtp9 - Media Transfer Protocol (MTP) library
mtp-tools - Media Transfer Protocol (MTP) library tools


Code: [Select]
piper@x1:~$ apt-cache policy libmtp-common
libmtp-common:
  Installed: 1.1.8-1
  Candidate: 1.1.8-1
  Version table:
 *** 1.1.8-1 0
        500 http://mirror.cc.columbia.edu/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

piper@x1:~$ apt-cache policy libmtp-runtime
libmtp-runtime:
  Installed: 1.1.8-1+b1
  Candidate: 1.1.8-1+b1
  Version table:
 *** 1.1.8-1+b1 0
        500 http://mirror.cc.columbia.edu/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
       
piper@x1:~$ apt-cache policy libmtp9
libmtp9:
  Installed: 1.1.8-1+b1
  Candidate: 1.1.8-1+b1
  Version table:
 *** 1.1.8-1+b1 0
        500 http://mirror.cc.columbia.edu/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
       
piper@x1:~$ apt-cache policy mtp-tools
mtp-tools:
  Installed: 1.1.8-1+b1
  Candidate: 1.1.8-1+b1
  Version table:
     1.1.8-1+b1 0
        500 http://mirror.cc.columbia.edu/debian/ unstable/main amd64 Packages
       
  piper@x1:~$ apt-cache policy libmtp-dev
libmtp-dev:
  Installed: 1.1.8-1+b1
  Candidate: 1.1.8-1+b1
  Version table:
 *** 1.1.8-1+b1 0
        500 http://mirror.cc.columbia.edu/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status     
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/07, 14:16:56
I try with a pure debian sid 32 bits, with all libmtp installed and also mtp-tools. Nothing change always the same message : the process died abruptly.. I don't think it depends of a siduction distro.
But can you precise which repos are activated , with or without contrib and non-free for as far as i remember it seems to me that after dist-upgrade just after installation doing nothing else my kio-mtp works perfectly.
But i say again after complete dist-upgrade with ALL the repos (base,extra,user,fixes,kdenext) and non-free and contrib activated my kio-mtp does not work anymore. I'am practically sure it's not dependant on Konqueror or Dolphin.
I've tried Air Droid on Wifi : Excellent! So I'll continue with it but i would like to know why my mtp does not work. Grr...!!
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/08, 13:14:18
I use contrib and non-free, base,extra,user,fixes,kdenext ...

I don't have anything 32bit anymore

Quote from: fauser17
Thanks for your replies but it does not help. My system is 32 bits my android 4.3. May be i have to try 64 bits.
I have try SolydK (32 bits) and i have exactly the same problem.
Usb Mass Storage do not work properly with my phone i can't see my SD card. I have try Mint 17 Kde and it works well but packages are older, similar to those of siduction before the upgrade.
I am practicaly sure it is a package (i think one of kde) that causes problem when upgrading.
I continue searching.

android 4.3.  ---    Usb Mass Storage

This is your problem

In modern phones,  usb mass storage is pretty much extinct since android 4.3


http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
 
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/08, 13:44:08
I am not talking about Mass Storage that i do not use knowing it is not working.
I'm well talking about MTP protocol. 64 or 32 bits does not change anything.
It is working very well with my 32 bits Bodhi distro and Mint 17 (Kde and Cinnamon, i have the two ones).
But nothing to do with my Sid kde (Debian or Siduction, 32 or 64 bits change nothing, always the message "process mtp died abruptly" once i have upgraded my system but working before!).
I am reading things about udev rules but without conviction, i have tried a bit with no success.
Searching and searching. In french we have a proverb : "Patience and time Do more than force and rage"
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/09, 13:46:49
I have no idea why your MTP is not working, it works fine here on all 4 of my machines, no lag, no errors, works and works well.

On my previous post, I was referring to this sentence in your post

Quote
Usb Mass Storage do not work properly with my phone i can't see my SD card do not work properly with my phone i can't see my SD card

As many people don't know that Usb Mass Storage is pretty much obsolete, depending on your version of android.

Sorry for the confusion
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/09, 17:29:15
I've just re-install siduction 64 bits. Just after that and before doing anything i install kio-mtp. It works well. After i install my nvidia-legacy-304, nothing else. I reboot and try my phone.with the cable : works fine; i see my internal and my SD card.
I do not changes the repositories after installation :
debian.net unstable main non-free contrib
base unstable main
extra unstable main
fixes unstable main
kdenext unstable main
No user no experimental and no contrib and non-free in the upper repositories.
I made my (long) dist-upgrade.
Everything works EXCEPT my kio-mtp : when connecting my phone the ugly message : process mtp died abruptly.
Really i do not understand where is the faulty package or file.
I omitted to say that i did previously of the dist-upgrade, the upgrade of the libmtpxxx and that my kio-mtp did work fine. The dist-upgrade don't upgrade the kio-mtp which is the same. I copy the /lib/udev/rules.d/69 mtp rules in /etc/udev/rules.d as i have seen somewhere.
Did you say strange ? Yes it is and i am tired of it.
For now I use Droid over wifi. It's alright.
Last thing to do enable user repo and the different contrib and non-free to base, fixes , extra.
Sorry for my buzz around kio-mtp but i don't like not understanding something. It's so long a time i am playing with Linux. I'll go on i'm only 70 years old!! 
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/10, 12:10:14
kio-mtp depends on

 
Code: [Select]
Depends: libc6
  Depends: libkdecore5
  Depends: libkio5
  Depends: libmtp9
  Depends: libqtcore4
  Depends: libsolid4
  Depends: libstdc++6
  Conflicts: kio-mtp:i386

and I know some of these were updated during the du


Conflicts: kio-mtp:i386  <---> * could  be a problem for you


I do not use a /lib/udev/rules.d/69 mtp rules, no need for it, I have experimented in the past with older phones and this one, but, not needed anymore (for me at least)

spacepenquin has some great info also, ES File Explorer is probably the best app installed on my phone and it reminds of konqueror as it does so much

I can understand your frustration with this as you just want it to work and I have no more useful info to give you (if I gave you any to begin with)

I am stumped here
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/10, 15:16:52
Thanks Piper for your interrest.in my research.
I guessed that udev rules was not the problem since kio-mtp worked before upgrading and i change nothing about them.
If it is because of the upgrading of one of the packages you mentionned it could be a Kde bug or an incompatibility with solid4 or lib...c6.and as you have no problem may be because of my phone in particular.
I think to signal a Kde bug anyway.
Right now i'am back to pure Debian Kde sid. The problem is the same, even before upgrading from testing (from testing to sid no upgrading around Kde).
Well i go on playing with Linux but Siduction is a good one. I remember when Debian did not work with my old Nvidia (7300 Gt) with the 304 driver but Siduction did work well.
Bye...
Title: Re: kio-mtp and smartphones
Post by: orinoco on 2014/10/10, 20:35:07
I have no problems with my Nexus 4 and 7 (2012). I use krusader most of the time. But that doesn't matter because all the magic is done by kio-mtp

Code: [Select]
$ LANG=C apt-cache policy kio-mtp
kio-mtp:
  Installed: 0.75+git20140304-1
  Candidate: 0.75+git20140304-1
  Version table:
 *** 0.75+git20140304-1 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

and libmtp9

Code: [Select]
$ LANG=C apt-cache policy libmtp9
libmtp9:
  Installed: 1.1.8-1+b1
  Candidate: 1.1.8-1+b1
  Version table:
 *** 1.1.8-1+b1 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Do you have problems with other usb devices? Did you change the port? Maybe to an self powered usb-hub?
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/11, 09:22:10
Hello Orinoco,
I think you did not read all the posts where i say it works well just after installation (so i know what are the good packages) but it does not work anymore after upgrading. I tried everything 32 and 64 bits always the same problems. All my usb devices work well where i connect my phone.
So it only could be a problem with my phone ( a simple alcatel pop s3) and the new libraries ( i've the same packages you mentionned).
Thanks for the reply but it does not help.
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/11, 16:31:45
Just one last info : I try the phone of my wife, nearly the same than mine, that is why i did not try before (It is an ALCATEL POP C5 with Android 4.2.2- my Android is 4.3) and surprise it works perfectly !
What do you advise me ? Take the one of my wife she does not use it with the PC. No not good idea it have not the 4G.and she would be angry!!
Well it's something with Android and the new libraries.
I'll go on with Airdroid or Droid over wifi, all two working well.
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/11, 23:49:15
Quote
Well it's something with Android and the new libraries.

It can't be that, I have been running android L developer preview  and a modified (ramdisk mods) version of android L developer preview since the day it came out. MTP works fine here. "L" is right around the corner, possibly within the next 2-3 weeks, the nexus 5 (my phone)  will be the first phone to have it, the nexus 6/nexus X, will ship with it and will be the only phone to have it ahead of the nexus 5.

I will get the 6/X the day it goes on sale ;)
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/12, 11:03:14
Hello Piper,
I do not understand very well what you mean.
As for me i was speaking of MY Android - only 4.3.3 and the new libraries of mtp in Kde not in Android.
So i still think it's a problem with MY phone and MY Android, not working with the libraries in Debian (or Siduction of course). That is why i give up about the researches since i know the phone of my wife works i am practically sure i'm right.
I dont think my Android is going to be upgraded. I hesitate to ROOT my phone to see what happen because if i break something i am not sure i could buy another phone.
May be the future upgrading of packages will resolve the problem.
Wait and see!
Title: Re: kio-mtp and smartphones
Post by: piper on 2014/10/12, 15:18:57
Your version of android is Android 4.3 = Jelly Bean which I could not test on my nexus 5 which runs Android 4.4 = Kitkat by default and their are no roms (custom) that are below kitkat and makes no sense to make one.

I did a test with my older motorola  triumph and did testing with jelly bean and again, no problems using MTP.

Your wife's phone works, yours don't, and I really can't find anyone using your phone having problems with mtp and linux (a few dozen with windows) and I see last month you had a post at SolydK with the same issue.

If the phone was mine, I would do a backup (nandroid, etc) and do a factory reset and don't install any apps, stay stock and try mtp again, but, that way is not for everyone, depends on how good you know your way around android.

I really don't think it is a debian/siduction issue.

The only other simple thing I can think of is switching it from media device (MPT) to camera (PTP) and back again (in settings)

I have no further advise or ideas


Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/12, 16:55:44
Hey Piper,
Thanks for your good ideas. I am not a specialist of Android but i am not to bad in computing (that was my last job in active life) so i think i will try a reset.
The only thing i would not lost are my contacts but they are already saved on Sim card. As for applis i always can re-install them. It amuses me to do it.
I tried PTP to MTP and vice-versa no good result.
I let you know what happens.
Title: Re: kio-mtp and smartphones
Post by: fauser17 on 2014/10/13, 15:29:02
Hey Piper,
I reset my phone to initial values (factory) but it does not change anything. Always the message for Mtp dying abruptly. Sniff...
Jelly Bean has many versions so i must have the bad one may be... re-sniff..
Anyway i continue to think there is something to see with a package - or more - since it works very well before upgrading and it works under Mint 17 and Bodhi with Thunar without kio-mtp, packages being generally older than in Sid.
I don't remenber if it was working under Sid Xfce. I'll try again one of these days.
Title: Re: kio-mtp and smartphones
Post by: orinoco on 2014/10/20, 13:58:12
Dear fauser17,

maybe an alternative for you, maybe an old story: http://albertvaka.wordpress.com/2014/06/28/awesome-contributions-to-kde-connect/ (http://albertvaka.wordpress.com/2014/06/28/awesome-contributions-to-kde-connect/)

It does not depend on kio-mtp. It smells like Airdroid with heavy KDE flavour. I'm still testing but I'm excited about it.
Title: Re: kio-mtp and smartphones
Post by: spacepenguin on 2014/11/07, 10:34:42
@orinoco: Well, doesn't seem to be of interest as I already mentioned that I am using it (excited too ;) ) and no reaction... But it's really a very good alternative if you are a KDE user.
Title: Re: kio-mtp and smartphones
Post by: orinoco on 2014/11/07, 11:19:51
@spacepenguin

Yes, you mentioned it before and I havn't read it. Shame on me. I found it later by google search and was thrilled after testing it.

For small files and the messages it is wonderful. Even the remote control is funny. For big files (eg. videos) I still hook the usb cable in.
Title: Re: kio-mtp and smartphones
Post by: spacepenguin on 2014/11/07, 18:58:16
I love the message feature too, I can see the content on the screen even before my phone gives notice.
Title: Re: kio-mtp and smartphones
Post by: orinoco on 2014/11/10, 11:29:46
Today I'm working at home and I listen to some mp3 files in the background. When the mobile phone rings audio gets muted and after the call music comes back automatically. It sounds so simple (even it is) but its so amazing.

I hope there will be an akonadi sync for addressbook and caledar in one of the next releases.

My last famous words: If you own a android device and use KDE than KDE Connect (http://albertvaka.wordpress.com/) is your choice. If you want to transfer big files than use Kio-MTP as an option.