You are not logged in.

#1 2009-09-07 00:51:24

shaurz
Member
Registered: 2004-02-02
Posts: 358

USB unmounting

USB storage devices will mount in KDE, but the unmounting doesn't work. If I remove the device, I have to manually unmount on the command line. Ubuntu does this automatically. What do I need to do to get the functionality?

Offline

#2 2009-09-07 04:26:35

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: USB unmounting

which file manager are you using? did you try right click and unmount drive option.

Offline

#3 2009-09-07 06:41:52

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: USB unmounting

With hal and dbus mounting and unmount is automatic when plug-in and -out a device:

# pacman -S hal dbus

Edit /etc/rc.conf as root with your favorite editor and add dbus & hal to the DAEMONS array, for example:

DAEMONS=(syslog-ng dbus hal network netfs ...)

http://wiki.archlinux.org/index.php/HAL


Markku

Offline

#4 2009-09-07 11:43:14

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: USB unmounting

I have hal and dbus, but it's never worked for me. I thought you had to configure something to enable it.

By the way I'm using KDE 4.3, clicking on the unmount icon in the devices popup tray displays an error message about how it can't be unmounted.

Last edited by shaurz (2009-09-07 11:56:15)

Offline

#5 2009-09-07 12:21:43

attila
Member
Registered: 2006-11-14
Posts: 293

Re: USB unmounting

shaurz wrote:

By the way I'm using KDE 4.3, clicking on the unmount icon in the devices popup tray displays an error message about how it can't be unmounted.

If you realy have only 4.3 than give 4.3.1 a try because this get fixed in mainstream. If you have 4.3.1 than install the same tool which do the job under kde3 (sorry i can't remember the name and i'm not sitting in front of my archlinux) and see if this works.

Offline

#6 2009-09-07 17:55:02

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: USB unmounting

shaurz wrote:

I have hal and dbus, but it's never worked for me. I thought you had to configure something to enable it.

I have installed many machines, KDE, and never had problems with hal and dbus. For configure, I only added these lines in /etc/PolicyKit/PolicyKit.conf enabling user (e.g. rasat) to mount.

<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
  <match user="rasat">
    <return result="yes"/>
  </match>
</match>
</config>

Markku

Offline

#7 2009-12-22 02:24:20

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: USB unmounting

I finally figured out what the problem was. I discovered two old rules files in /etc/udev/rules.d which didn't belong to any package (auto-mount-usb.rules and xusbdfwu.rules). I removed both scripts and now unmounting works fine! Also I recently had another problem, the USB device was always mounted as read-only - removing the files also fixed that.

Offline

Board footer

Powered by FluxBB