| Author |
Message |
|
|
|
Post subject: digikam - missing permissions?
Posted: Mar 19, 2008 - 10:50 PM
|
|
Joined: Dec 13, 2006
Posts: 61
Status: Offline
|
|
Hi,
I want to transfer images stored on my digital camera to my home directory.
I have found that I can do that only when I am running digikam as root, but not when I run it as a normal user.
When I plug the cam into my notebook a menu opens up asking "open with digikam / open folder" etc., but the folder is empty.
So I guess this has got to to with missing rights.
The camera is displayed on my desktop as a USB Imaging Interface (not mounted). I cannot mount it, there is no option for that in the right-mousebutton-menu.
I am member of group "camera" and "hotplug", what else can I do?
Thx for any help,
Crypto. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 19, 2008 - 10:59 PM
|
|
Joined: Dec 02, 2006
Posts: 48
Status: Offline
|
|
Everything working fine here. Does this help:
Code:
# groups ast
ast cdrom floppy sudo audio dip video plugdev users fuse scanner netdev powerdev vboxusers
 |
|
|
| |
|
|
|
 |
|
|
|
Post subject: Re:
Posted: Mar 19, 2008 - 11:55 PM
|
|
Joined: Dec 13, 2006
Posts: 61
Status: Offline
|
|
Hi,
I am member of all of these groups apart from vboxusers, and also of dialout. But that did not help me...
Thanks anyway,
Crypto. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 20, 2008 - 12:27 AM
|
|
Joined: Dec 02, 2006
Posts: 48
Status: Offline
|
|
|
Quote:
[...]
The camera is displayed on my desktop as a USB Imaging Interface (not mounted). I cannot mount it, there is no option for that in the right-mousebutton-menu.
[...]
I suppose, this may cause the problem. What camera is it? Could you post the output of
Code:
#lsusb
with the camera connected? |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: digikam - missing permissions?
Posted: Mar 20, 2008 - 01:06 AM
|
|

Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
|
|
|
Crypto wrote:
The camera is displayed on my desktop as a USB Imaging Interface (not mounted). I cannot mount it, there is no option for that in the right-mousebutton-menu.
You have chosen PTP (Picture Transfer Protocol), because that does not mount the usual way, it just shows the camera symbol (on the desktop or in the systray - wherever you have your symbols).
I use PTP, and you see, no mounting, but I can open a new window or open with digikam. In digikam I see "Nikon D70s" instead of "/dev/sdb1" in the camera menu.
Here a screenshot of the icon and it's menu with PTP (works flawlessly here) ... I hope you can guess the German:
If you want the usual way with mounting/unmounting, you have to change the option on the camera from PTP to "Mass storage" (in my Nikon it's in the menu under "USB").
hubi |
_________________ Bonitas stultitiaque sodales sunt.
|
| |
|
|
|
 |
|
|
Post subject: Re: digikam - missing permissions?
Posted: Mar 20, 2008 - 01:50 AM
|
|

Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
|
|
Part II:
You say your window is empty. It takes a bit but the window should open in system:/media/camera. It takes a while until you see something. Well: here max three seconds, then I see the folders of the camera.
So you might miss some kio-plugins for KDE.
Code:
$ apt-cache search kio-plugin |sort
kdebase-kio-plugins - core I/O slaves for KDE
kdemultimedia-kio-plugins - enables the browsing of audio CDs under Konqueror
kdepim-kio-plugins - KDE pim I/O Slaves
kdesdk-kio-plugins - subversion ioslave for KDE
kdesvn-kio-plugins - subversion I/O slaves for KDE
Also check if you have kipi-plugins installed.
If PTP still does not work or your camera is not detected by digikam, set your camera to "Mass storage" and it is seen as flash drive which you can mount/unmount.
hubi |
_________________ Bonitas stultitiaque sodales sunt.
|
| |
|
|
|
 |
|
|
|
Post subject:
Posted: Mar 20, 2008 - 11:55 AM
|
|
Joined: Dec 13, 2006
Posts: 61
Status: Offline
|
|
|
armin wrote:
I suppose, this may cause the problem. What camera is it? Could you post the output of
Code:
#lsusb
with the camera connected?
Hi,
this is what I am getting with lsusb as root:
Code:
lsusb
Bus 002 Device 004: ID 0a17:00a8 Pentax Corp.
Bus 002 Device 003: ID 148f:2573 Ralink Technology, Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 15d9:0a33
Bus 001 Device 001: ID 0000:0000
The camera is a Pentax Optio E50 (here device 004).
I can get this output ONLY, when the camera is in PictBride mode for connection.
When I set the option to "PC" (which to me would have made more sense) then nothing happens. That means:
- in PC-mode the camera is not found,
- lsusb hooks up and does not finish detection (that means, it does not output anything and just stalls). When this happens the camera flashes a red LED indicating an error. When in PictBridge Mode the camera shows a green LED indicating everything is OK for it.
I agree that it would make more sense to connect to the camera when the camera is set to "PC" mode for connecting, but as I say this does not work at all (neither as user nor as root).
The only way at the moment to get the images from the camera is to set the camera to "PictBridge" mode, then run digikam as root and get the images.
When I connect the camera as a normal user (and when camera is in PictMode) then the icon for USB Imaging Interface is displayed on my desktop and a menu pops up ("do you want to open folder / run digkam / do nothing") etc., but when I here select to open the folder then the folder is empty. There is a progress bar that quickly moves to 100% done but the folder window remains empty.
I still think this must be a problem of access rights not properly set as the camera shows up and I can get the images with digikam as root. It also means that the connection to the camera IS working as it should, I just cannot use that when I am normal user.
Thanks for Your help,
Crypto. |
|
|
| |
|
|
|
 |
|
|
|
Post subject: Re: digikam - missing permissions?
Posted: Mar 20, 2008 - 12:11 PM
|
|
Joined: Dec 13, 2006
Posts: 61
Status: Offline
|
|
|
hubi wrote:
If you want the usual way with mounting/unmounting, you have to change the option on the camera from PTP to "Mass storage" (in my Nikon it's in the menu under "USB").
hubi
Hi hubi,
this is exactly what does not work.
When I set my camera to "PC" mode (the other mode is PictureBridge), then using lsusb hooks up (it just stalls and does not finish execution). The lsusb command then displays nothing. It also means that then the camera is not found, no icon is shown on my desktop. The camera flashes a red LED to indicate an error. When set to PictBridge mode it shows a green LED indicating it is working ok.
The only working mode is "PictBridge"- mode, that I can only use successfully as root. In that mode the camera is found, the icon is displayed on my desktop (not mass media device but USB Imaging Interface camera).
I can get the images from my cam with digikam then, but only as root.
Do you have another idea?
Thx for your help,
Crypto. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: digikam - missing permissions?
Posted: Mar 20, 2008 - 12:53 PM
|
|

Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
|
|
|
|
|
 |
|
|
|
Post subject: Some news.
Posted: Apr 30, 2008 - 06:07 PM
|
|
Joined: Dec 13, 2006
Posts: 61
Status: Offline
|
|
Hi,
some news concerning this topic.
It definitely is a problem of missing permissions.
See here:
http://www.gphoto.org/doc/manual/permissions-usb.html
I have played around with that and tried to set the permissions according to that description, but I was not able to do that right. During boot I keep getting a lot of messages that the rules could not be set.
Has anyone of You successfully changed permissions as described there? And how?
Thanks again for any hint here.
Crypto. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: digikam - missing permissions?
Posted: May 01, 2008 - 07:59 AM
|
|

Joined: Nov 30, 2006
Posts: 231
|
|
|
|
|
 |
|
|
Post subject: Re: digikam - missing permissions?
Posted: May 01, 2008 - 09:31 AM
|
|
Joined: Dec 13, 2006
Posts: 61
Status: Offline
|
|
|
titan wrote:
Hi titan,
just replied to the thread - it was exactly the solution to my problem. Now it all works as it should do.
Maybe adding the thread would be a good idea for the wiki?
Thanks again,
Crypto. |
|
|
| |
|
|
|
 |
|
|