Re: Android phone access in Dolphin does not work

2017-02-07 Thread RLewis
Gary Dale wrote:

> On 03/02/17 04:52 PM, RLewis wrote:
>> Gary Dale wrote:
>>
>>> On 02/02/17 08:03 AM, RLewis wrote:
 Hi Gary --

 Gary Dale wrote:

> On 28/01/17 09:08 AM, RLewis wrote:
>> Hello Ken and Gary --
>>
>> ken wrote:
>>
>>> On 01/24/2017 02:38 PM, Gary Dale wrote:
 I'm running stretch/AMD64 and I'm having extreme problems
 accessing
>> my
 Samsung S5 phone from my Plasma5 desktop.

 When I plug the phone in, I get the notification with 2 suggested
 actions. They both read "Open with File Manager" but the first one
 opens Dolphin with "camera:..." while the second opens Dolphin with
 "mtp:..." in the location bar. When I actually try to navigate to
 the folder with my photos, I get a notification on the phone
 telling me a device is attempting mtp access... When I click
 "Allow", I get another notification pop-up on my desktop with the
 same two options...

 When I actually try to access the photos, I frequently get "process
 died" or "I/O error" messages, although sometimes I can actually
 see
 a
 photo (not just the file names) - persistence pays off. Moreover
 the phone will lock when connected, even if a file transfer is
 underway. This kills the transfer.

 To make matters worse, I have photos and videos that I have taken
 which show up in the Gallery on the phone and which I can view on
 the
 phone and see when I remove the SD card and read it directly but
 which
 don't show up in Dolphin.

 Clearly this is not the way the process is supposed to work. I can
 understand the phone requesting a verification for the connection,
 but
 everything on the desktop side seems wrong:
 - the two actions should be distinguishable by their description,
 - the process shouldn't die and if it does, it should relaunch,
 - the connection should block the phone from locking if locking
 will stop file transfers,
 - there should be a record of the error in a log somewhere. As it
 is, all I can find is a lot of systemd journal entries like "Jan 24
 14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
 did not claim interface 0 before use" which seem to occur before
 the device is actually recognized.
 - all the photos should show up
>>> It sounds like you want to offload files from your android.  For a
>>> few years now I've been using Software Data Cable to do this, free
>>> app, no
>>> cable needed.  Launch the app and it sets up an ftp server on the
>>> phone.  Then from my laptop I log in, navigate, up- and download
>>> files.
>>> When done, I shut down the ftp server on the phone.  Easy-squeezy.
>> Ken:  Thanks for the tip -- I'm going to give it a try,
>>
>> Gary:  I'm using KDE Connect right now.  Install the app[1] on your
 phone
