LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 06-25-2020, 09:55 AM   #1
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 59

Rep: Reputation: Disabled
No usb connection with smartphone


I changed the OS of my notebook from LMDE 4 to Antix 19. But now, I don t have usb connection with smartphone, which appeared like an usb stick in the former OS. Any suggestions how to fix that?
 
Old 06-25-2020, 01:05 PM   #2
captain_sensible
Member
 
Registered: Apr 2010
Posts: 239

Rep: Reputation: 68
You need something like a MTP Android File Transfer package installed . Probably when you have that installed Android phone should be recognized and as you say become something similar to a usb .


Antix is Debian based so you can try something from a terminal like :

sudo apt-get update

sudo apt-cache pkgnames MTP

that should come up with some possibilities after which it will just be a case of installing

Last edited by captain_sensible; 06-25-2020 at 01:06 PM.
 
Old 06-25-2020, 02:54 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,593
Blog Entries: 9

Rep: Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089
What filemanager is this?
Anyhoo, you probably need to 'apt install gvfs-backends'.
 
Old 06-26-2020, 03:16 AM   #4
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 59

Original Poster
Rep: Reputation: Disabled
I followed your suggestions, but I can t establish a usb connection with my smartphone as before. I am using nemo as filemanger. What can I do more?
 
Old 06-26-2020, 07:04 AM   #5
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,889

Rep: Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779
General info for mtp devices.
https://wiki.archlinux.org/index.php...nsfer_Protocol

I've been using this for years. Simple and reliable as it gets. I don't care that it's not up to date.
https://github.com/phatina/simple-mtpfs/
 
Old 06-26-2020, 07:38 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,322
Blog Entries: 27

Rep: Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879Reputation: 4879
You can also use the Android app Airdroid for file transfer and a number of other functions.

No Airdroid account is required to use it locally. I've used it a number of years with good results.
 
Old 06-27-2020, 02:58 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,593
Blog Entries: 9

Rep: Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089
Quote:
Originally Posted by saturn1955 View Post
I followed your suggestions, but I can t establish a usb connection with my smartphone as before. I am using nemo as filemanger. What can I do more?
Please be precise.
What exactly happens in your file manager window when you plug that phone in?
What exactly happens on your phone (it should ask you how you want to connect)?

Additionally, do this:
  • UNplug the device, wait 10s
  • open a terminal and enter 'dmesg -w'
  • press Enter a few times so you get a visual divider - we're not interested in the current output
  • plug the device IN now, wait a few seconds
  • shows us all the NEW stuff that's in your terminal now
 
Old 07-01-2020, 02:19 AM   #8
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 59

Original Poster
Rep: Reputation: Disabled
I did the following steps

Code:
sudo apt-cache pkgnames MTP
and

Code:
sudo apt-get  install gvfs-backends
Code:
$ dmesg -w
command not found
normally, when plugging in the smartphone with usb cable and changing to file transfer in the settings of the smartphone, a window of the file manager pops up, but in my case nothing happens.
what else can I do?

Last edited by saturn1955; 07-01-2020 at 02:58 AM.
 
Old 07-01-2020, 03:40 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,593
Blog Entries: 9

Rep: Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089
You might need to execute dmesg with sudo: 'sudo dmesg -w' etc.
 
Old 07-01-2020, 05:37 AM   #10
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 59

Original Poster
Rep: Reputation: Disabled
Code:
[10302.964095] usb 1-1: new full-speed USB device number 14 using uhci_hcd
[10303.093722] usb 1-1: not running at top speed; connect to a high speed hub
[10303.121740] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee7
[10303.121750] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10303.121757] usb 1-1: Product: Moto G 2014
[10303.121761] usb 1-1: Manufacturer: motorola
[10303.121766] usb 1-1: SerialNumber: ZX1D228X59
 
Old 07-01-2020, 07:07 AM   #11
captain_sensible
Member
 
Registered: Apr 2010
Posts: 239

Rep: Reputation: 68
so your phones a motorola ?

I had a quick look at live Antix 19.2 64 bit

looks like you can't use apt cache, instead :

sudo apt update

sudo apt search mtp-tools

also I found android-tools

I have previously got access to Android phones via adb bridge while producing an .apk file

from a python -> buildozer ->android

although a bit involved

it should be interesting to see what others come up with.

Also i guess you want to connect to retrieve files
another approach just might be use bluetooth via Antix and pair with phone
 
Old 07-01-2020, 08:30 AM   #13
captain_sensible
Member
 
Registered: Apr 2010
Posts: 239

Rep: Reputation: 68
following up on @teckk suggestion on Antix 19.2

$sudo apt-get update


$ sudo apt-cache pkgnames gmtp
gmtp


$ sudo apt-get install gmtp
Reading package lists... Done

gMTP was then found in menu

connected and gained access to my vodafone so @saturn1955 i guess gMTP is a keeper ?
Attached Thumbnails
Click image for larger version

Name:	screenshot_1.jpg
Views:	2
Size:	74.3 KB
ID:	33553  
 
Old 07-01-2020, 12:52 PM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,593
Blog Entries: 9

Rep: Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089Reputation: 4089
[You're not the only one](https://duckduckgo.com/?q=%2Blinux+M...usb+connection)
Maybe there's something there for you.

Quote:
Originally Posted by saturn1955 View Post
Code:
[10302.964095] usb 1-1: new full-speed USB device number 14 using uhci_hcd
[10303.093722] usb 1-1: not running at top speed; connect to a high speed hub
[10303.121740] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee7
[10303.121750] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10303.121757] usb 1-1: Product: Moto G 2014
[10303.121761] usb 1-1: Manufacturer: motorola
[10303.121766] usb 1-1: SerialNumber: ZX1D228X59
With the phone plugged in, unlocked and clearly in MTP modus, try this:
Code:
grep -i '18d1.*4ee7' /lib/udev/rules.d/*rules
mtp-detect | head
and show us.
 
Old 07-02-2020, 01:31 AM   #15
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 59

Original Poster
Rep: Reputation: Disabled
I ve completely overseen, that in the menue exists the function - android device usb connect -. Clicking this entry, the smartphone appears in the filemanager like an usb stick or external hd. That was all.
The gnome phone manger and some other progs don t work for me, because the notebook lacks of bluetooth.
Thanks a lot for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use USB-stick / smartphone? kiebitz 4MLinux 2 06-05-2018 11:03 AM
How do you access internet in RHEL 5 using android smartphone usb lan? satheesh2000 Linux - Newbie 1 10-01-2012 10:43 AM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 06:15 AM
LXer: Android Smartphone USB Tethering (Linux Mint 11) LXer Syndicated Linux News 0 10-03-2011 05:00 PM
Automated smartphone network connection with easytether Dark_Helmet LinuxQuestions.org Member Success Stories 8 11-22-2010 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration