The officially official Devuan Forum!

You are not logged in.

#1 2017-08-05 01:23:44

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

iPhone and PTP Camera are not being mounted

Hi All,

The iPhone and my Camera are not being mounted by Thunar but as you can see below, via the lsusb command, the system is seeing them.

Bus 001 Device 005: ID 05ac:1294 Apple, Inc. iPhone 3GS
Bus 001 Device 006: ID 04cb:01c1 Fuji Photo Film Co., Ltd FinePix F31fd (PTP)

Does anyone have a solution?

Thanks, MTB.

Offline

#2 2017-08-07 21:07:08

greenjeans
Member
Registered: 2017-04-07
Posts: 543  
Website

Re: iPhone and PTP Camera are not being mounted

Have you checked Thunar's Preferences?  Edit>>Preferences>>Advanced>>Volume management


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#3 2017-08-07 22:57:05

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,254  

Re: iPhone and PTP Camera are not being mounted

Sometimes jmtpfs is sufficient.

Offline

#4 2017-08-08 01:52:58

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

Re: iPhone and PTP Camera are not being mounted

greenjeans wrote:

Have you checked Thunar's Preferences?  Edit>>Preferences>>Advanced>>Volume management

Enable Volume Management is already checked.

Offline

#5 2017-08-08 02:12:52

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

Re: iPhone and PTP Camera are not being mounted

ralph.ronnquist wrote:

Sometimes jmtpfs is sufficient.

My Fuji camera is PTP and it doesn't detect the iPhone 3GS neither.

Offline

#6 2017-08-08 03:00:18

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: iPhone and PTP Camera are not being mounted

I have an old Canon Powershot (PTP) that wouldn't mount on Jessie.  I can't remember how I got it working but it now automounts at gphoto2://[usb:001,056]/ with root permissions.  A notification pops up and the directory appears in the Thunar side pane tree.

That directory contains these sub-directories,
    DCIM - photos are here
    MISC - empty

So you might want to install gphoto2 and see if it can find your camera at least.  Some searching on the above might give you additional hints.  No clues about your phone - don't have one.

Offline

#7 2017-08-08 03:05:11

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

Re: iPhone and PTP Camera are not being mounted

golinux wrote:

I have an old Canon Powershot (PTP) that wouldn't mount on Jessie.  I can't remember how I got it working but it now automounts at gphoto2://[usb:001,056]/ with root permissions.  A notification pops up and the directory appears in the Thunar side pane tree.

That directory contains these sub-directories,
    DCIM - photos are here
    MISC - empty

So you might want to install gphoto2 and see if it can find your camera at least.  Some searching on the above might give you additional hints.  No clues about your phone - don't have one.

That's funny I suppose as the following are installed but not gphoto2.

libgphoto2-6
libgphoto2-l10n
libgphoto2-port10

I'll install gphoto2 now and see what happens.

Offline

#8 2017-08-08 03:09:15

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

Re: iPhone and PTP Camera are not being mounted

Do I need to restart the session for the installation of gphoto2 to take effect?

Offline

#9 2017-08-08 03:15:01

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: iPhone and PTP Camera are not being mounted

I have no idea.  Try without.  Then the next option would be to log out/in.  Then a reboot if all else fails.   I'll keep my fingers crossed for you!  Sorry it took me a few days to get around to pulling out the camera to get the info.

Offline

#10 2017-08-08 03:29:57

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

Re: iPhone and PTP Camera are not being mounted

golinux wrote:

I have no idea.  Try without.  Then the next option would be to log out/in.  Then a reboot if all else fails.   I'll keep my fingers crossed for you!  Sorry it took me a few days to get around to pulling out the camera to get the info.

Nope, no joy. sad

Offline

#11 2017-08-08 04:18:55

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: iPhone and PTP Camera are not being mounted

One more thing to try.  I also have libgphoto2-port12 version 2.5.8-1~bpo8+1 installed.  This was likely just a fluke because early on amprolla was merging bpo into the main repos.   Took me a while to catch on to that so I do have some bpo mixed in that I ordinarily wouldn't have.  But perhaps that's what gphoto2 needs?  If all else fails, maybe a card reader would work?

Offline

#12 2017-08-08 07:41:22

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,254  

Re: iPhone and PTP Camera are not being mounted

Also, you should check permissions on /dev/bus/usb/001/00[56]
If udev doesn't recognize their vendor/product id, it'll just set up "generic" nodes, which probably are not accessible by a user.

Offline

#13 2018-09-02 01:40:37

mtbvfr
Member
Registered: 2017-07-29
Posts: 67  

Re: iPhone and PTP Camera are not being mounted

Hi Folks,

I installed Ascii yesterday and these issues were/are still a problem.

The system detects their presence but they were/are not being mounted by Thunar.

If I Check "Import digital photographs when connected option" for Cameras in the Volume Management app, a Notification is displayed in the top right corner of the screen indicating "Camera detected" "A photo camera was detected". The same Notification is displayed when I connect the phone too.

If I look at the permissions under /dev/bus/usb/003/, for example, for the newly connected device, it says that the Group plugdev has Read & Write permissions and my User Name belongs to that Group.

I installed gphoto2, gphotofs and ifuse to no avail.

eudev is installed and I have noticed that neither udev nor udevil are installed. udevil suggests pmount. Are there any possibilities of success with those?

I've been using MX Linux since my last try with Devuan. Both devices are added to the Tree View of Thunar's Side Pane and Right Click to mount for example as "gphoto2://[usb:001,006]/". I can use the phone as an Internet Hotspot also.

The following are installed in MX17. I think I have covered all the pertinent packages.

gphoto related packages
-----------------------
gvfs-backends 1.30.4-1
libgphoto2-6 2.5.12-1
libgphoto2-port12 2.5.12-1

iphone related packages
-----------------------
ifuse 1.1.3-git20171008+1
libimobiledevice-utils 1.2.0+mx17-1
libimobiledevice6 1.2.0+mx17-1
libplist3 1.12+git+1+e37ca00-0.3
libusbmuxd4 1.0.10-git20171008+1
mx-idevice-mounter 0.1.5.0
mx-iphone 0.1mx17
python-imobiledevice 1.2.0+mx17-1
python-plist 1.12+git+1+e37ca00-0.3
usbmuxd 1.1.0-3mx17+2

udev related packages
---------------------
libudev1 232-25+deb9u4
udev 232-25+deb9u4
udevil 0.4.4-1+b1
usbmuxd 1.1.0-3mx17+2

Thunar 1.6.12

So, I installed gvfs-backends, libimobiledevice-utils & udev.

After a Restart, BINGO for my Fuji Camera but still nothing for the phone. However with the Fuji I can't directly open the files as only root is given permission to access them via Thunar even though under /dev/bus/usb/003/, for example, the same permissions still exist as mentioned before. However, I can copy them to another device.

Next, I installed libplist3, python-imobiledevice & python-plist. Still no go with the phone.

Next, I installed udevil, zenity, zenity-common & pmount. With the Fuji, as above, I still can't directly open the files. Still no go with the phone even after a Restart.

So, what is the missing piece or are the missing pieces to the puzzle?

Thanks, MTB.

Offline

#14 2018-09-02 11:41:24

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: iPhone and PTP Camera are not being mounted

My PTP camera works out of the box.  Using a minimal xfce install.  I do not have anything checked-on under Settings>Removable Drive and Media, under all tabs.  I DO have the Enable Volume Management checked under Thunar preference, Advanced tab.  Once I plug the camera into usb, Thunar shows the icons in the left panel.  I can copy as well as delete photos as non-root user, no permission problems.

For me its always been gvfs-backends and gphoto2 that seem to provide reliable camera support.

Posted below are "gvfs", "Photo", and "gnome" related packages I have installed.

Good Luck!

gvfs/stable,now 1.30.4-1 amd64 [installed,automatic]
gvfs-backends/stable,now 1.30.4-1 amd64 [installed]
gvfs-common/stable,now 1.30.4-1 all [installed,automatic]
gvfs-daemons/stable,now 1.30.4-1 amd64 [installed,automatic]
gvfs-libs/stable,now 1.30.4-1 amd64 [installed,automatic]

libgphoto2-6/stable,now 2.5.12-1 amd64 [installed,automatic]
libgphoto2-l10n/stable,now 2.5.12-1 all [installed,automatic]
libgphoto2-port12/stable,now 2.5.12-1 amd64 [installed,automatic]
libopencv-photo2.4v5/stable,now 2.4.9.1+dfsg1-2 amd64 [installed,automatic]

gir1.2-gnomekeyring-1.0/stable,now 3.12.0-1+b2 amd64 [installed,automatic]
gnome-accessibility-themes/stable,now 3.22.2-2 all [installed,automatic]
gnome-extra-icons/stable,now 1.1-3 all [installed,automatic]
gnome-icon-theme/stable,now 3.12.0-2 all [installed,automatic]
gnome-icon-theme-extras/stable,now 3.12.0-1 all [installed,automatic]
gnome-keyring/stable,now 3.20.0-3 amd64 [installed,automatic]
gnome-menus/stable,now 3.13.3-9 amd64 [installed,automatic]
gnome-mime-data/stable,now 2.18.0-1 all [installed,automatic]
gnome-themes-standard/stable,now 3.22.2-2 amd64 [installed,automatic]
gnome-themes-standard-data/stable,now 3.22.2-2 all [installed,automatic]
gnome-user-guide/stable,now 3.22.0-1 all [installed,automatic]
libgnome-2-0/stable,now 2.32.1-5+b1 amd64 [installed,automatic]
libgnome-keyring-common/stable,now 3.12.0-1 all [installed,automatic]
libgnome-keyring0/stable,now 3.12.0-1+b2 amd64 [installed,automatic]
libgnome-menu-3-0/stable,now 3.13.3-9 amd64 [installed,automatic]
libgnome2-common/stable,now 2.32.1-5 all [installed,automatic]
libgnomecanvas2-0/stable,now 2.30.3-3 amd64 [installed,automatic]
libgnomecanvas2-common/stable,now 2.30.3-3 all [installed,automatic]
libgnomeui-0/stable,now 2.24.5-3.1 amd64 [installed,automatic]
libgnomeui-common/stable,now 2.24.5-3.1 all [installed,automatic]
libgnomevfs2-0/stable,now 1:2.24.4-6.1+b2 amd64 [installed,automatic]
libgnomevfs2-common/stable,now 1:2.24.4-6.1 all [installed,automatic]
libgnomevfs2-extra/stable,now 1:2.24.4-6.1+b2 amd64 [installed,automatic]
libopenrawgnome1v5/stable,now 0.0.9-3.10 amd64 [installed,automatic]
libpam-gnome-keyring/stable,now 3.20.0-3 amd64 [installed]
libsoup-gnome2.4-1/stable,stable-security,now 2.56.0-2+deb9u2 amd64 [installed,automatic]
network-manager-gnome/stable,now 1.4.4-1 amd64 [installed]
pinentry-gnome3/stable,now 1.0.0-2 amd64 [installed,automatic]
policykit-1-gnome/stable,now 0.105-6 amd64 [installed]

Last edited by dxrobertson (2018-09-02 11:54:46)

Offline

Board footer