No automount/notification when pluging USB storage

Hi
Since I’ve upgraded to 12.3 (KDE 4.10.00 “release 1”) I don’t get get any notification when connecting my mobile phone as mass storage. It used to work perfectly in previous versions…

When issuing the command

# udisks --mount /dev/sdb

it’s mounted and accessible with no problems, but still not visible in the ‘Device Notifier’ section.

I’ve checked the PolicyKit entries (under /usr/share/polkit-1/actions) but didn’t find any “org.freedesktop.hal.storage.policy” file nor any other file containing “mount-removable” entry as I read in an other post…

Any ideas of what I can add/change to have the notification working again?

Thanks

On 12.3 KDE uses udisks2, the “udisks” command is from udisks1…
Please try:

udisksctl mount -b /dev/sdb

Does this work?

I’ve checked the PolicyKit entries (under /usr/share/polkit-1/actions) but didn’t find any “org.freedesktop.hal.storage.policy” file nor any other file containing “mount-removable” entry as I read in an other post…

Well, hal isn’t used anymore for quite some time on openSUSE. (udisks and then udisks2 replaced it)
The file you are looking for would be “org.freedesktop.udisks2.policy” now I guess (especially the entries “org.freedesktop.udisks2.filesystem-mount” and “org.freedesktop.udisks2.filesystem-mount-system”)
But first, let’s see if the above command works for you.

Oh and please post the output of:

loginctl

I also had problems with mounting after playing around with some pam configuration files. I found out that this was caused by my login session not listed there… :wink:

Have you checked your device notifier settings?

Thanks for your answers.

udisksctl mount -b /dev/sdb

worked but mounted the usb device in /var/run/media/xxxx-xxxx rather than in /media/XXXX-XXXX like with the udisk command (and like it used to mount when I was clicking in the device notifier message in previous versions).

loginctl

shows 1 session for my user name (in seat0)

Is that in Configure Desktop > Hardware > Device actions?
I have some settings in there, especially ‘Open with file manager’ for Camera or Portable Media Player for instance. What should I see and/or set ?
Thanks

That’s a difference between udisks1 and udisks2. But you can configure udisks2 to mount in /media like udisks1 did.
See https://bugzilla.novell.com/show_bug.cgi?id=809837#c17

loginctl

shows 1 session for my user name (in seat0)

Yeah. Otherwise the mount above wouldn’t have worked…

I think deano_ferrari meant what you get when you right-click on the device notifier in the system tray (it might be hidden) and choose settings there…