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 17 Oct 2017, 09:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
CamPhoneTab - USB interface for cameras/phones/tablets
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 6 [79 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Author Message
rcrsn51


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

PostPosted: Wed 13 Jan 2016, 11:18    Post subject:  CamPhoneTab - USB interface for cameras/phones/tablets  

CamPhoneTab mounts and views the contents of digital cameras, phones and tablets over USB. There are two connection methods: treat the device as a camera using the old PTP protocol or use the new MTP protocol. If your device supports MTP, it is the preferred choice. MTP can do seamless file transfers in either direction. CamPhoneTab uses simple-mtpfs and the newest version of libmtp.

Download the 32bit CamPhoneTab from here. Click the green DOWNLOAD box. There is a matching 64bit package for Tahr64/Xenial64, but it is untested. If you want to try it, post a request.

Update: CamPhoneTab uses libgcrypt11 and new Puppies don't have it. If your Puppy needs it, you will get a message when you install the CamPhoneTab PET. Install the libgcrypt-11.pet attached below.

Look for CamPhoneTab in the Filesystem menu. CamPhoneTab does NOT do plug-and-play auto-detection. To make a convenient shortcut, go to /usr/share/applications and drag the CamPhoneTab file onto the desktop.

To avoid conflicts with pupcamera, the CamPhoneTab installer disables it. To restore pupcamera, look in the folder /etc/udev/rules.d/disable. Move the ".rules" file back to its original location. Or uninstall CamPhoneTab.

This project is extremely hardware-dependent. Please test and report. State your device, connection method and any problems. For example, my Samsung Galaxy Tab 4 needs about 20 seconds after it reaches its desktop before it becomes visible as an MTP device.

If you get a LIBMTP PANIC error, wait several seconds and press Connect again.

---------------------

Update: CamPhoneTab v1.4 has the additional jmtpfs mounting tool. There are reports that it may sometimes work better than simple-mtpfs. It is built against the latest version of libmtp and is backwards compatible with Lupu.

--------------------------

Update: CamPhoneTab v1.5 introduces support for iPod/iPad/iPhone devices. It gives access to your photos on new models that are not handled by Pupcamera. Thank you to rockedge for his help with this. Unfortunately, we were unable to achieve full support of iTunes music via gtkpod.

1. Plug in your idevice and unlock its screen if necessary.
2. Run CamPhoneTab from the Filesystem menu.
3. From the Connection Mode list, select Idevice.
4. Click Connect.
5. The terminal window may show a message about verifying the connection as trusted. Do this on the idevice.
6. Click Connect again. Now you should get a "paired" message. Your idevice is mounted at /mnt/CamPhoneTab.
7. Leave the terminal window open.
8. Click View. This opens a ROX window into the device.
9. With any luck, you can browse the DCIM folder containing your photos. You can move files to and from your Puppy filesystem.
10. When done, click Disconnect and Quit.

This feature is extremely hardware-dependent. Its performance will vary with the type of device and its generation. Please report your success or failure.

-------------------------
libgcrypt-11.pet
Description  Install only if needed by new Puppies
pet

 Download 
Filename  libgcrypt-11.pet 
Filesize  204.95 KB 
Downloaded  73 Time(s) 

Last edited by rcrsn51 on Mon 22 May 2017, 10:03; edited 44 times in total
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 987
Location: Chatswood, NSW

PostPosted: Wed 13 Jan 2016, 21:53    Post subject: Works with Bauhn Sphere phone
Subject description: And older Bauhn 10-inch tablet
 

G'day rcrsn51,

Quick test with CamPhoneTab in slacko-6.0.5 (32-bit, full) on a HP desktop connecting to a:
Bauhn tablet model wl-101GQC, android-4.1.2
Bauhn SphereB5 phone, android-4.2.2

No problems:
- quick connect indicated by pop-up terminal window, then
- hitting 'View' brought up the devices internal memory and their micro-SD cards' files.

Viewed some image files OK, but did not try any file transfers either way.

I no longer have a regularly used camera as the phone's camera is too convenient, as is its large memory via the 32GB micro-SD card.

I'll try your pet in a 64-bit Puppy where the 32-bit-libs sfs works for at least some of my many 32-bit programs.

If CamPhoneTab was a simple scripting exercise for you(?), what about a 64-bit version for the several 64-bit Pups under development, if not already in use? I assume this won't work as-is in a 64-bit Pup?

Thanks for this handy new .pet.

David S.
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Wed 13 Jan 2016, 22:22    Post subject:    

Excellent! You da'man big GUY!

Aboard 528 my Samsung Galaxy S4 (MTP) connected quick. "View" opened ROX and both device and card folders were instantly visible. File transfers to & fro without incident. Nice!

I didn't have gphotofs installed to test my camera.

I'll get back..

_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
slavvo67

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

PostPosted: Wed 13 Jan 2016, 22:28    Post subject:  

I started to get triangles across my desktop using Quirky Unicorn 6.2.1. I connected a Kyocera phone. I panicked and did a hard shutdown. QU recovered nicely but I chose to uninstall the pet, for now.

Computer Specs, below:

-Computer-
Processor : Intel(R) Pentium(R) 4 CPU 2.20GHz
Memory : 1291MB (98MB used)
Machine Type : Physical machine
Operating System : Quirky Unicorn
User Name : root (root)
Date/Time : Wed 13 Jan 2016 09:31:08 PM GMT-8
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Mesa DRI Intel(R) 845G x86/MMX/SSE2
X11 Vendor : The X.Org Foundation
-Audio Devices-
Audio Adapter : EMU10K1X - Dell Sound Blaster Live!
-Input Devices-
AT Translated Set 2 keyboard
Dynex 5-Button Wired Optical Mouse
Power Button
Power Button
PC Speaker
-Printers (CUPS)-
CUPS-PDF : <i>Default</i>
-SCSI Disks-
ATA IC35L060AVV207-0
PNY USB 3.0 FD
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 987
Location: Chatswood, NSW

PostPosted: Wed 13 Jan 2016, 22:34    Post subject: CamPhoneTab works in 64-bit Slacko Frugal
Subject description: with 32-bit libs as sfs
 

G'day again,

Installed the CamPhoneTab pet into my 64-bit slacko which already had the 32-bit libs loaded in.

CamPhoneTab (CPT) opened and ran as per 32-bit slacko.
I connected my Bauhn Sphere B5 phone and viewed some image and videos files off the phone's SD card.
I also test-transfered (copied) some photos from the SD card to my desktop.

Attached screen shot shows CPT windows plus the Rox windows during the file copying. And (via the weather widgets) that is now 40C outside - and I'm waiting for the southerly cool change to blow in later this afternoon/evening.

David S.
CPT_64slacko_phone.png
 Description   
 Filesize   222.62 KB
 Viewed   1932 Time(s)

CPT_64slacko_phone.png

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

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

PostPosted: Wed 13 Jan 2016, 22:39    Post subject:  

1. Got this to work with my wifes' Samsung Galaxy TAB2 10.1, running Android-4.2.2.
But...
I'll stick with the existing arrangement [gomtp-fs-20130628 & MTPconnect_0.9], because it auto displays the necessary as soon as the tablet is connected.

2. My wifes' Nokia smartphone running Windows-8.3 doesn't work with this.
Doesn't work with the alternative either.
Haven't come across anything in Puppy that works with this phone.
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 987
Location: Chatswood, NSW

PostPosted: Wed 13 Jan 2016, 23:51    Post subject: CamPhoneTab-1.0 in tahrpup64-6.0.4 Frugal
Subject description: Stops at missing file message
 

G'day rcrsn51,

In a 64-bit Pup (TahrPup64-6.0.4) without 32-bit libraries, I got the opening windows and connected my Android phone, but when I hit 'connect', the terminal window said it could not locate the simple-mtpfs binary (see attached screen shot).

As there is a file in /usr/bin/ called simple-mtpfs, I'm guessing it's a 32-bit/64-bit issue?

David S.
capture14297.jpg
 Description   
 Filesize   99.39 KB
 Viewed   1915 Time(s)

capture14297.jpg

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


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

PostPosted: Wed 13 Jan 2016, 23:52    Post subject:  

@Everyone: Thanks for testing.

@Sylvander: I have posted a version [deleted] that is built with the 2015 release of libmtp. It is your best bet to work with your Windows phone. Click the small grey DOWNLOAD button on the LEFT.

@david: This package has 32bit binary components so it won't work in a 64-bit environment. But I have a 64-bit version that I will post shortly.

[Edit] The 64-bit version is [deleted]. Click the small grey DOWNLOAD button on the LEFT. This was only tested in Slacko64, so I don't know about Tahrpup64.

[Edit-Edit] It works with Tahrpup64.

Bill

Last edited by rcrsn51 on Mon 06 Jun 2016, 23:35; edited 2 times in total
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 987
Location: Chatswood, NSW

PostPosted: Thu 14 Jan 2016, 00:25    Post subject: 64-bit CPT works in tahrpup64 (confirmed)
Subject description: with Android Bauhn SphereB5 phone
 

G'day rcrsn51,

Installed your 64-bit version to my frugal tahrpup64-6.0.4 over the top of the 32-bit CPT version and found I could now connect to my Android phone and view files therefrom (see attached screen-shot).

Only minor concern (proving fruitless) was the same version number on the initial dialog box ("1.0" - see in screenshot) for both versions, when I saw your 64-bit version .pet had an extra couple of ".1".

Very Happy And I see you've already found tahrpup64 is OK before I've finished this post (I'm getting distracted by the noise and darkness outside as the southerly arrives).

David S.
CPT64bit-tahrpup64.jpg
 Description   
 Filesize   144.79 KB
 Viewed   1927 Time(s)

CPT64bit-tahrpup64.jpg

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


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Thu 14 Jan 2016, 08:36    Post subject:  

Aboard 528, my Nikon Coolpix S220 mounts and dismounts without issue.

File transfer from device to hard drive -- Seamless!

My gphotofs.. The 0.5 pkg provided by Tempestuous.

Browser dwnlds had trouble -- Use wget.
cpt_ptp-go.jpg
 Description   
 Filesize   81.83 KB
 Viewed   1818 Time(s)

cpt_ptp-go.jpg


_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
Sylvander

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

PostPosted: Thu 14 Jan 2016, 08:58    Post subject:  

rcrsn51 wrote:
@Sylvander: I have posted here a version that is built with the 2015 release of libmtp. It is your best bet to work with your Windows phone.

DONE. Very Happy
It works with BOTH...
1. Samsung Galaxy TAB2 10.1, running Android-4.2.2.

And...
2. Nokia Lumia 610, running Windows-8.3.
I'm surprised to see:
Only 1 folder displayed named "Pictures", with 4 sub-folders [1 empty] under that holding ONLY .jpg and .mp4 files.
No operating system folders or files.
Is this OK?
Why so?

3. I think I'll keep this new arrangement, since it works with the Nokia Lumia 610.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 14 Jan 2016, 09:24    Post subject:  

Sylvander wrote:
It works with BOTH...
1. Samsung Galaxy TAB2 10.1, running Android-4.2.2.

I expect that all the modern Android devices should work fine.

Quote:
And...
2. Nokia Lumia 610, running Windows-8.3.
I'm surprised to see:
Only 1 folder displayed named "Pictures", with 4 sub-folders [1 empty] under that holding ONLY .jpg and .mp4 files.
No operating system folders or files.
Is this OK?
Why so?

As opposed to the Android device, which shows more stuff? Here is my understanding of MTP. The host device decides what content it wants to expose. In the case of Windows phones, they may only show the content which would be accessed by a Windows computer.

BTW, this is how Android 4 is different. The old Androids exposed the entire unit as a USB Mass Storage device. Under MTP, there is more control over what gets exposed.

Quote:
3. I think I'll keep this new arrangement, since it works with the Nokia Lumia 610.

Does it allow up/downloading? Or playing directly through a Puppy media player?

Thanks for testing. This is an important case.

Bill
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 14 Jan 2016, 09:32    Post subject:  

@Semme: Thanks for testing the Camera mode. I don't know where those "Loading camera drivers" messages come from. I was finally able to hide them in the newer Puppies I tried.
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Thu 14 Jan 2016, 10:29    Post subject:  

Wink No probs Bill. It appears to be produced by /tmp/go.sh.
Code:
echo Leave this window open ... use ROX Rescan if needed ...
echo
gphoto2 --quiet --auto-detect; gphotofs /mnt/CamPhoneTab &
read

_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 14 Jan 2016, 10:50    Post subject:  

@Semme: Open /usr/sbin/CamPhoneTab in a text editor and go to line 21. Delete the "-geometry 60x10+10+10" option.

Run it again.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 6 [79 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
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.0562s ][ Queries: 14 (0.0045s) ][ GZIP on ]