>> (I have an S4) and the software[2] on your computer (I'm using
>> jessie, but I
>> see that there is a newer version available for stretch).  It works
>> well and is easy to use.
>>
>> Robert
>>
>> [1]
>> [https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
>> [2] https://packages.debian.org/stretch/kdeconnect
>>
> I went to install kdeconnect on my desktop but it was already
> installed. I installed the app on my phone but it can't see anything
> to connect to.
>
> I reinstalled kdeconnect on my desktop but still nothing, whether the
> phone is connected to USB or just attached wirelessly. Any ideas on
> what's going wrong?
 Have you tried "Refresh" on the phone?  If not, then tap on either the
 three-dot menu on the upper right or the menu on the lower right.  If
 your desktop still isn't listed under Available Devices, and it has its
 own IP address, you can add it to KDE Connect on the phone -- press
 either menu, then "Add devices by IP".

 Hope this helps.

 Regards,
 Robert
>>> Verified my desktop's IP address and added it but when I go back to the
>>> KDE Connect Devices panel, it still isn't there even after a refresh.
>>>
>>> I don't see a menu on the lower right.
>> Sorry, my mistake -- I meant lower left.  It doesn't really matter since
>> it's the same menu as the upper right.
> I don't see any menu on the lower part of the screen. Everything is at
> the top. There's a 3-bar symbol top-left that bring out the "pair new
> device" dialog and there is the 3-dotmenu top-right that allows me to
> refresh, rename device or add devices by IP.

The lower left menu I mentioned is the phones Menu key, left of the Home 
key.  It has the same dialogue as the top right. 

> 
>>
>>> What I've got is something on the
>>> top left that 

Re: Android phone access in Dolphin does not work

2017-02-06 Thread Gary Dale

On 03/02/17 04:52 PM, RLewis wrote:

Gary Dale wrote:


On 02/02/17 08:03 AM, RLewis wrote:

Hi Gary --

Gary Dale wrote:


On 28/01/17 09:08 AM, RLewis wrote:

Hello Ken and Gary --

ken wrote:


On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems

accessing

my

Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get
another notification pop-up on my desktop with the same two
options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see

a

photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on

the

phone and see when I remove the SD card and read it directly but

which

don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection,

but

everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up

It sounds like you want to offload files from your android.  For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download
files.
When done, I shut down the ftp server on the phone.  Easy-squeezy.

Ken:  Thanks for the tip -- I'm going to give it a try,

Gary:  I'm using KDE Connect right now.  Install the app[1] on your

phone

(I have an S4) and the software[2] on your computer (I'm using jessie,
but I
see that there is a newer version available for stretch).  It works
well and is easy to use.

Robert

[1] https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
[2] https://packages.debian.org/stretch/kdeconnect


I went to install kdeconnect on my desktop but it was already installed.
I installed the app on my phone but it can't see anything to connect to.

I reinstalled kdeconnect on my desktop but still nothing, whether the
phone is connected to USB or just attached wirelessly. Any ideas on
what's going wrong?

Have you tried "Refresh" on the phone?  If not, then tap on either the
three-dot menu on the upper right or the menu on the lower right.  If
your desktop still isn't listed under Available Devices, and it has its
own IP address, you can add it to KDE Connect on the phone -- press
either menu, then "Add devices by IP".

Hope this helps.

Regards,
Robert

Verified my desktop's IP address and added it but when I go back to the
KDE Connect Devices panel, it still isn't there even after a refresh.

I don't see a menu on the lower right.

Sorry, my mistake -- I meant lower left.  It doesn't really matter since
it's the same menu as the upper right.
I don't see any menu on the lower part of the screen. Everything is at 
the top. There's a 3-bar symbol top-left that bring out the "pair new 
device" dialog and there is the 3-dotmenu top-right that allows me to 
refresh, rename device or add devices by IP.





What I've got is something on the
top left that when I press it, it shows me my phone and an option to
"Pair new device" that simply takes me back to the Devices panel.

My desktop's IP address remains in the Custom device list panel but
never shows up anywhere else.

I've verified that my phone is on my local network.

I found kdeconnect-cli on my desktop but it also shows no devices.

It sounds like you've done everything correctly.  If both your phone and PC
are connected to the network, I think it should just work.  The only other
suggestions I have are to add your hostname and/or your
@ in the "Add devices by IP" screen.

The KDE Connect Community Wiki doesn't have much information, but does have
a troubleshooting tip if you're behind a firewall.

About your USB connection:  Do you have kio-mtp installed?  I can connect to
my phone that way, too.  Just make 

Re: Android phone access in Dolphin does not work

2017-02-03 Thread RLewis
Gary Dale wrote:

> On 02/02/17 08:03 AM, RLewis wrote:
>> Hi Gary --
>>
>> Gary Dale wrote:
>>
>>> On 28/01/17 09:08 AM, RLewis wrote:
 Hello Ken and Gary --

 ken wrote:

> On 01/24/2017 02:38 PM, Gary Dale wrote:
>> I'm running stretch/AMD64 and I'm having extreme problems
>> accessing
 my
>> Samsung S5 phone from my Plasma5 desktop.
>>
>> When I plug the phone in, I get the notification with 2 suggested
>> actions. They both read "Open with File Manager" but the first one
>> opens Dolphin with "camera:..." while the second opens Dolphin with
>> "mtp:..." in the location bar. When I actually try to navigate to the
>> folder with my photos, I get a notification on the phone telling me a
>> device is attempting mtp access... When I click "Allow", I get
>> another notification pop-up on my desktop with the same two
>> options...
>>
>> When I actually try to access the photos, I frequently get "process
>> died" or "I/O error" messages, although sometimes I can actually see
>> a
>> photo (not just the file names) - persistence pays off. Moreover the
>> phone will lock when connected, even if a file transfer is underway.
>> This kills the transfer.
>>
>> To make matters worse, I have photos and videos that I have taken
>> which show up in the Gallery on the phone and which I can view on
>> the
>> phone and see when I remove the SD card and read it directly but
>> which
>> don't show up in Dolphin.
>>
>> Clearly this is not the way the process is supposed to work. I can
>> understand the phone requesting a verification for the connection,
>> but
>> everything on the desktop side seems wrong:
>> - the two actions should be distinguishable by their description,
>> - the process shouldn't die and if it does, it should relaunch,
>> - the connection should block the phone from locking if locking will
>> stop file transfers,
>> - there should be a record of the error in a log somewhere. As it is,
>> all I can find is a lot of systemd journal entries like "Jan 24
>> 14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
>> did not claim interface 0 before use" which seem to occur before the
>> device is actually recognized.
>> - all the photos should show up
> It sounds like you want to offload files from your android.  For a few
> years now I've been using Software Data Cable to do this, free app, no
> cable needed.  Launch the app and it sets up an ftp server on the
> phone.  Then from my laptop I log in, navigate, up- and download
> files.
> When done, I shut down the ftp server on the phone.  Easy-squeezy.
 Ken:  Thanks for the tip -- I'm going to give it a try,

 Gary:  I'm using KDE Connect right now.  Install the app[1] on your
>> phone
 (I have an S4) and the software[2] on your computer (I'm using jessie,
 but I
 see that there is a newer version available for stretch).  It works
 well and is easy to use.

 Robert

 [1] https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
 [2] https://packages.debian.org/stretch/kdeconnect

>>> I went to install kdeconnect on my desktop but it was already installed.
>>> I installed the app on my phone but it can't see anything to connect to.
>>>
>>> I reinstalled kdeconnect on my desktop but still nothing, whether the
>>> phone is connected to USB or just attached wirelessly. Any ideas on
>>> what's going wrong?
>> Have you tried "Refresh" on the phone?  If not, then tap on either the
>> three-dot menu on the upper right or the menu on the lower right.  If
>> your desktop still isn't listed under Available Devices, and it has its
>> own IP address, you can add it to KDE Connect on the phone -- press
>> either menu, then "Add devices by IP".
>>
>> Hope this helps.
>>
>> Regards,
>> Robert
> Verified my desktop's IP address and added it but when I go back to the
> KDE Connect Devices panel, it still isn't there even after a refresh.
> 
> I don't see a menu on the lower right. 
Sorry, my mistake -- I meant lower left.  It doesn't really matter since 
it's the same menu as the upper right.

> What I've got is something on the
> top left that when I press it, it shows me my phone and an option to
> "Pair new device" that simply takes me back to the Devices panel.
> 
> My desktop's IP address remains in the Custom device list panel but
> never shows up anywhere else.
> 
> I've verified that my phone is on my local network.
> 
> I found kdeconnect-cli on my desktop but it also shows no devices.

It sounds like you've done everything correctly.  If both your phone and PC 
are connected to the network, I think it should just work.  The only other 
suggestions I have are to add your hostname and/or your 
@ in the "Add devices by IP" screen.  

The KDE Connect Community Wiki doesn't have much information, but does 

Re: Android phone access in Dolphin does not work

2017-02-02 Thread Gary Dale

On 02/02/17 08:03 AM, RLewis wrote:

Hi Gary --

Gary Dale wrote:


On 28/01/17 09:08 AM, RLewis wrote:

Hello Ken and Gary --

ken wrote:


On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems

accessing

my

Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see

a

photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on

the

phone and see when I remove the SD card and read it directly but

which

don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection,

but

everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up

It sounds like you want to offload files from your android.  For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone.  Easy-squeezy.

Ken:  Thanks for the tip -- I'm going to give it a try,

Gary:  I'm using KDE Connect right now.  Install the app[1] on your

phone

(I have an S4) and the software[2] on your computer (I'm using jessie,
but I
see that there is a newer version available for stretch).  It works well
and is easy to use.

Robert

[1] https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
[2] https://packages.debian.org/stretch/kdeconnect


I went to install kdeconnect on my desktop but it was already installed.
I installed the app on my phone but it can't see anything to connect to.

I reinstalled kdeconnect on my desktop but still nothing, whether the
phone is connected to USB or just attached wirelessly. Any ideas on
what's going wrong?

Have you tried "Refresh" on the phone?  If not, then tap on either the
three-dot menu on the upper right or the menu on the lower right.  If your
desktop still isn't listed under Available Devices, and it has its own IP
address, you can add it to KDE Connect on the phone -- press either menu,
then "Add devices by IP".

Hope this helps.

Regards,
Robert
Verified my desktop's IP address and added it but when I go back to the 
KDE Connect Devices panel, it still isn't there even after a refresh.


I don't see a menu on the lower right. What I've got is something on the 
top left that when I press it, it shows me my phone and an option to 
"Pair new device" that simply takes me back to the Devices panel.


My desktop's IP address remains in the Custom device list panel but 
never shows up anywhere else.


I've verified that my phone is on my local network.

I found kdeconnect-cli on my desktop but it also shows no devices.



Re: Android phone access in Dolphin does not work

2017-02-02 Thread Darac Marjal
On 02/02/17 20:38, ken wrote:
> Just a quick tip for using Software Data Cable:  When you fire it up
> on your android, you'll get a screen helpfully telling you the ftp
> command to run on the other end... but the command they give isn't
> right... well, maybe it is for Windows, I don't know. What's worked on
> Linux for me dozens of times is this:
>
> $ ftp [phone's IP address] [port number]
>
> Software Data Cable uses a non-standard port for its ftp service... a
> good thing, since ftp isn't the most secure protocol in town.  Note
> that there's a space between the ip and port#... also the first arg is
> just numbers.
>
> I wish there was an ssh-based app for android... I've looked for such,
> haven't found it.  Is that a Windows thing?
>
>
SSH Client? I use JuiceSSH (com.sonelli.juicessh) for that.
SSH Server? I use SSHDroid (berserker.android.apps.sshdroid) for that.



signature.asc
Description: OpenPGP digital signature


Re: Android phone access in Dolphin does not work

2017-02-02 Thread ken

On 01/26/2017 11:42 PM, Gary Dale wrote:

On 25/01/17 01:27 PM, Tony Baldwin wrote:



On 01/25/2017 12:58 PM, ken wrote:

On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems accessing my
Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see a
photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on the
phone and see when I remove the SD card and read it directly but which
don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection, but
everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up


It sounds like you want to offload files from your android. For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone. Easy-squeezy.




Just in case the above doesn't work out for you (and I'm going to 
look into that one, myself), because,  in my experience, this 
disaster called MTP is simply a headache...
I'm going to suggest what I do to access storage on my Motorola Droid 
II.

Install Dropbox.
Alternatively, if you have access to any remote server running an 
ftpd, AndFTP is an option. I've done both, and currently find the 
dropbox most convenient.


Tony


I'm going to hazard a guess that this problem is Linux specific since 
the hordes of Android users would rebel if this was happening on 
Windows. However I can't understand why it should be such an issue 
since the MTP is an open specification that has been around since 2008 
and Google is heavily involved with it.


The Dropbox idea sounds reasonable if I don't mind putting massive 
amounts of data onto the Internet. I think I'll try the software data 
cable instead.


Thanks.

Just a quick tip for using Software Data Cable:  When you fire it up on 
your android, you'll get a screen helpfully telling you the ftp command 
to run on the other end... but the command they give isn't right... 
well, maybe it is for Windows, I don't know. What's worked on Linux for 
me dozens of times is this:


$ ftp [phone's IP address] [port number]

Software Data Cable uses a non-standard port for its ftp service... a 
good thing, since ftp isn't the most secure protocol in town.  Note that 
there's a space between the ip and port#... also the first arg is just 
numbers.


I wish there was an ssh-based app for android... I've looked for such, 
haven't found it.  Is that a Windows thing?





Re: Android phone access in Dolphin does not work

2017-02-02 Thread RLewis
Hi Gary --

Gary Dale wrote:

> On 28/01/17 09:08 AM, RLewis wrote:
>> Hello Ken and Gary --
>>
>> ken wrote:
>>
>>> On 01/24/2017 02:38 PM, Gary Dale wrote:
 I'm running stretch/AMD64 and I'm having extreme problems 
accessing
>> my
 Samsung S5 phone from my Plasma5 desktop.

 When I plug the phone in, I get the notification with 2 suggested
 actions. They both read "Open with File Manager" but the first one
 opens Dolphin with "camera:..." while the second opens Dolphin with
 "mtp:..." in the location bar. When I actually try to navigate to the
 folder with my photos, I get a notification on the phone telling me a
 device is attempting mtp access... When I click "Allow", I get another
 notification pop-up on my desktop with the same two options...

 When I actually try to access the photos, I frequently get "process
 died" or "I/O error" messages, although sometimes I can actually see 
a
 photo (not just the file names) - persistence pays off. Moreover the
 phone will lock when connected, even if a file transfer is underway.
 This kills the transfer.

 To make matters worse, I have photos and videos that I have taken
 which show up in the Gallery on the phone and which I can view on 
the
 phone and see when I remove the SD card and read it directly but 
which
 don't show up in Dolphin.

 Clearly this is not the way the process is supposed to work. I can
 understand the phone requesting a verification for the connection, 
but
 everything on the desktop side seems wrong:
 - the two actions should be distinguishable by their description,
 - the process shouldn't die and if it does, it should relaunch,
 - the connection should block the phone from locking if locking will
 stop file transfers,
 - there should be a record of the error in a log somewhere. As it is,
 all I can find is a lot of systemd journal entries like "Jan 24
 14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
 did not claim interface 0 before use" which seem to occur before the
 device is actually recognized.
 - all the photos should show up
>>> It sounds like you want to offload files from your android.  For a few
>>> years now I've been using Software Data Cable to do this, free app, no
>>> cable needed.  Launch the app and it sets up an ftp server on the
>>> phone.  Then from my laptop I log in, navigate, up- and download files.
>>> When done, I shut down the ftp server on the phone.  Easy-squeezy.
>> Ken:  Thanks for the tip -- I'm going to give it a try,
>>
>> Gary:  I'm using KDE Connect right now.  Install the app[1] on your 
phone
>> (I have an S4) and the software[2] on your computer (I'm using jessie,
>> but I
>> see that there is a newer version available for stretch).  It works well
>> and is easy to use.
>>
>> Robert
>>
>> [1] https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
>> [2] https://packages.debian.org/stretch/kdeconnect
>>
> I went to install kdeconnect on my desktop but it was already installed.
> I installed the app on my phone but it can't see anything to connect to.
> 
> I reinstalled kdeconnect on my desktop but still nothing, whether the
> phone is connected to USB or just attached wirelessly. Any ideas on
> what's going wrong?

Have you tried "Refresh" on the phone?  If not, then tap on either the 
three-dot menu on the upper right or the menu on the lower right.  If your 
desktop still isn't listed under Available Devices, and it has its own IP 
address, you can add it to KDE Connect on the phone -- press either menu, 
then "Add devices by IP".

Hope this helps.

Regards,
Robert




Re: Android phone access in Dolphin does not work

2017-02-01 Thread Gary Dale

On 28/01/17 09:08 AM, RLewis wrote:

Hello Ken and Gary --

ken wrote:


On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems accessing

my

Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see a
photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on the
phone and see when I remove the SD card and read it directly but which
don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection, but
everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up

It sounds like you want to offload files from your android.  For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone.  Easy-squeezy.

Ken:  Thanks for the tip -- I'm going to give it a try,

Gary:  I'm using KDE Connect right now.  Install the app[1] on your phone (I
have an S4) and the software[2] on your computer (I'm using jessie, but I
see that there is a newer version available for stretch).  It works well and
is easy to use.

Robert

[1] https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
[2] https://packages.debian.org/stretch/kdeconnect

I went to install kdeconnect on my desktop but it was already installed. 
I installed the app on my phone but it can't see anything to connect to.


I reinstalled kdeconnect on my desktop but still nothing, whether the 
phone is connected to USB or just attached wirelessly. Any ideas on 
what's going wrong?




Re: Android phone access in Dolphin does not work

2017-01-28 Thread RLewis
Hello Ken and Gary --

ken wrote:

> On 01/24/2017 02:38 PM, Gary Dale wrote:
>> I'm running stretch/AMD64 and I'm having extreme problems accessing 
my
>> Samsung S5 phone from my Plasma5 desktop.
>>
>> When I plug the phone in, I get the notification with 2 suggested
>> actions. They both read "Open with File Manager" but the first one
>> opens Dolphin with "camera:..." while the second opens Dolphin with
>> "mtp:..." in the location bar. When I actually try to navigate to the
>> folder with my photos, I get a notification on the phone telling me a
>> device is attempting mtp access... When I click "Allow", I get another
>> notification pop-up on my desktop with the same two options...
>>
>> When I actually try to access the photos, I frequently get "process
>> died" or "I/O error" messages, although sometimes I can actually see a
>> photo (not just the file names) - persistence pays off. Moreover the
>> phone will lock when connected, even if a file transfer is underway.
>> This kills the transfer.
>>
>> To make matters worse, I have photos and videos that I have taken
>> which show up in the Gallery on the phone and which I can view on the
>> phone and see when I remove the SD card and read it directly but which
>> don't show up in Dolphin.
>>
>> Clearly this is not the way the process is supposed to work. I can
>> understand the phone requesting a verification for the connection, but
>> everything on the desktop side seems wrong:
>> - the two actions should be distinguishable by their description,
>> - the process shouldn't die and if it does, it should relaunch,
>> - the connection should block the phone from locking if locking will
>> stop file transfers,
>> - there should be a record of the error in a log somewhere. As it is,
>> all I can find is a lot of systemd journal entries like "Jan 24
>> 14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
>> did not claim interface 0 before use" which seem to occur before the
>> device is actually recognized.
>> - all the photos should show up
> 
> It sounds like you want to offload files from your android.  For a few
> years now I've been using Software Data Cable to do this, free app, no
> cable needed.  Launch the app and it sets up an ftp server on the
> phone.  Then from my laptop I log in, navigate, up- and download files.
> When done, I shut down the ftp server on the phone.  Easy-squeezy.

Ken:  Thanks for the tip -- I'm going to give it a try,

Gary:  I'm using KDE Connect right now.  Install the app[1] on your phone (I 
have an S4) and the software[2] on your computer (I'm using jessie, but I 
see that there is a newer version available for stretch).  It works well and 
is easy to use.

