Re: rsync of mtp://[usb:001,012]/ ?

2014-06-29 Thread James Cloos
 SK == Sharon Kimble boudic...@skimble.plus.com writes:

R https://github.com/hanwen/go-mtpfs

SK Thanks, I was able to download a binary from there, go-mtpfs.x86,
SK and made it executable and then ran -

Is your kernel 32 bit or 64 bit?  If the latter, you should try
the .x86_64 version instead of the .x86 version.

Or follow the compilation instructions at that site.

-JimC
-- 
James Cloos cl...@jhcloos.com OpenPGP: 0x997A9F17ED7DAEA6


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/m3pphrzp2f@carbon.jhcloos.org



Re: rsync of mtp://[usb:001,012]/ ?

2014-06-29 Thread Sharon Kimble
James Cloos cl...@jhcloos.com writes:

 SK == Sharon Kimble boudic...@skimble.plus.com writes:

 R https://github.com/hanwen/go-mtpfs

 SK Thanks, I was able to download a binary from there, go-mtpfs.x86,
 SK and made it executable and then ran -

 Is your kernel 32 bit or 64 bit?  If the latter, you should try
 the .x86_64 version instead of the .x86 version.

 Or follow the compilation instructions at that site.

32-bit, which is why I chose the go-mtpfs.x86 version.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.91.1


signature.asc
Description: PGP signature


Re: rsync of mtp://[usb:001,012]/ ?

2014-06-29 Thread James Cloos
 SK == Sharon Kimble boudic...@skimble.plus.com writes:

SK 32-bit, which is why I chose the go-mtpfs.x86 version.

Sorry.

I've seen a lot of misunderstandings recently between 32 bit and 64 bit.

If the problem with their precompiled binary is dueto kernel differences
between what you run and what they ran when the compilation was done,
compiling it yourself should avoid that.

OTOH, if the diference is between the kernel you run and the kernel they
targetted when writing the code you may still be out of luck.

The instruction in the README, as shown on the project's main github
page, look simple enough -- and look targeted at debian -- that it
should be quick and simple to try a local compilation.

-JimC
-- 
James Cloos cl...@jhcloos.com OpenPGP: 0x997A9F17ED7DAEA6


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/m3lhsfwnrw@carbon.jhcloos.org



Re: rsync of mtp://[usb:001,012]/ ?

2014-06-27 Thread Sharon Kimble
Reco recovery...@gmail.com writes:

  Hi.

 On Fri, Jun 27, 2014 at 06:41:08AM +0100, Sharon Kimble wrote:
 I have a mobile phone and a kindle fire, both of which can be manually
 mounted, but they are given names like mtp://[usb:002,042]/ currently
 the kindle fire. And mtp://[usb:001,012]/ which is the mobile
 phone.
 
 How can I do a rsync backup of them both, or any backup at all really,
 just in case the martians invade, again! :)

 If it's really mounted (for example, back in the old days nautilus
 didn't mount smb shares, although it could access them just fine) - all
 you need to do is to run 'mount' and examine existing mountpoints.
 Presumably your devices are mounted either somewhere inside your $HOME,
 or inside /run/media/$USER. And if you get a mountpoint - it's a simple
 matter of running 'rsync -Hax $MOUNTPOINT $YOUR_BACKUP'.


Neither of them show in mount, although I know that I can mount either
using jmtpfs /media/galaxy. But doing that gives a very flakey
connection, prone to dropping it or i/o errors. Neither of which are
conducive for a successful backup! And currently, only the mobile is
showing in 'lsusb' even though the kindle is mounted as well!

The mtp protocol/file system is very problematic and doesn't appear to
be handled well by linux at the moment, but I return to it every few
months in the hope that it has progressed!

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.91.1


signature.asc
Description: PGP signature


Re: rsync of mtp://[usb:001,012]/ ?

