This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE device notifier doesn't mount usb drives

Tags: None
(comma "," separated)
vdb3000
Registered Member
Posts
3
Karma
0
OS
Hi,

I'm running an openSUSE 11.3 with KDE and I'm having some trouble with the device notifier. When I insert an usb pen-drive it is detected by the notifier but when I choose to open it with Dolphin, it instead opens the "Documents" folder and doesn't mount the drive. In fact, the same occurs when I try to open the pen-drive from the "My system" icon on the Desktop.
Can you help me?

Thanks in advance
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Sounds like mounting of the device fails. You can use "solid-hardware query 'IS StorageVolume'" to get a list of mountable partitions on your system.

You can then run "solid-hardware mount <udi>" to mount your storage drive, replacing <udi> with the appropriate item from the output of the previous command. If it fails, it should at least provide an error message as to why it fails.

Lastly, what version of KDE do you use?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
vdb3000
Registered Member
Posts
3
Karma
0
OS
The version of the installed kdebase4-package is 4.4.4-1.5.

I ran "solid-hardware query 'IS StorageVolume'" (as a normal user) before and after insertion of the pen-drive and the only difference I got was the line:

udi = '/org/freedesktop/Hal/devices/volume_uuid_6C29_F7D1'

Then I ran (also as a normal user):

solid-hardware mount /org/freedesktop/Hal/devices/volume_uuid_6C29_F7D1

and obtained:

Error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result)

I tried again the above command as superuser and obtained a new error saying something about the filesystem vfat.
Then I repeated the above operations and this time the device was correctly mounted. However, the problem is not solved because I couldn't unmount it neither from the Device Notifier Applet nor from the "My system" icon. Furthermore, after new insertion I'm having exactly the same problems as
before: when I try to mount the device Dolphin opens the "Documents" folder and the device remains unmounted.

Regards.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Code: Select all
Error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result)


This indicates that HAL is not permitting your user to mount devices using it due to PolicyKit not authorising your user. I suggest you ensure that the appropriate PolicyKit agent is installed on your system, and contact your distributor. It is likely that un-mounting of devices is done through the same mechanism.

Once this is fixed, then it should function fine.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
vdb3000
Registered Member
Posts
3
Karma
0
OS
Using YaST I changed the configuration of my openSUSE from "secure file permissions" to "easy file permissions" and now everything works fine.

I don't know whether this is an openSUSE or a KDE issue, but it seems to me that the previous behavior is not very reasonable. Anyway, to my needs the problem is solved.

Thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]