Robert

[1] https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp
[2] https://packages.debian.org/stretch/kdeconnect



Re: Android phone access in Dolphin does not work

2017-01-26 Thread deloptes
Gary Dale wrote:

> the MTP is an open specification that has been around since 2008 and
> Google is heavily involved with it.

Have you tried jmtpfs?

regards



Re: Android phone access in Dolphin does not work

2017-01-26 Thread Gary Dale

On 25/01/17 01:27 PM, Tony Baldwin wrote:



On 01/25/2017 12:58 PM, ken wrote:

On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems accessing my
Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see a
photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on the
phone and see when I remove the SD card and read it directly but which
don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection, but
everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up


It sounds like you want to offload files from your android.  For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone. Easy-squeezy.




Just in case the above doesn't work out for you (and I'm going to look 
into that one, myself), because,  in my experience, this disaster 
called MTP is simply a headache...

I'm going to suggest what I do to access storage on my Motorola Droid II.
Install Dropbox.
Alternatively, if you have access to any remote server running an 
ftpd, AndFTP is an option. I've done both, and currently find the 
dropbox most convenient.


Tony


I'm going to hazard a guess that this problem is Linux specific since 
the hordes of Android users would rebel if this was happening on 
Windows. However I can't understand why it should be such an issue since 
the MTP is an open specification that has been around since 2008 and 
Google is heavily involved with it.