2014-06-27 Thread Reco
On Fri, 27 Jun 2014 16:11:41 +0100
Sharon Kimble boudic...@skimble.plus.com wrote:

 Neither of them show in mount, although I know that I can mount either
 using jmtpfs /media/galaxy. But doing that gives a very flakey
 connection, prone to dropping it or i/o errors. Neither of which are
 conducive for a successful backup! And currently, only the mobile is
 showing in 'lsusb' even though the kindle is mounted as well!
 
 The mtp protocol/file system is very problematic and doesn't appear to
 be handled well by linux at the moment, but I return to it every few
 months in the hope that it has progressed!

I've heard good things about [1]. Not that I've tried it personally,
but…

Reco

[1] https://github.com/hanwen/go-mtpfs

PS. I'll check who I'm replying next time.
I'll check who I'm replying next time.
I'll check who I'm replying next time.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140627210612.ad4f49d30c4ba25d0a3a0...@gmail.com



Re: rsync of mtp://[usb:001,012]/ ?

2014-06-27 Thread Matthew Moore
On 2014-06-27 04:11:41 PM, Sharon Kimble wrote:
 Reco recovery...@gmail.com writes:
[...]
 The mtp protocol/file system is very problematic and doesn't appear to
 be handled well by linux at the moment, but I return to it every few
 months in the hope that it has progressed!

This has been my recent experience as well. 

If you have installed some kind of android recovery in the bootloader,
you can ask it to 'mount usb', and then access it like a usb drive.
This is cumbersome to do often, so what I normally do is install an
ssh server and then use rsync over ssh to backup or transfer files.
Quicksshd is what I use to this end:

https://play.google.com/store/apps/details?id=com.teslacoilsw.quicksshd

MM


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140627171645.GG4505@lambda.lexicon



Re: rsync of mtp://[usb:001,012]/ ?

2014-06-27 Thread Erwan David
Le 27/06/2014 19:06, Reco a écrit :
 On Fri, 27 Jun 2014 16:11:41 +0100
 Sharon Kimble boudic...@skimble.plus.com wrote:

 Neither of them show in mount, although I know that I can mount either
 using jmtpfs /media/galaxy. But doing that gives a very flakey
 connection, prone to dropping it or i/o errors. Neither of which are
 conducive for a successful backup! And currently, only the mobile is
 showing in 'lsusb' even though the kindle is mounted as well!

 The mtp protocol/file system is very problematic and doesn't appear to
 be handled well by linux at the moment, but I return to it every few
 months in the hope that it has progressed!
 I've heard good things about [1]. Not that I've tried it personally,
 but…

 Reco

 [1] https://github.com/hanwen/go-mtpfs

 PS. I'll check who I'm replying next time.
 I'll check who I'm replying next time.
 I'll check who I'm replying next time.



I also noticed something strange : on my laptop (Lenovo T530), it works
only when my phone (Wiko Stairway) is plugged on a USB3 port, but not
when it is plugged on a USB2...



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53adae79.7040...@rail.eu.org



Re: rsync of mtp://[usb:001,012]/ ?

2014-06-27 Thread Sharon Kimble
Reco recovery...@gmail.com writes:

 On Fri, 27 Jun 2014 16:11:41 +0100
 Sharon Kimble boudic...@skimble.plus.com wrote:

 Neither of them show in mount, although I know that I can mount either
 using jmtpfs /media/galaxy. But doing that gives a very flakey
 connection, prone to dropping it or i/o errors. Neither of which are
 conducive for a successful backup! And currently, only the mobile is
 showing in 'lsusb' even though the kindle is mounted as well!
 
 The mtp protocol/file system is very problematic and doesn't appear to
 be handled well by linux at the moment, but I return to it every few
 months in the hope that it has progressed!

 I've heard good things about [1]. Not that I've tried it personally,
 but…

 Reco

 [1] https://github.com/hanwen/go-mtpfs

Thanks, I was able to download a binary from there, go-mtpfs.x86, and
made it executable and then ran -
╭
│./go-mtpfs.x86 /media/boudiccas/galaxy
╰

which resulted in this -
--8---cut here---start-8---
./go-mtpfs.x86 /media/boudiccas/galaxy
2014/06/27 19:36:21 starting FUSE 70ad1f3 (2013-02-24 20:42:03 +0100)
2014/06/27 19:36:52 fatal error got type 0 (CONTAINER_UNDEFINED) in response, 
want CONTAINER_RESPONSE.; closing connection.
2014/06/27 19:36:52 GetObjectHandles failed: got type 0 (CONTAINER_UNDEFINED) 
in response, want CONTAINER_RESPONSE.
2014/06/27 19:36:57 GetObjectHandles failed: mtp: cannot run operation 
GetObjectHandles, device is not open
--8---cut here---end---8---

So we're only slightly further forward. Any ideas please?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.91.1


signature.asc
Description: PGP signature


Re: rsync of mtp://[usb:001,012]/ ?

2014-06-27 Thread Reco
On Fri, 27 Jun 2014 19:42:33 +0100
Sharon Kimble boudic...@skimble.plus.com wrote:

 
  I've heard good things about [1]. Not that I've tried it personally,
  but…
 
  Reco
 
  [1] https://github.com/hanwen/go-mtpfs
 
 Thanks, I was able to download a binary from there, go-mtpfs.x86, and
 made it executable and then ran -
 ╭
 │./go-mtpfs.x86 /media/boudiccas/galaxy
 ╰
 
 which resulted in this -
 --8---cut here---start-8---
 ./go-mtpfs.x86 /media/boudiccas/galaxy
 2014/06/27 19:36:21 starting FUSE 70ad1f3 (2013-02-24 20:42:03 +0100)
 2014/06/27 19:36:52 fatal error got type 0 (CONTAINER_UNDEFINED) in response, 
 want CONTAINER_RESPONSE.; closing connection.
 2014/06/27 19:36:52 GetObjectHandles failed: got type 0 (CONTAINER_UNDEFINED) 
 in response, want CONTAINER_RESPONSE.
 2014/06/27 19:36:57 GetObjectHandles failed: mtp: cannot run operation 
 GetObjectHandles, device is not open
 --8---cut here---end---8---
 
 So we're only slightly further forward. Any ideas please?

Short of installing an FTP(s) server on a phone - no, I'm out of ideas.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140627225455.fa365e50ecf42287137fd...@gmail.com



rsync of mtp://[usb:001,012]/ ?

2014-06-26 Thread Sharon Kimble
I have a mobile phone and a kindle fire, both of which can be manually
mounted, but they are given names like mtp://[usb:002,042]/ currently
the kindle fire. And mtp://[usb:001,012]/ which is the mobile
phone.

How can I do a rsync backup of them both, or any backup at all really,
just in case the martians invade, again! :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.91.1


signature.asc
Description: PGP signature


Re: rsync of mtp://[usb:001,012]/ ?

2014-06-26 Thread Reco
 Hi.

On Fri, Jun 27, 2014 at 06:41:08AM +0100, Sharon Kimble wrote:
 I have a mobile phone and a kindle fire, both of which can be manually
 mounted, but they are given names like mtp://[usb:002,042]/ currently
 the kindle fire. And mtp://[usb:001,012]/ which is the mobile
 phone.
 
 How can I do a rsync backup of them both, or any backup at all really,
 just in case the martians invade, again! :)

If it's really mounted (for example, back in the old days nautilus
didn't mount smb shares, although it could access them just fine) - all
you need to do is to run 'mount' and examine existing mountpoints.
Presumably your devices are mounted either somewhere inside your $HOME,
or inside /run/media/$USER. And if you get a mountpoint - it's a simple
matter of running 'rsync -Hax $MOUNTPOINT $YOUR_BACKUP'.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140627055418.GA30581@x101h