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 Tue 23 Sep 2014, 20:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
MTPconnect 0.9
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Author Message
slavvo67

Joined: 12 Oct 2012
Posts: 387
Location: The other Mr. 305

PostPosted: Thu 13 Feb 2014, 16:30    Post subject:  

I see. So it was probably the go-mtpfs that did something in the root. No worries. I'm just glad it works!

Best,

Slavvo67
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4277
Location: Earth

PostPosted: Thu 13 Feb 2014, 17:56    Post subject:  

slavvo67 wrote:
...something in the root. ...
Hi @Slavvo67,

You could alway create a relative link of the /mnt/Kindle in your root folder. That, I'm sure, will achieve your needs, too.

Hope this helps

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2333
Location: Heart of Texas

PostPosted: Fri 14 Feb 2014, 21:42    Post subject:  

bump to top for Raj to find MTP Very Happy
Back to top
View user's profile Send private message 
can8v

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

PostPosted: Sat 15 Feb 2014, 03:11    Post subject:  

slavvo67 wrote:
I see. So it was probably the go-mtpfs that did something in the root. No worries. I'm just glad it works!

Best,

Slavvo67


That is a possibility, I know the first go-mtpfs that Tempestuous put out creates a folder /root/MTP (or similar, just going off memory). The new one creates /mnt/MTPdevice. MTPconnect however, doesn't use either of those directories. I decided two things a little late in the development cycle:
1.) That the mount point should include the device name reported by the device in the directory name.
2.) As soon as the device is disconnected the mount point should be cleaned up and the directory removed completely.
The reason for number 2 above that noncomputer savvy users or even nonlinux savvy users my see the empty directory after the device is disconnected and assume the computer think the device is still connected. Since most of these devices are WiFi enabled it entirely possible for people to even think the device is somehow still connected. They could even put files in that folder, then when MTPconnect would try to remount the device the next time they plug it in, it wouldn't work because there is a safety feature to keep you from mounting to a nonempty drive. This process of only have the mount point exist as long as the device is connected solved all of those problems.
Though I am wondering if your file manager is opening to the mount point of your device when you plug it in or if you are having to manually open it. Also which file manager are you using. I included support for most of the filemanagers in the Puppy landscape, but if it doesn't automatically open to the correct folder for your device then I may missed one.
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: Sat 15 Feb 2014, 03:20    Post subject:  

gcmartin wrote:
slavvo67 wrote:
...something in the root. ...
Hi @Slavvo67,

You could alway create a relative link of the /mnt/Kindle in your root folder. That, I'm sure, will achieve your needs, too.

Hope this helps

This is a good point. I put the mount point under /mnt so it would be where all the other hard drives, CDs, DVDs, Blu-Rays, SD cards, Flash Drives, External drives, Cameras, etc. are mounted. I personally thought it made since to keep it together, but I know of at least one other person that als prefers it under root. I personally removed many of the folders in root and moved them outside the save file, so I no longer have to worry about it filling up all the time or constantly moving files, so it doesn't fill up. Also on my system any scripts that I write I keep outside of the save file, and symlink them into the /root/my-applications/bin directory or Startup directory, so that they not only don't take up space in my save file, but also are available to every pupppy I have installed (currently three of them). Sym linking things to your /root directory can be very beneficial.
Back to top
View user's profile Send private message Visit poster's website 
slavvo67

Joined: 12 Oct 2012
Posts: 387
Location: The other Mr. 305

PostPosted: Sun 16 Feb 2014, 21:02    Post subject:  

That sounds like a cool option for me. Thanks to all for your answers on this. Again, this is a great tool.

Best,

Slavvo67
Back to top
View user's profile Send private message 
flamingo

Joined: 04 Jun 2014
Posts: 4

PostPosted: Thu 10 Jul 2014, 03:28    Post subject: Re: MTPconnect 0.9
Subject description: Fully automatic mounting and unmounting of MTP devices.
 

Can you please help me debug this? I got referred to your link but I can not solve my problem. Am completely green.
I have installed these 3 files ( http://murga-linux.com/puppy/viewtopic.php?p=777018#777018) but as I am also completely unfamiliar with the linux Wary software I don't know how to find a file and uninstall it if I have to. Got this installed from a friend instead of Windows XP as that one was expiring.
Now I have a ZTE Blade G.
At least my computer detects now that there is a phone connected to it, There is a window showing that. But on my phone turning on MTP shows and empty ROX display. But if I turn on PTP for camera at least I get 3 different links. ( In earnest I don't even know what those acronyms mean). But when I open those links the window is all empty. It doesn't show any more items.

Can you please help?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11072
Location: Arizona USA

PostPosted: Thu 10 Jul 2014, 23:50    Post subject:  

I'll take a shot, though I don't know anything about MTP so all I can do is ask stupid questions. Still, one of them might get a useful answer. Smile
First, are you sure there is actually something in the directory? Maybe the directory is showing empty because there is nothing in it. What happens if you try to copy a mp3 or jpeg file to the directory from Puppy? (Just drag the file from wherever you can find it to the empty MTP directory.)
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 387
Location: The other Mr. 305

PostPosted: Fri 11 Jul 2014, 17:33    Post subject:  

I'll try to help...

First, with MTP Connect, I initially couldn't tell it was working, either. Click on one of your drive icons sda2, sdb1, etc. and it will open up Roxfiler. Then go to the top left and click the green arrow-up. Now, you should see a list of mounted (and unmounted) drives. You should be able to pick out your phone or camera from that list. For example, my Kindle Fire was actually named kindle. So click on that and you should see your files.

To uninstall, you can usually use the Puppy Package Manager (or PPM). It's usually an icon with a little box and a dog's head sticking out. The word "Pet" is on the box. Be patient for a minute while it opens.

Now you are in the puppy package manager (which is somewhat of an auto installer of programs). On the bottom right should be a list of items identified as installed. If you identify the names of the 3 packages, you can click each one and have the Puppy Package Manager (PPM) uninstall.

If you are running Puppy from a CD, you can just shut down and choose not to save your changes. The items you manually installed will no longer be there when you reboot.

I hope this helps.

Best,

Slavvo67
Back to top
View user's profile Send private message 
nipotastro

Joined: 08 Oct 2008
Posts: 5

PostPosted: Fri 01 Aug 2014, 04:39    Post subject:  

Very Happy

just tried on lupu with my sII.. it works fine!

thanks to all !

(lupu on hd - p4 2600 512 mb ram- Samsung SII standard)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0684s ][ Queries: 13 (0.0034s) ][ GZIP on ]