LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE automount of usb devices fails after upgrade to KDE 4.6.5 (http://www.linuxquestions.org/questions/slackware-14/kde-automount-of-usb-devices-fails-after-upgrade-to-kde-4-6-5-a-915754/)

bogzab 11-27-2011 04:21 AM

KDE automount of usb devices fails after upgrade to KDE 4.6.5
 
I have upgraded to Alien Bob's KDE 4.6.5 and works very well except for one pesky annoyance with USB device autodetection and mounting.

No matter what I plug in (flash drives, camera) the Device Notifier widget stubbornly says "No devices available". If I run
Code:

ls -l /dev/sd*
or
Code:

fdisk -l
I see the kernel has detected the device just fine and provided a node in /dev.

I can (as root) mount the drives manually, but they then become read-only for regular users. If I put entries in /etc/fstab then I can mount them as regular users, but of course I cannot predict and put into fstab all the possible /dev nodes which will be set up (/dev/sdd, /dev/sde1 etc ...).

Looking through this and other forums it would appear that writing or modifying udev rules in /lib/udev/rules.d might be a way forward but this sounds borderline dangerous to me. Plus it feels like it's something more simple since it worked fine under stock KDE as provided by Slackware 13.37.

Also while I can work around some of the mounting problems when I am dealing with removable drives, this does not help when the camera is connected as an "MTP" device, which previously worked and was notified as a camera which could be looked at by digikam etc.

Things I have checked: I am a member of plugdev. I have set "Enable automatic mounting of removable devices" in System Settings > Removable Devices.

Grateful for any pointers as to what I may need to fix.

Alien Bob 11-27-2011 05:10 AM

Here I have never had to enable "automatic mounting of removable devices" since that is something I do not want, but plugged-in devices are always recognized and the device notifier pops up a window asking what I would want to do with the device.

Did you follow all of my instructions, including the installation of all the packages in the "deps" directory?

Eric

bogzab 11-27-2011 05:52 AM

Quote:

Originally Posted by Alien Bob (Post 4535077)

Did you follow all of my instructions, including the installation of all the packages in the "deps" directory?

Eric

Yes, I installed all the deps before installing the KDE packages. I did not see any errors, but of course things do fly past a bit. I will check to make sure that all the packages in the /deps folder have actually been installed.

I have also not had "auto-mount" enabled before, but I thought I would try it here since something was not working and I thought this might be what was needed in the new KDE setup. What I really want is for the notifications to work - then KDE is aware and I can ask it to take action accordingly.

bogzab 11-27-2011 06:13 AM

OK. Thanks for pointing me in the right direction. Turns out that not all of the deps packages did install. I may have given the upgradepackage command without the install-new option, or got something else wring on the command line. Anyways among the packages that did *not* install was ...udisks! I now have them all installed and the notifications work as expected. Clearly a case of not reading tfm properly , or at least not following it properly.


All times are GMT -5. The time now is 04:38 AM.