You are not logged in.
Pages: 1
Topic closed
Hello,
A few weeks ago, USB automounting stopped working and so far I am unable to bring it back :
- nothing happens when I insert a USB stick
- some partitions on a external USB disk are in fstab and correctly mounted, but volumes don't appear on the desktop
- but automatic CD and DVD mounting is ok
I am using hal, dbus and gnome-volume-manager, and I am a member of "storage" group.
My rc.conf (without comments) is :
LOCALE="fr_FR.utf8"
HARDWARECLOCK="UTC"
TIMEZONE=Europe/Paris
KEYMAP="fr-latin9"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MOD_BLACKLIST=()
MODULES=(usblp raw1394)
USELVM="no"
HOSTNAME="arch"
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo !eth0)
ROUTES=(!gateway)
DAEMONS=(syslog-ng !hotplug !pcmcia !network netfs hal crond alsa cups dhcdbd networkmanager gdm)
dbus is started automatically by hal, I checked in gnome-system-monitor that it is running.
So far as I know, gnome desktop options are correctly set (in menu Preferences--->Removable devices and in gconf-editor), but perhaps there is something I have missed ?
Thank you very much if you have any idea of what I could do.
Last edited by p_schott (2007-05-06 12:35:15)
Offline
same problem here! And my configuration is similar to yours.
when running hald --verbose=true --daemon=no
and plug a usb stick afterwards I get error messages like this
12:11:28.195 [E] util.c:190: Cannot open '/sys/block/sde/sde1/range'
12:11:28.292 [E] device_info.c:272: Could not resolve keypath '@block.storage_device:storage.hotpluggable' on udi 'true'
12:11:28.294 [E] hald_dbus.c:4461: Cannot get caller info for org.freedesktop.DBus
Offline
One more point : I use "kernel26-fallback.img", as "kernel26.img" stopped working a couple of months ago (kernel panic).
Offline
No more kernel panic for kernel26.img since update to 2.6.21, but still no usb automount
Offline
Offline
Yes.
mount -t vfat /dev/sdh1 /media/usbdisk
works and I can browse the stick. But no icon appears on the desktop. Only partitions on internal hard drive seem to have a icon on the desktop.
Offline
try to create a file "preferences.fdi" in /etc/hal/fdi/policy and write inside this
<merge key="volume.ignore" type="bool">false</merge>
Offline
It works
Thank you very much Zap !
Offline
Fix added to the Arch HAL wikipage.
Thanks for the fix, Zap.
Offline
One more detail : I have some partition on a external usb drive that are declared in /etc/fstab. It seems that they are mounted as expected, but they are also mounted a second time by hal. So, is there a way to prevent hal from mounting partitions that are already declared in fstab ?
Offline
thanks a lot for the <merge key="volume.ignore" type="bool">false</merge> hint, and adding it in the wiki, i love you all \o/
Offline
Sorry for the noob question, how do I make a file?
Offline
Sorry for the noob question, how do I make a file?
This thread is 2 years old, and your inquiry is offtopic, so I will close it. You may want to start a new thread and post your question there.
However, one way to make a file is to use /usr/bin/touch:
$ touch filename
Will create a file in the current directory named filename.
Offline
Pages: 1
Topic closed