SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The problem is KDE no longer automounts either a CD/DVD or a USB device when they are plugged in. This suddenly stopped working shortly after updating my KDE to slackware-current, although this may well not have been the problem. I can't recall whether anything successfully automounted between that update and the time that things definitely went wonky.
My user is in all the requisite groups. I can manually mount everything. Running ps ax | grep hald gives:
2798 ? Ss 0:00 /usr/sbin/hald --daemon=yes
2799 ? S 0:00 hald-runner
2803 ? S 0:00 hald-addon-input: Listening on /dev/input/event5 /dev/input/event4 /dev/input/event3 /dev/input/event2
2810 ? S 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
If relevant in Control Centre -> Peripherals -> Storage Media -> Advanced, the options for Enable HAL backend and Enable CD polling are greyed out (though they are checked).
I'm not sure what else could be useful to finding the problem. This one has been puzzling me for some time. Any help would be grand.
Open the KDE Control Center. Open the KDE Components/ Service Manager section. Verify BOTH the KDE Media Manager and Media Notifier Daemon are enabled and running.
Find the file $HOME/.kde/share/config/mediamanagerrc. If you want a fresh start, then delete the file. Otherwise open with a text editor and delete any device references with which you are having problems.
I tried another user account and it has the same problem so it's not as though I messed up my personal config files. But it is a KDE problem, no?
There are the obvious checks: /etc/rc.d/rc.udev, /etc/rc.d/rc.hald, and /etc/rc.d/rc.messagebus all are executable and actually running. Use the ps ax command to verify the services are running.
Also from a command line, run ps ax | grep polling to verify the hal daemon is watching those devices.
Another easy check is to run Xfce and then notice whether automounting is working there. If not (and Xfce is configured correctly) then the problem is more fundamental. If the device automounts then focus on KDE.
You can insert a USB stick and then run lsusb to verify the stick is recognized.
A wild guess. Check /etc/hal/fdi/information for any configuration files. If you find any, open them to see whether the enable option is set to false. If the device is set to false then hal will not monitor those devices.
I never resolved the problem, although in xfce, the automounting started working again (and I have now switched to it permanently as a result), after I accidentally formatted one of the external disks that wasn't showing up. I think it was something wrong with udev and that particular drive that broke everything; at least, that's my gut feeling. I know it's probably not a solution, and since everything started working after I did that, I haven't bothered to find out exactly what changed (if it ain't broke...).
I don't know if there's a way of clearing all the udev "caching", but perhaps that's something to look into, since when the disk changed significantly, it all started working again...
pwc101 - my fingers are crossed that it will spring back to life as yours did ... i even unplugged my ide dvd drive and rebooted since it's been a bit flaky of late. no luck though. one difference is that hald is not polling anything -- with you it was.
anyhow, i used lshal -m and my usb is picked up immediately there. should there be a reaction from the dvd/cd drive as well? because there wasn't (yes i tried _before_ unplugging it ). i'm trying ivman & pmount next ...
Did you check /etc/hal/fdi/information for any configuration files? That your USB stick appears but CDs and DVDs do not, and that you stated hald is not polling the drive, indicates that polling is disabled. A likely culprit is a configuration file in /etc/hal/fdi/information.