LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Thunar-volman not mounting USB (https://www.linuxquestions.org/questions/linux-software-2/thunar-volman-not-mounting-usb-712491/)

akamikeym 03-18-2009 08:19 AM

Thunar-volman not mounting USB
 
Hi,

I'm having a wee issue with Thunar-volman. I'm running it on gentoo with openbox because I've found it to be simple and light weight in the past.

Now I've installed the thunar-volman and enabled it in the options and I'm loading it in my autostart.sh (part of openbox's startup) with thunar --daemnon.

I've got an entry in my fstab for it:

Code:

/dev/sda1                /mnt/disk        vfat                users,umask=000,rw,noauto 0
I have hal and dbus and dbus-glib installed but dbus-monitor gives me a slighly worrying output:

Code:

signal sender=org.freedesktop.DBus -> dest=:1.5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
  string ":1.5"
method call sender=:1.5 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
  string "type='method_call'"
method call sender=:1.5 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
  string "type='method_return'"
method call sender=:1.5 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
  string "type='error'"

and the output from thunar --daemnon when I plug in my usb disk is:

Code:

thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_13fe_1d00_5B730FA0182F.
thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_13fe_1d00_5B730FA0182F_if0.
thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_13fe_1d00_5B730FA0182F_if0_scsi_host_scsi_device_lun0.

Any light you can spread on this would be greatly appreciated.

(Edit) I found that if I start the machine with the USB drive in it will display and mount but if I plug it in once it's on it wont load.

(Edit) The problem appears to lie somewhere with my kernel. I tried loading the latest kernel that I have 2.6.28 and the automount worked. However I am forced to use 2.6.19.7 because alsa sound has been broken in every kernel since then for my sound card. It could be due to my kernel configuration rather than the version as I'm not sure that they are configured in exactly the same way.

Any advice would still be appreciated.

akamikeym 03-19-2009 03:51 AM

The messages from Thunar are the same when I load the new kerenel. It must be HAL related as the icon appears if I run /etc/init.d/hald restart. Also the behaviour is the same with or without the line in my fstab.

atalas 11-10-2009 10:35 AM

I had a similar issue that I eventually figured out what the problem was. I am posting my solution here in hopes that it will help someone else.

The /etc/dbus-1/system.d/hal.conf file contains all of the permission on who is allowed to automatically mount/umount removable devices. In my case it indicated that users need to belong to the "plugdev" group. Once I added myself to that group and rebooted ... no more problems.

I hope this helps someone.

akamikeym 11-11-2009 11:22 AM

Adding users to plugdev is a necessary step in allowing users to mount and unmount devices (automatically or not).

It is however a different issue to my one in this thread as it was an outdated kernel not working with dbus.

atalas 11-12-2009 07:30 AM

When setting up systems, we generally do not create or assign groups that are not absolutely necessary. Since I usually do not want things happening on my system automatically, I did not have (and had forgotten about) the plugdev group. But I am server-side and don't get to play with desktop apps much.


All times are GMT -5. The time now is 01:59 AM.