You are not logged in.

#1 2009-01-21 01:38:03

horsecool
Member
Registered: 2008-12-22
Posts: 55

[solved] usb does not work...

Whenever I plug in a usb-device, it always say:

Cannot mount volume.
Error org.freedesktop.DBus.Error.AccessDenied.

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")

No idea of what it is saying....
by the way, hotplugging is already enabled and the usb device works well in Windows.

Last edited by horsecool (2009-01-21 10:00:28)

Offline

#2 2009-01-21 01:41:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] usb does not work...

Make /etc/PolicyKit.conf look like this and try again:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

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

</config>

Offline

#3 2009-01-21 02:04:01

horsecool
Member
Registered: 2008-12-22
Posts: 55

Re: [solved] usb does not work...

I did as you said. reboot. Still not working...

Offline

#4 2009-01-21 02:05:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] usb does not work...

Oh crap. I may have gone too far too fast. Are you in the storage group?

Offline

#5 2009-01-21 02:11:20

horsecool
Member
Registered: 2008-12-22
Posts: 55

Re: [solved] usb does not work...

I don't know...

It's a laptop and I am the main user(actually the only user except root...).


Edit: I am using Gnome.

Last edited by horsecool (2009-01-21 02:14:06)

Offline

#6 2009-01-21 02:20:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] usb does not work...

There's some groups that you should be in or you're going to keep having problems like this. For now, add optical and storage as root. You may need video and audio also.

gpasswd -a <your_user_name> optical
gpasswd -a <your_user_name> storage

Offline

#7 2009-01-21 02:46:09

horsecool
Member
Registered: 2008-12-22
Posts: 55

Re: [solved] usb does not work...

It's good to know. but it's still not working....

Anyway, it's not a big deal. Thanks for your help smile



Edit: After several rebooting, it works now. Thanks a lot!

Last edited by horsecool (2009-01-21 10:00:03)

Offline

Board footer

Powered by FluxBB