The Dropbox idea sounds reasonable if I don't mind putting massive 
amounts of data onto the Internet. I think I'll try the software data 
cable instead.


Thanks.



Re: Android phone access in Dolphin does not work

2017-01-25 Thread Tony Baldwin



On 01/25/2017 12:58 PM, ken wrote:

On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems accessing my
Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see a
photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on the
phone and see when I remove the SD card and read it directly but which
don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection, but
everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up


It sounds like you want to offload files from your android.  For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone.  Easy-squeezy.




Just in case the above doesn't work out for you (and I'm going to look 
into that one, myself), because,  in my experience, this disaster called 
MTP is simply a headache...

I'm going to suggest what I do to access storage on my Motorola Droid II.
Install Dropbox.
Alternatively, if you have access to any remote server running an ftpd, 
AndFTP is an option. I've done both, and currently find the dropbox most 
convenient.


Tony
--
http://tonybaldwin.me
all tony, all the time



Re: Android phone access in Dolphin does not work

2017-01-25 Thread ken

On 01/24/2017 02:38 PM, Gary Dale wrote:
I'm running stretch/AMD64 and I'm having extreme problems accessing my 
Samsung S5 phone from my Plasma5 desktop.


When I plug the phone in, I get the notification with 2 suggested 
actions. They both read "Open with File Manager" but the first one 
opens Dolphin with "camera:..." while the second opens Dolphin with 
"mtp:..." in the location bar. When I actually try to navigate to the 
folder with my photos, I get a notification on the phone telling me a 
device is attempting mtp access... When I click "Allow", I get another 
notification pop-up on my desktop with the same two options...


When I actually try to access the photos, I frequently get "process 
died" or "I/O error" messages, although sometimes I can actually see a 
photo (not just the file names) - persistence pays off. Moreover the 
phone will lock when connected, even if a file transfer is underway. 
This kills the transfer.


To make matters worse, I have photos and videos that I have taken 
which show up in the Gallery on the phone and which I can view on the 
phone and see when I remove the SD card and read it directly but which 
don't show up in Dolphin.


Clearly this is not the way the process is supposed to work. I can 
understand the phone requesting a verification for the connection, but 
everything on the desktop side seems wrong:

- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will 
stop file transfers,
- there should be a record of the error in a log somewhere. As it is, 
all I can find is a lot of systemd journal entries like "Jan 24 
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so) 
did not claim interface 0 before use" which seem to occur before the 
device is actually recognized.

- all the photos should show up


It sounds like you want to offload files from your android.  For a few 
years now I've been using Software Data Cable to do this, free app, no 
cable needed.  Launch the app and it sets up an ftp server on the 
phone.  Then from my laptop I log in, navigate, up- and download files.  
When done, I shut down the ftp server on the phone.  Easy-squeezy.