You are not logged in.

1

Monday, August 21st 2006, 12:54am

Problem with Hal??

I am running Debian testing and KDE 3.5.4 On my desktop I have an icon setup to mount my digital camera (using udev) but since an update to KDE earlier in the week to 3.5.4 I now get an error window pop up when I click on the icon with the following message in it:

"Feature only available with Hal"

Could somebody tell how to cure this problem??

I can mount the camera from the cli using "mount /dev/usbcamera" without a problem.

Regards

Tim

2

Monday, August 21st 2006, 10:22pm

OK I have progressed with this problem.

I have now installed HAl on my PC but this has only made thing worse, now I have lost access to my external USB hard disk as well as the camera and can not manually mount either from the cli.

If I plug a usb device in I get a relevant icon appear on my desktop, but if I click on that icon I get the following error:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

Can anybody suggest a way forward

Thanks in advance

Tim

nadavkav

Beginner

Posts: 6

Location: Israel

  • Send private message

3

Thursday, September 14th 2006, 12:35pm

RE: Problem with Hal??

I am running Fedora (devel) with KDE 3.5.4 and i get the same error on plugin a USB key or CD/DVD.

"Feature only available with Hal"

4

Friday, September 15th 2006, 9:09pm

RE: Problem with Hal??

OK I have got a work around, but I don't know if it will work with Feodora, this is what I had to do on Debian (I think this more of a bodge than a fix) but I can at least manually mount my USB devices via the cli now. The extract was taken from a debain developer discussion of the problem.

Tim

--------------------------------------------------------------------------------------------------

Ok have sussed out a work around

I have got a work around for the time being, for those that
have the same problem here is the bit from the bug report that I have just used
and I can now access my usb hard disk via the cli mount option

-----------------------------------------------------------------------------------------------------
I filed a bug against KDE, but was told that it in fact this problem was
due to Debian's default HAL configuration. Indeed,
editing /etc/dbus-1/system.d/hal.conf to allow
send_interface="org.freedesktop.Hal.Device.Volume" worked.

It's worth noting that any user currently in the plugdev group can use
pmount to mount discs under /media. Perhaps hal should follow this
policy, which seems quite sensible, and shouldn't weaken system
security, since pmount+plugdev is already being used to mount volumes,
etc. The end of hal.conf would then look something like this:

<!-- You can change this to a more suitable user, or make per-group -->
<policy group="powerdev">
<allow
send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
</policy>

<!-- Allow plugdev members to mount volumes -->
<policy group="plugdev">
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>

(extract from bug report #377689 by Chrisopher Martin)
------------------------------------------------------------------------------------------------------

In my case I simply unchecked the bottom two allow send lines and re-saved the
file.

Now when I plug a usb device in it appears on the desktop as an icon, but
right clicking and selecting mount or editing the properties to auto mount
does not work. I have to go to the cli and do:

mount /dev/usbdevice*

*Replace with your usb device name

nadavkav

Beginner

Posts: 6

Location: Israel

  • Send private message

5

Sunday, September 17th 2006, 8:26am

RE: Problem with Hal??

i'm soooo sorry, and dumb. my hal daemon was not running. i took it for granted :-( oups. ( please don't kill my user account for this :-)

all works just fine now. :-)

thank you all for the help.

6

Sunday, September 17th 2006, 9:35am

RE: Problem with Hal??

All of us are only human :)

Tim