LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2009, 08:19 AM   #1
akamikeym
Member
 
Registered: May 2008
Posts: 112

Rep: Reputation: 21
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.

Last edited by akamikeym; 03-18-2009 at 11:45 AM. Reason: Additional Info
 
Old 03-19-2009, 03:51 AM   #2
akamikeym
Member
 
Registered: May 2008
Posts: 112

Original Poster
Rep: Reputation: 21
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.
 
Old 11-10-2009, 10:35 AM   #3
atalas
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
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.
 
Old 11-11-2009, 11:22 AM   #4
akamikeym
Member
 
Registered: May 2008
Posts: 112

Original Poster
Rep: Reputation: 21
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.
 
Old 11-12-2009, 07:30 AM   #5
atalas
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is Thunar the only solution? tiberian Linux - Newbie 7 06-12-2008 09:51 PM
thunar volman: cannot eject, (remounted right away) kaz2100 Debian 3 01-16-2008 10:10 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
Mounting my USB external drive, USB 1.1 Devillion Linux - Hardware 4 01-04-2004 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration