Bug 326079

Summary: Unable to read from a PTP camera
Product: [Unmaintained] kio Reporter: John Everest <john.everest>
Component: kameraAssignee: Marcus Meissner <marcus>
Status: RESOLVED FIXED    
Severity: normal CC: drajdoyle
Priority: NOR    
Version First Reported In: 4.11.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Everest 2013-10-16 07:52:39 UTC
Kubuntu 13.10  kernel 3.11.0-12-generic 
Dolphin Version 4.11.2
Gwenview Version 4.11.2
Last update 16/10/2013

The system was unable to read from a PTP camera.  The problem may be about permissions. 

Reproducible: Always

Steps to Reproduce:
1. Log in as user.
2. Plug in and switch on PTP camera (Fuji F660EXR in this case). 


Actual Results:  
3. Device notifier responds and gives the choice of Dolphin or Gwenview.
4. Dolphin show a Camera folder but is unable to open it.
5. Gwenview has a similar response.



Expected Results:  
6. View files and images


7. Open a terminal and start Dolphin with "kdesudo dolphin"  
8. Plug in and switch on PTP camera.  Device notifier responds as before. 
9.  Now Dolphin  will open the camera files and Gwenview will view the images. 

10. CLOSE Dolphin. 

11. The sytem will continue to operate as expected as in 1 2 and 6 whenever the camera is plugged in, until the user logs out or the system is restarted.
Comment 1 T 2013-10-25 09:05:41 UTC
I have the same problem but starting Dolphin with kdesudo did not bring back the camera access.

Camera access worked prior to 13.10 upgrade to Dolphin in KDE 4.11.2
Comment 2 Marcus Meissner 2013-11-03 22:59:52 UTC
does "gphoto2 -L" work on the commandline?

gphoto2 --auto-detect

this will print usb:XXX,YYY

then do (with XXX and YYY replaced):
ls -la /dev/bus/usb/XXX/YYY
getfacl /dev/bus/usb/XXX/YYY
Comment 3 T 2013-11-17 08:12:15 UTC
The program 'gphoto2' is currently not installed. You can install it by typing:
sudo apt-get install gphoto2
Comment 4 T 2013-11-17 10:55:38 UTC
Sorry my PCs been down with a Motherboard failure. Kubuntu / Dolphin - copy photyos from camera - Still not working after rebuild. Results of installing and running ghoto2.

Installed gphoto2

gphoto2 -L

There is no file in folder '/'.                                                
There is no file in folder '/store_00010001'.
There is no file in folder '/store_00010001/DCIM'.
There are 77 files in folder '/store_00010001/DCIM/108_FUJI'.


gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Fuji FinePix S2000HD           usb:001,003  

s -la /dev/bus/usb/001/003
crw-rw-r--+ 1 root plugdev 189, 2 Nov 17 10:42 /dev/bus/usb/001/003

getfacl /dev/bus/usb/001/003
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/003
# owner: root
# group: plugdev
user::rw-
user:tony:rw-
group::rw-
mask::rw-
other::r--


I have now been able to download my photos using Digikam. Not what I wanted, but at least I can get them off the camera without going back to W*ndows.
Comment 5 T 2013-11-17 11:10:57 UTC
Bugger, 

I could only see the previews with Digicam. It auto detected the camera, then was unable to attach. Viewed previews, failed to download the photos (crashed)

Digikam failed. After camera detection.

Failed to connect to the camera. Please make sure it is connected properly and turned on. Would you like to try again?
Comment 6 T 2014-03-05 15:23:58 UTC
Still not working March 2014, - pretty poor.
Comment 7 T 2014-04-21 14:16:41 UTC
Fixed in 14.04
Comment 8 Marcus Meissner 2014-04-21 15:14:58 UTC
thanks for testing!