LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-27-2017, 08:24 PM   #1
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Rep: Reputation: 2
How to get Debian 8 to recognize android tablet


I am hoping this is not a difficult question! I have a Gigabyte brick that runs Debian Jessie 8. I am trying to get it to recognize my Asus tablet, but the tablet will not mount on my desktop. When I plug in the usb connection there is no icon or anything showing the tablet is recognized. What do I need to do to establish this connection? Thank you.
 
Old 11-27-2017, 08:49 PM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,548

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
First major question, are you SURE you're using a data cable, not a charging-only cable?
 
Old 11-27-2017, 09:00 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
In addition,
https://wiki.debian.org/mtp

It may depend on what desktop you are running and the version of libmtp installed. Make sure the device is unlocked, once connected check the output of the dmesg command to see if it is being recognized.
 
Old 11-27-2017, 09:08 PM   #4
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,228
Blog Entries: 20

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Too add to what was already said.

Code:
apt-cache policy gvfs-backends
https://packages.debian.org/jessie/gvfs-backends

Last edited by rokytnji; 11-27-2017 at 09:09 PM.
 
Old 11-27-2017, 10:06 PM   #5
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Original Poster
Rep: Reputation: 2
As a result of running dmesg I got the following (plus reference to other devices--e.g., printer, scanner, etc.):


[274422.250647] usb 1-2.4.4.1: new high-speed USB device number 11 using xhci_hcd
[274422.353068] usb 1-2.4.4.1: New USB device found, idVendor=0b05, idProduct=5506
[274422.353081] usb 1-2.4.4.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[274422.353091] usb 1-2.4.4.1: Product: Android
[274422.353097] usb 1-2.4.4.1: Manufacturer: Android
[274422.353103] usb 1-2.4.4.1: SerialNumber

The cable works because my Lenovo ThinkPad recognizes the tablet.
 
Old 11-27-2017, 10:33 PM   #6
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Original Poster
Rep: Reputation: 2
This in response to apt-cache policy gvfs-backends:

apt-cache policy gvfs-backends
gvfs-backends:
Installed: 1.22.2-1
Candidate: 1.22.2-1
Version table:
*** 1.22.2-1 0
500 http://debian.gtisc.gatech.edu/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status

Does that help?
 
Old 11-28-2017, 04:51 AM   #7
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,728

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
In Debian 8 there will show up nothing on desktops or so. There is nothing automatic. The link by michaelk provided all information you need.

Summarizing:
- install jmtpfs
- create a directory for mounting, say ~/android
- mount the device:
Code:
jmtpfs ~/android
(usually it produces someting which you think is an error message. But it is there)
- after use do not forget to unmout:
Code:
fusermount -u ~/android
jlinkels
 
Old 11-28-2017, 10:57 AM   #8
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Original Poster
Rep: Reputation: 2
Yes, I went to that webpage but didn't know how to sort through all that info. Sorry!
So are you saying after attaching the tablet put in *jmtpfs ~/android* and then when
I'm through unmount by *fusermount -u ~/android*? That sounds complicated for what
should be a straightforward procedure! If there is no indication of what's going on
(e.g., transferring data, etc.) how do I know when the transfer process is complete?

On Xubuntu there is no problem with attaching an android device. An icon
immediate appears on the desktop and you can open it like any removable drive.
 
Old 11-28-2017, 08:16 PM   #9
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,728

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
There is no such thing as (automatic) data transfer. Once you mounted the Android you'll see a directory tree below ~/android which show the files which are on your phone.

Between jmtpfs (mount) and fusermount (unmount) nothing is going on unless you give commands yourself. These commands mount the Android much like you mount a USB stick.

It is not impossible applications exist la iTunes (but then the Linux/Android variant). I think I have seen them. I don't use them though.

jlinkels

Edit: now I see the second paragraph of what you write. Well, in Ubuntu no automatic transfer is going on either. Just the tablet is automounted. And shows up as a removable device. After you do the jmtpfs command you'll have your removable drive in ~/android.

Last edited by jlinkels; 11-28-2017 at 08:19 PM.
 
Old 11-28-2017, 10:04 PM   #10
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Original Poster
Rep: Reputation: 2
Okay, I tried the method as described (I used *jmtpfs ~/Asus*)
and received the following:


~$ jmtpfs ~/Asus
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
No mtp devices found.
 
Old 11-28-2017, 10:12 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,882
Blog Entries: 18

Rep: Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346
It has become increasing difficult to connect to Android devices via USB cable.

The dark side of me thinks Google is trying to drive--er, motivate--persons to use Google Drive.

See this thread; I think you will find it helpful: https://www.linuxquestions.org/quest...op-4175614251/
 
Old 11-28-2017, 10:28 PM   #12
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Original Poster
Rep: Reputation: 2
Well, not so much "helpful" but it shows me other folks have struggled with this same problem.
Does this problem not exist in Google Drive? Very puzzling.
 
Old 11-28-2017, 10:32 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,882
Blog Entries: 18

Rep: Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346Reputation: 3346
What I was getting at is this: You may not be able to make your computer recognize your Android device. at least not without a bunch of twists and somersaults, but there are other ways to access the device's contents.

You may have to use one of those other ways.

Me, I have no interest in using Google Drive, nor in running nekkid through the Googleplex. For example, I recognize the benefits of Google Docs if one needs them in collaborative endeavors, but, if I do not have a positive business need for their collaborative aspects, I would not use them on a bet.

Last edited by frankbell; 11-28-2017 at 10:36 PM.
 
Old 11-28-2017, 11:00 PM   #14
Yuhan
Member
 
Registered: Oct 2010
Posts: 357

Original Poster
Rep: Reputation: 2
Well, for the time being my android device is recognized by my laptop so I'll
use that for data transfers. I guess it's one of the ways in which Ubuntu is
more "user friendly" (although it has other problems). Odd that this should
be a problem since android is Linux based, no?
 
Old 11-29-2017, 02:06 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 7,021
Blog Entries: 4

Rep: Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687
fwiw, please do try adb.
on my machine, it's owned by android-sdk-platform-tools.
if adb works, you can use this: https://github.com/sole/aafm
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scp from amd64 debian server to android tablet chiendarret Linux - Software 2 11-04-2013 11:31 AM
LXer: Twitter Launches An Android Tablet Optimized App For The First Time On One Tablet LXer Syndicated Linux News 0 10-12-2013 02:25 AM
Configuration Debian to give internet (ether) to Android Tablet ? Xeratul Debian 6 04-04-2013 02:23 AM
Problem installing Debian on my Android tablet. odiseo77 Linux - Mobile 7 08-12-2012 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:09 PM.

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