Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th August 2012, 11:24 AM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
How do i mount mtpfs for nexus7 file xfer

Hi,

I recently obtained a Nexus7 notepad and want to mount it on my Linux file system. I have installed the mtpfs files and simply do not know what to do next. It appears to detect the nexus 7 as it knows an android device is present.

Code:
[root@vaio mtpfs]# mtpfs
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   18d1:4e41 @ bus 2, dev 10
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
fuse: missing mountpoint parameter
[root@vaio mtpfs]#
Thanks for any help....
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #2  
Old 18th August 2012, 11:41 AM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Quote:
Originally Posted by teraquad View Post
Hi,

I recently obtained a Nexus7 notepad and want to mount it on my Linux file system. I have installed the mtpfs files and simply do not know what to do next. It appears to detect the nexus 7 as it knows an android device is present.

Code:
[root@vaio mtpfs]# mtpfs
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   18d1:4e41 @ bus 2, dev 10
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
fuse: missing mountpoint parameter
[root@vaio mtpfs]#
Thanks for any help....
Report as suggested

Code:
Device 0 (VID=18d1 and PID=4e41) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   18d1:4e41 @ bus 2, dev 10
Reply With Quote
  #3  
Old 18th August 2012, 04:28 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Thanks, I googled the team and found hundreds of post related to the same problem. Looks like i will just have to wait and see whats up.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #4  
Old 18th August 2012, 11:31 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Does the new lib help

http://forums.fedoraforum.org/showthread.php?t=283322
Reply With Quote
  #5  
Old 19th August 2012, 03:45 AM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,305
linuxchrome
Re: How do i mount mtpfs for nexus7 file xfer

You need to add the correct device info to /usr/lib/udev/rules.d/69-libmtp.rules.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #6  
Old 19th August 2012, 04:19 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxchrome
Re: How do i mount mtpfs for nexus7 file xfer

sorry I'm not sure what you're asking about the New lib I did install the most recent update It seems to be the 1 people are talking about.

Where would I find the information about the nexus 7

I will keep searching around surely I will find a how to

Thanks!
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!

Last edited by teraquad; 19th August 2012 at 04:30 PM. Reason: typo
Reply With Quote
  #7  
Old 19th August 2012, 04:39 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Quote:
Originally Posted by teraquad View Post
sorry I'm not sure what you're asking about the New lib I did install the most recent update It seems to be the 1 people are talking about.

Where would I find the information about the nexus 7

I will keep searching around surely I will find a how to

Thanks!

Add this

Code:
# nexus 7
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

to /usr/lib/udev/rules.d/69-libmtp.rules
Reply With Quote
  #8  
Old 19th August 2012, 05:14 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Hi,

Here is the output info after adding the nexus 7 as suggested to the (/usr/lib/udev/rules.d/69-libmtp.rules) file and rebooting.

Code:
[root@vaio ~]# mtpfs /mtp
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   18d1:4e41 @ bus 2, dev 3
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
[root@vaio ~]#
The Modified file snippit.

Code:
# UDEV-style hotplug map for libmtp
# Put this file in /etc/udev/rules.d

ACTION!="add", GOTO="libmtp_rules_end"
ENV{MAJOR}!="?*", GOTO="libmtp_rules_end"
SUBSYSTEM=="usb", GOTO="libmtp_usb_rules"
GOTO="libmtp_rules_end"

LABEL="libmtp_usb_rules"

