LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices



Reply
 
Search this Thread
Old 05-09-2014, 01:37 PM   #1
mohammadtorfehnezhad
LQ Newbie
 
Registered: May 2014
Posts: 2

Rep: Reputation: Disabled
mount nexus 5 on debian squeeze


I'm using Debian Squeeze and I have got a problem mounting my Nexus 5 as Media Device(MTP)
I've searched over the internet and I couldn't found anything useful, I tried to follow the instructions for Ubuntu or Debian Wheezy but in both of them I encountered some problems with packages.
Does anybody have any suggestion?
 
Old 05-09-2014, 06:34 PM   #2
linuzfreak
LQ Newbie
 
Registered: Apr 2014
Posts: 21

Rep: Reputation: Disabled
There is a file manager called PCmanFM. It has support for MTP devices. It's a bit flaky with some devices.

You can also try a program called android SDK and use the adb tool ( commandline app ) or the ddms tool ( GUI app ). Both tools allow you to transfer files from PC to phone/tablet and vice versa.

A more simpler approach is to use Airdroid or File Expert HD. Airdriod uses any web browser to connect to the android device. Then you just drag and drop.

File Expert HD also uses a web browser to interact with the android device. It also has a built-in FTP server if you wish to go that route.

Airdroid and File Expert HD are available for free in google play store.

Last edited by linuzfreak; 05-09-2014 at 06:43 PM.
 
Old 05-23-2014, 02:29 PM   #3
mohammadtorfehnezhad
LQ Newbie
 
Registered: May 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
I followed this link "http://bernaerts.dyndns.org/linux/74-ubuntu/268-ubuntu-automount-any-mtp-device" and just changed some parts which I will mention below to work on Debian
Follow the instruction in the link and make this changes in each steps

Step 2.2 : Install "mtpfs" instead of "go-mtpfs", there for there's no need to add mentioned repository. In addition, install fuse-utils

Step 3 : In every each steps of this part make sure to specify and use correct information according to YOUR OWN DEVICE, the written information such as VENDOR ID, DEVICE ID, BUS and other numbers are just examples

Step 3.5 : User this rule instead of the rule that has been written in the article
# Nexus_5 - MTP mount & unmount rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0777", OWNER="mohammad"
ENV{ID_MODEL}=="Nexus_5", ENV{ID_MODEL_ID}=="4ee2", ACTION=="add", RUN+="/usr/bin/sudo -b -u mohammad /usr/bin/mtpfs /media/Nexus_5 -o allow_other"
ENV{ID_MODEL}=="Nexus_5", ENV{ID_MODEL_ID}=="4ee2", ACTION=="remove", RUN+="/usr/bin/sudo -b -u mohammad /usr/bin/fusermount -u /media/Nexus_5"

After step 3.5 just unplug the USB cable and plug it in back and it should work
For step 3.6 I couldn't cope with it.
 
  


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
LXer: Ubuntu Touch Support Dropped for Galaxy Nexus, Nexus 7 (2012), and Nexus 10 LXer Syndicated Linux News 0 01-15-2014 09:31 PM
[SOLVED] mount Iomega external hard drive on debian squeeze, how to use mount command Foxbat1155 Linux - Hardware 15 02-21-2012 05:55 PM
Mount Galaxy Nexus LTE Debian Squeeze prickee Debian 0 02-06-2012 01:42 AM
Debian Squeeze Mount Problem cfoek Linux - Newbie 6 02-05-2012 11:05 AM
Mount Galaxy Nexus LTE Debian Squeeze prickee Linux - Mobile 0 01-26-2012 06:34 PM


All times are GMT -5. The time now is 12:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration