Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 06 Dec 2019, 07:57
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Media Transfer Protocol MTP (SOLVED)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 17 [253 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 15, 16, 17 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 8736
Location: qld

PostPosted: Mon 27 Jan 2014, 00:07    Post subject:  

tempestuous wrote:
I don't have an MTP device, myself, but I installed 01micko's mtp_detect-0.8-exper-noarch.pet
and I had a look at the on-screen prompt which invites the user to mount their device. Makes sense to me.
But I'm mindful of the earlier post by Moose On The Loose -
Moose On The Loose wrote:
When the camera is plugged in, the situation should be the same as for when a USB memory stick is plugged in. An icon should appear on the desktop and an device should appear in pmount.

Ooh, that's a nice idea. Could we modify the desktop drive icon function (/sbin/pup_event_frontend_d ?)
to autodetect MTP devices when connected, and then generate an icon for them on the desktop?
An on-screen prompt would then only pop up once the user clicks on the desktop icon.


pup_even_frontend_d is now written in BaCon (basic to C converter) and I don't have the first clue about basic.. anyone? The change was in June last year.

Geoffrey.. I checked and 05c6:f003 is not there, so I wonder how that worked? I have fixed the mechanism for auto generation anyway to the new format in 69-libmtp.rules so if anyone does have an obscure device at least they can have a rule generated for it and see if it works. There are bound to plenty of cheap Chinese tablets and phones out there that are not covered.

Billtoo., any bug encountered with go-mtpfs should be reported to the developer. https://github.com/hanwen/go-mtpfs/issues

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
can8v

Joined: 15 Jul 2006
Posts: 584
Location: Yuba City, CA

PostPosted: Mon 27 Jan 2014, 01:19    Post subject:  

Geoffrey wrote:
I tested in SalukiNOP 0.23 and Carolina non PAE, still takes around 18 seconds to run the mounter, that's three different kernels, it has to be something else.

Has Wary and Racy been tried by anyone ?, I don't have any copies at present to test those.

Oh! I used the latest mtp_detect-0.8-exper-noarch.pet and it worked without me adding a rule Confused

Are all of them using udev ver. 167.
Back to top
View user's profile Send private message Visit poster's website 
Billtoo


Joined: 07 Apr 2009
Posts: 3680
Location: Ontario Canada

PostPosted: Mon 27 Jan 2014, 01:24    Post subject: Media Transfer Protocol MTP
Subject description: Slacko64
 

I tried the new pet in Slacko64 and everything went without errors,
copied another album to the nexus7,standby works too.

I plugged in a BlackBerry PlayBook tablet and an earlier version of
the pet (0.5) saw it as a Research but couldn't mount it, the latest
pet (0.8 ) doesn't see it at all so I still need Windows to transfer
files to the PlayBook.

Anyways, it's working great with the nexus7 in Slacko64 Smile
nexus7.jpg
 Description   
 Filesize   27.87 KB
 Viewed   704 Time(s)

nexus7.jpg

Back to top
View user's profile Send private message 
can8v

Joined: 15 Jul 2006
Posts: 584
Location: Yuba City, CA

PostPosted: Mon 27 Jan 2014, 02:00    Post subject: Re: Media Transfer Protocol MTP
Subject description: Slacko64
 

Billtoo wrote:
I tried the new pet in Slacko64 and everything went without errors,
copied another album to the nexus7,standby works too.

I plugged in a BlackBerry PlayBook tablet and an earlier version of
the pet (0.5) saw it as a Research but couldn't mount it, the latest
pet (0.8 ) doesn't see it at all so I still need Windows to transfer
files to the PlayBook.

Anyways, it's working great with the nexus7 in Slacko64 Smile


Blackberry Playbook, might need some very special attention. I have seen forum post in a great many forums for many different distros and they all seemed to have problems with Playbook. It apparently uses MTP, but I wonder if it holds to the MTP standards. I have seen many post of unhappy Playbook owners that were unable to mount their devices in Distros that were using Libmtp/GIO, libmtp/FUSE, etc. There is about a dozen different ways to accomplish mounting MTP devices and it doesn't seem to matter which is used by the various distros, somebody is posting about their Playbook not mounting.
You might use lsusb to see what the manufacturer and product IDs are and manually make a rule for it and see if you can get any love that way. If not try connecting it and mounting it per the direction Tempestuous first gave out for mounting at the CL, no auto detection that way, but at least you might be about to get files to and from the device.
Back to top
View user's profile Send private message Visit poster's website 
Billtoo


Joined: 07 Apr 2009
Posts: 3680
Location: Ontario Canada

PostPosted: Mon 27 Jan 2014, 02:24    Post subject:  

@can8v
Thanks for the info on the PlayBook.
Back to top
View user's profile Send private message 
gjuhasz


Joined: 29 Sep 2008
Posts: 399

PostPosted: Mon 27 Jan 2014, 05:35    Post subject: Works in Puli, however...  

Tested in Puli (http://www.murga-linux.com/puppy/viewtopic.php?t=88691) with Samsung Galaxy Tab 2.

For the first attempt, go-mtpfs works well.
However, after repeating the magic procedure a few times:

Code:
go-mtpfs MTP &

   (downloading files)       

fusermount -u MTP


the content of directories suddenly seem to be shifted with one directory within /root/MTP. Means music files are displayed in the Pictures directory and pictures in the Recordings, records in Downloads etc.

Maybe this is a ROX bug because the right content is restored after refreshing the ROX window (where the files appear, because refreshing a higher level directory does not restore anyíthing.

Fortunately, this is only a displaying error, the files themselves remain at their right place.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4422
Location: West Lothian, Scotland, UK

PostPosted: Mon 27 Jan 2014, 05:49    Post subject:  

1. After my 1st [unsuccessful] attempt as previously posted by me....
And...
Having chosen to NOT SAVE those session changes...
At the next session booted [1st thing this morning]...
I [made a pupsavehotbackup and] had a 2nd go using the new/updated instructions in this post by 01 micko.

2. The 2nd attempt [using the updated instructions] was successful. Very Happy
I was able to mount [within Precise-5.6.1] the "Samsung Galaxy tab-2 10.1" running Android 4.0.
Then able to use Xfe to display the folder/file system within the tab-2, and display the contents of one of the image files [a screenshot].

3. I like the idea proposed in this post by tempestuous.
I'm somewhat concerned that I may forget to dismount [or is it unmount?] the device prior to disconnecting it.

4. I'll now try connecting my wifes' smartphone [Nokia Lumia 610 running Windows Phone OS].
Well....
That appeared to work OK, and I chose to mount it, but no contents show up under /mnt/MTPdevice.
Hmmm, I see 2 little phone icons down at bottom right beside the sound volume speaker icon.
I right-clicked on each of those and clicked "unmount", but saw no change to "mount".
Clicked each to "quit", and they disappeared.
A notice said I'd need to use the menu entry to unmount, but when I do that nothing happens [or rather I get the dialog shown in image 01].
I'll shut down [without saving; not necessary to save yet again since I'd clicked "Save" on the desktop right after making all the necessary changes], then disconnect the phone and boot once more.
Did that, and connected the smartphone yet again, but got the same result 2nd time around.
00.jpg
 Description   
 Filesize   31 KB
 Viewed   599 Time(s)

00.jpg

01.jpg
 Description   
 Filesize   28.74 KB
 Viewed   561 Time(s)

01.jpg

02.jpg
 Description   
 Filesize   2.17 KB
 Viewed   685 Time(s)

02.jpg

Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8736
Location: qld

PostPosted: Mon 27 Jan 2014, 07:01    Post subject:  

Sylvander wrote:
3. I like the idea proposed in this post by tempestuous.
I'm somewhat concerned that I may forget to dismount [or is it unmount?] the device prior to disconnecting it.

While it is a nice idea it's a bit beyond the scope of the project for now. You can drag the /usr/share/applicatons/mtp_detect.desktop file to your desktop and rename it to anything you like. If the device is mounted and you click it the unmount gui will show up.

So sadly enough windows phones fail. I suppose we will need a warning for that unless someone can fix it. There isn't one around for 100 miles in these parts. If its proven that they can't work perhaps nokias should be added to the kernel rule as an exception.

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5472
Location: Australia

PostPosted: Mon 27 Jan 2014, 07:34    Post subject:  

Billtoo and Sylvander,
Since the automated gui's have failed for your Playbook and Nokia 610 respectively,
you should go back to the manual instructions I posted originally -
http://www.murga-linux.com/puppy/viewtopic.php?p=752416#752416

After you run the "go-mtpfs MTPdevice" command, you may see some critical information in the terminal ...
if so, report this and we may be able to sort it out.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8736
Location: qld

PostPosted: Mon 27 Jan 2014, 07:38    Post subject:  

Also, there are a few options to go-mtpfs
Code:
# go-mtpfs -help       
Usage of go-mtpfs:
  -allow-other=false: allow other users to access mounted fuse. Default: false.
  -android=true: use android extensions if available
  -debug="": comma-separated list of debugging options: usb, data, mtp, fuse
  -dev="": regular expression to filter devices.
  -storage="": regular expression to filter storage areas.
  -usb-timeout=5000: timeout in milliseconds
  -vfat=true: assume removable RAM media uses VFAT, and rewrite names.

Maybe windows phones need the vfat option?

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5472
Location: Australia

PostPosted: Mon 27 Jan 2014, 07:58    Post subject:  

Regarding the Nokia, I did some Googling and read that someone successfully connected to a Windows phone by disabling the phone's password.
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3680
Location: Ontario Canada

PostPosted: Mon 27 Jan 2014, 08:25    Post subject:  

tempestuous wrote:
Billtoo and Sylvander,
Since the automated gui's have failed for your Playbook and Nokia 610 respectively,
you should go back to the manual instructions I posted originally -
http://www.murga-linux.com/puppy/viewtopic.php?p=752416#752416

After you run the "go-mtpfs MTPdevice" command, you may see some critical information in the terminal ...
if so, report this and we may be able to sort it out.


# cd /mnt
# go-mtpfs MTPdevice
2014/01/27 07:32:46 detect failed: no MTP devices found
#
# lsusb
Bus 001 Device 005: ID 0fca:8012 Research In Motion, Ltd.
#
The screen on the tablet says that it's connected to the computer.

Thanks
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5472
Location: Australia

PostPosted: Mon 27 Jan 2014, 08:53    Post subject:  

Billtoo wrote:
# go-mtpfs MTPdevice
2014/01/27 07:32:46 detect failed: no MTP devices found

Well that's a complete fail.

I suggest you try wifi sharing -
http://www.youtube.com/watch?v=q4pVt7D2vbs

EDIT: Sorry, I just realised you need a file browser with SMB support -
I will need to do some more digging - maybe Tux Commander?
Or maybe others with SMB knowledge can jump in ...
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12799
Location: Stratford, Ontario

PostPosted: Mon 27 Jan 2014, 09:40    Post subject:  

All Puppies have some kind of Samba client software - Pnethood, etc. According to the video, you just need to get the tablet enabled as a Samba server.

But in the video, he doesn't enable any authentication. That might be an issue if you take your tablet out in public.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8736
Location: qld

PostPosted: Mon 27 Jan 2014, 09:46    Post subject:  

Well maybe just samba is needed (slacko64 ships with but it needs to be turned on.. see network menu).

I have done quite a bit of testing and this one should support FatDog much better (even older pups perhaps) and give more warnings and even test devices with the "debug" option (from gui, logged to /tmp).. also added basic logging.. not that much happens when things go well but if it crashes maybe something gets caught.. see /tmp/MTP.log (before a reboot). Also added a legal button absolving any of us from inadvertently destroying windows phones and blackberry''s.

A funny thing, FatDog takes 20 seconds to popup for the automount.. very slow for 64. It must be a kernel option.. has to be!

Enjoy..
mtp_detect-0.9-exper-noarch.pet
Description  The bloat is because it includes GPLv2, a large text document
pet

 Download 
Filename  mtp_detect-0.9-exper-noarch.pet 
Filesize  19.73 KB 
Downloaded  254 Time(s) 

_________________
Puppy Linux Blog - contact me for access

Last edited by 01micko on Mon 27 Jan 2014, 09:52; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 6 of 17 [253 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 15, 16, 17 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0829s ][ Queries: 13 (0.0247s) ][ GZIP on ]