# Some sensitive devices we surely don't wanna probe
# Color instruments
ATTR{idVendor}=="0670", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0765", GOTO="libmtp_rules_end"
ATTR{idVendor}=="085c", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0971", GOTO="libmtp_rules_end"
# Canon scanners that look like MTP devices (PID 0x22nn)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="22*", GOTO="libmtp_rules_end"
# Sensitive Atheros devices that look like MTP devices
ATTR{idVendor}=="0cf3", GOTO="libmtp_rules_end"
# nexus 7
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Vision
ATTR{idVendor}=="041e", ATTR{idProduct}=="411f", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative Portable Media Center
ATTR{idVendor}=="041e", ATTR{idProduct}=="4123", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Xtra (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4128", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Dell DJ (2nd generation)
ATTR{idVendor}=="041e", ATTR{idProduct}=="412f", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Micro (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4130", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Touch (MTP mode)
I must go for a family outing so i can't stick with it today. But thank you so much for the help sofar.

Thanks!
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #9  
Old 19th August 2012, 05:23 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Quote:
Originally Posted by teraquad View Post
Hi,

Here is the output info after adding the nexus 7 as suggested to the (/usr/lib/udev/rules.d/69-libmtp.rules) file and rebooting.

Code:
[root@vaio ~]# mtpfs /mtp
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   18d1:4e41 @ bus 2, dev 3
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
[root@vaio ~]#
The Modified file snippit.

Code:
# UDEV-style hotplug map for libmtp
# Put this file in /etc/udev/rules.d

ACTION!="add", GOTO="libmtp_rules_end"
ENV{MAJOR}!="?*", GOTO="libmtp_rules_end"
SUBSYSTEM=="usb", GOTO="libmtp_usb_rules"
GOTO="libmtp_rules_end"

LABEL="libmtp_usb_rules"

# Some sensitive devices we surely don't wanna probe
# Color instruments
ATTR{idVendor}=="0670", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0765", GOTO="libmtp_rules_end"
ATTR{idVendor}=="085c", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0971", GOTO="libmtp_rules_end"
# Canon scanners that look like MTP devices (PID 0x22nn)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="22*", GOTO="libmtp_rules_end"
# Sensitive Atheros devices that look like MTP devices
ATTR{idVendor}=="0cf3", GOTO="libmtp_rules_end"
# nexus 7
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Vision
ATTR{idVendor}=="041e", ATTR{idProduct}=="411f", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative Portable Media Center
ATTR{idVendor}=="041e", ATTR{idProduct}=="4123", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Xtra (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4128", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Dell DJ (2nd generation)
ATTR{idVendor}=="041e", ATTR{idProduct}=="412f", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Micro (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4130", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Creative ZEN Touch (MTP mode)
I must go for a family outing so i can't stick with it today. But thank you so much for the help sofar.

Thanks!


You might need to reboot for the change to take affect.
Reply With Quote
  #10  
Old 20th August 2012, 11:04 AM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Hi,

I rebooted and ran or 2 f17 machines with the same results. I really don't see any difference between this entry and the others. (other than the obvious) so i don't see why it wouldn't work.

Thanks!
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #11  
Old 21st August 2012, 12:46 AM
bz4568 Offline
Registered User
 
Join Date: Aug 2012
Location: earth
Posts: 2
linuxubuntufirefox
Re: How do i mount mtpfs for nexus7 file xfer

Hi,

Using Ubuntu on the PC here with my Nexus 7. Not sure if this will help but it did work for me:

http://blog.jsntng.me/2012/08/mounti...untu-1204.html
Reply With Quote
  #12  
Old 21st August 2012, 07:14 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Thanks for the reply,

I will give it a try. there are a few clues in there.

Thanks!

---------- Post added at 02:14 PM ---------- Previous post was at 05:35 AM ----------

Well i have an icon on my desktop that says Nexus7. There are 2 directory's under it playlist and internal storage. Unfortunately there are no items in those directorys. I used (mtpfs -o allow_other /media/nexus7) to mount it but i haven't a clew what might be wrong. I am simply cutting and pasting commands from posts.

Thanks for the info. I am getting closer.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #13  
Old 21st August 2012, 09:55 PM
bz4568 Offline
Registered User
 
Join Date: Aug 2012
Location: earth
Posts: 2
linuxubuntufirefox
Re: How do i mount mtpfs for nexus7 file xfer

the only downside I've noticed so far, and I only did this connection yesterday, is that the transfer speed is slow. Maybe I configured it wrong? I don't know.
Reply With Quote
  #14  
Old 23rd August 2012, 02:08 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: How do i mount mtpfs for nexus7 file xfer

Hi,

Why do you suppose that i cannot see any files under my 2 directory's Playlist and internal storage.
if i double click on playlist it says empty (not surprising) but under internal storage i feel like i should see my files.

Maybe it is my methodof mounting. is (mtpfs -o allow_other /media/nexus7) correct? if not what should i use.

Also can i make it automount when available and quiet when not.

Thanks Very much for the help....
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #15  
Old 31st August 2012, 03:40 AM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
linuxchrome
Re: How do i mount mtpfs for nexus7 file xfer

I just tried mounting my wife's Nexus 7 on my F16.x86_64 box after doing a "yum install mtpfs". Before trying anything after installing the mtpfs package, I had a read of the "/usr/share/doc/mtpfs-1.1/README" file that comes with that package. Yeah, no "man" page, but the super simple instructions on how to use mtpfs is right there in that file.

So I "sudo mkdir /media/Nexie", then plug in the turned on Nexus 7 into a USB port and give it half a minute (this in Xfce).
Then give the command "mtpfs /media/Nexie", and get this:
Code:
BASH:~/-> mtpfs /media/Nexie
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (mode 1).
   Found 1 device(s):
   Google Inc (for Asus): Nexus 7 (mode 1) (18d1:4e41) @ bus 1, dev 3
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
fusermount: user has no write access to mountpoint /media/Nexie
BASH:~/-> ls /media/Nexie/
BASH:~/->
OK.. it didn't mount. So I add write permissions to the mount point folder and try again:
Code:
BASH:~/-> sudo chmod a+w /media/Nexie
BASH:~/-> mtpfs /media/Nexie
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (mode 1).
   Found 1 device(s):
   Google Inc (for Asus): Nexus 7 (mode 1) (18d1:4e41) @ bus 1, dev 3
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
BASH:~/-> ls /media/Nexie/
Internal storage  Playlists
The Playlists folder is empty, but...
Code:
BASH:~/-> ls /media/Nexie/Internal\ storage/
Alarms   Autodesk    DCIM      kindle  Music          Pictures  pulse   Ringtones  tmp
Android  crosswords  Download  Movies  Notifications  Podcasts  reader  Temp
No mucking about with .../udev/rules.d/.. files, it just worked. And to unmount the volume..
Code:
fusermount -u /media/Nexie
Reply With Quote
Reply

Tags
file, mount, mtpfs, nexus7, xfer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mtpfs package for Fedora? dth4h Using Fedora 7 1st May 2012 10:59 PM
installing mtpfs sfermat Using Fedora 16 19th October 2011 07:56 PM
File Operation stopping on network xfer mtxRooster EOL (End Of Life) Versions 0 4th October 2010 04:25 AM
creative zen vision w - mtpfs schneidz Using Fedora 0 31st October 2008 02:30 PM
help installing mtpfs stlouis1 Using Fedora 5 5th October 2008 12:39 AM


Current GMT-time: 13:06 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat