SCIENTIFIC-LINUX-USERS Archives

October 2017

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Vladimir Mosgalin <[log in to unmask]>
Reply To:
Vladimir Mosgalin <[log in to unmask]>
Date:
Sat, 7 Oct 2017 01:11:13 +0300
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Hi ToddAndMargo!

 On 2017.10.06 at 14:51:30 -0700, ToddAndMargo wrote next:

> http://people.redhat.com/bnocera/libmtp-rhel-7.5/libmtp-1.1.13-1.el7.x86_64.rpm
> 
> reference bug in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1356288
> 
> Krusader will not recognize my wife's tablet.  But Thunar
> does as mtp://[usb:002,010]
> 
> Question: how do I access mtp://[usb:002,010] from
> the command line?

You can use fuse-based mtp implementation; it will allow you to mount
your device into filesystem and use whatever tools you like. E.g.
simple-mtpfs works (you can rebuilt srpm from Fedora or get it straight
from source https://github.com/phatina/simple-mtpfs). Install
libmpt-examples (for mpt-detect) and simple-mtpfs and do something like

sudo mtp-detect
sudo simple-mtpfs -o allow_other,direct_io /home/user/Kindle

after you're done, unmount with "fusermount -u /home/user/Kindle"

If you are going to read/write huge files like movies, make sure you got
plenty of space in /tmp or redefine TMPDIR, otherwise the operation will
fail (MPT doesn't operate on whole files so it needs space to store
chunks which will be assembled to real files).

-- 

Vladimir

ATOM RSS1 RSS2