public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
@ 2018-10-05 18:30 thelma
  2018-10-05 19:28 ` Pouru Lasse
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: thelma @ 2018-10-05 18:30 UTC (permalink / raw
  To: Gentoo mailing list

I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs

cat /etc/fuse.conf
...
user_allow_other

$ mkdir ~/AndroidDevice

mtpfs ~/AndroidDevice
Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
Android device detected, assigning default bug flags

ls -al AndroidDevice
ls: cannot access 'AndroidDevice': Transport endpoint is not connected

-- 
Thelma


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
  2018-10-05 18:30 [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected thelma
@ 2018-10-05 19:28 ` Pouru Lasse
  2018-10-06  0:51 ` Walter Dnes
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Pouru Lasse @ 2018-10-05 19:28 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

<thelma@sys-concept.com> writes:

> I'm trying to access my android phone via Linux.
> Installed: emerge -avq sys-fs/mtpfs
>
> cat /etc/fuse.conf
> ...
> user_allow_other
>
> $ mkdir ~/AndroidDevice
>
> mtpfs ~/AndroidDevice
> Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
> Android device detected, assigning default bug flags
>
> ls -al AndroidDevice
> ls: cannot access 'AndroidDevice': Transport endpoint is not connected

I have the same phone and I use adb (from dev-util/android-tools) for
file transfer, so there's at least that option if you can't get the
mounting to work.

- Lasse


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
  2018-10-05 18:30 [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected thelma
  2018-10-05 19:28 ` Pouru Lasse
@ 2018-10-06  0:51 ` Walter Dnes
  2018-10-06  1:51 ` Heiko Baums
  2018-10-06 10:14 ` Poncho
  3 siblings, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2018-10-06  0:51 UTC (permalink / raw
  To: gentoo-user

On Fri, Oct 05, 2018 at 12:30:16PM -0600, thelma@sys-concept.com wrote
> I'm trying to access my android phone via Linux.
> Installed: emerge -avq sys-fs/mtpfs

  Is this possibly a permissions problem.  I use sys-fs/simple-mtpfs, on
directory "tablet", and I mount and unmount with sudo...

sudo simple-mtpfs -o allow_other /home/waltdnes/tablet

sudo fusermount -u /home/waltdnes/tablet

  A quick-n-dirty check is to try it as root and see if your system
works.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
  2018-10-05 18:30 [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected thelma
  2018-10-05 19:28 ` Pouru Lasse
  2018-10-06  0:51 ` Walter Dnes
@ 2018-10-06  1:51 ` Heiko Baums
  2018-10-06  9:47   ` Neil Bothwick
  2018-10-06 10:14 ` Poncho
  3 siblings, 1 reply; 7+ messages in thread
From: Heiko Baums @ 2018-10-06  1:51 UTC (permalink / raw
  To: gentoo-user

Am Fri, 5 Oct 2018 12:30:16 -0600
schrieb thelma@sys-concept.com:

> I'm trying to access my android phone via Linux.
> Installed: emerge -avq sys-fs/mtpfs

I haven't heard about mtpfs yet, but maybe you could try ssh and/or
sshfs.

Just install the app SSHelper on your phone and sshfs on your Gentoo
system. SSHelper is basically an ssh server which is pretty well
documented on its website and it's OpenSource.

https://arachnoid.com/android/SSHelper/
https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&hl=en

Heiko


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
  2018-10-06  1:51 ` Heiko Baums
@ 2018-10-06  9:47   ` Neil Bothwick
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2018-10-06  9:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

On Sat, 6 Oct 2018 03:51:21 +0200, Heiko Baums wrote:

> > I'm trying to access my android phone via Linux.
> > Installed: emerge -avq sys-fs/mtpfs  
> 
> I haven't heard about mtpfs yet, but maybe you could try ssh and/or
> sshfs.
> 
> Just install the app SSHelper on your phone and sshfs on your Gentoo
> system. SSHelper is basically an ssh server which is pretty well
> documented on its website and it's OpenSource.

I've found mtpfs unreliable in the past and now use either SSHelper to
access the phone from the computer or ES File Manager on the phone to
access the computer over SFTP or CIFS.


-- 
Neil Bothwick

Hard work has a future payoff. Laziness pays off now.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
  2018-10-05 18:30 [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected thelma
                   ` (2 preceding siblings ...)
  2018-10-06  1:51 ` Heiko Baums
@ 2018-10-06 10:14 ` Poncho
  2018-10-06 10:49   ` Mick
  3 siblings, 1 reply; 7+ messages in thread
From: Poncho @ 2018-10-06 10:14 UTC (permalink / raw
  To: gentoo-user

On 05.10.18 20:30, thelma@sys-concept.com wrote:
> I'm trying to access my android phone via Linux.
> Installed: emerge -avq sys-fs/mtpfs
> 
> cat /etc/fuse.conf
> ...
> user_allow_other
> 
> $ mkdir ~/AndroidDevice
> 
> mtpfs ~/AndroidDevice
> Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
> Android device detected, assigning default bug flags
> 
> ls -al AndroidDevice
> ls: cannot access 'AndroidDevice': Transport endpoint is not connected
> 

I can access my phone with gnome-base/gvfs[mtp] without issues.
Depending on your desktop environment, you might have gvfs installed
already.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
  2018-10-06 10:14 ` Poncho
@ 2018-10-06 10:49   ` Mick
  0 siblings, 0 replies; 7+ messages in thread
From: Mick @ 2018-10-06 10:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

On Saturday, 6 October 2018 11:14:55 BST Poncho wrote:
> On 05.10.18 20:30, thelma@sys-concept.com wrote:
> > I'm trying to access my android phone via Linux.
> > Installed: emerge -avq sys-fs/mtpfs
> > 
> > cat /etc/fuse.conf
> > ...
> > user_allow_other
> > 
> > $ mkdir ~/AndroidDevice
> > 
> > mtpfs ~/AndroidDevice
> > Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
> > Android device detected, assigning default bug flags
> > 
> > ls -al AndroidDevice
> > ls: cannot access 'AndroidDevice': Transport endpoint is not connected
> 
> I can access my phone with gnome-base/gvfs[mtp] without issues.
> Depending on your desktop environment, you might have gvfs installed
> already.

This may be a bit off-topic, but I noticed a recent smart TV Android firmware 
update "removed the media sharing functionality (MTP)".  Does this mean MTP is 
being deprecated?  What will replace it?

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-06 10:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-05 18:30 [gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected thelma
2018-10-05 19:28 ` Pouru Lasse
2018-10-06  0:51 ` Walter Dnes
2018-10-06  1:51 ` Heiko Baums
2018-10-06  9:47   ` Neil Bothwick
2018-10-06 10:14 ` Poncho
2018-10-06 10:49   ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox