You are not logged in.

#1 2009-02-11 12:09:07

proxima_centauri
Member
From: Nova Scotia, Canada
Registered: 2008-07-17
Posts: 117
Website

<Solved> PolicyKit.conf changes do not affect USB mount

Hello all,

Been having troubles after the hal upgrade like a lot of folks.

I apologize - seeing how there's 20 of these threads already; however,

I've tryed the various suggestions like adding this to /etc/PolicyKit/PolicyKit.conf

<match action="org.freedesktop.hal.storage.*">
        <return result="yes"/>
    </match>
    <match action="hal-storage-mount-fixed-extra-options">
        <return result="yes" />
    </match>
    <match action="hal-storage-mount-removable-extra-options">
        <return result="yes" />
    </match>

And I've set myself up for all actions in the Authorizations GUI too.

However, still, when I plug in my USB device (Seagate Free Agent Pro), it does not seem to "pick up", it is not showing under /dev, not present in gparted or listed with a "fdisk -l". So I am not getting a mount error - I don't even (to my knowledge) have the ability to try and manually mount it.
Scratching my head over here.

Last edited by proxima_centauri (2009-02-11 12:31:53)


Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN

Offline

#2 2009-02-11 12:14:51

artiom
Member
From: France
Registered: 2008-07-29
Posts: 111

Re: <Solved> PolicyKit.conf changes do not affect USB mount

After inserting your USB key look at the output of dmesg command or in /var/log/messages file. Is it recognized by the kernel?

Offline

#3 2009-02-11 12:17:09

proxima_centauri
Member
From: Nova Scotia, Canada
Registered: 2008-07-17
Posts: 117
Website

Re: <Solved> PolicyKit.conf changes do not affect USB mount

Thanks for the quick reply, yes I believe it is recognized:
Feb 11 08:15:48 ** usb 1-3: new high speed USB device using ehci_hcd and address 5
Feb 11 08:15:49 ** usb 1-3: configuration #1 chosen from 1 choice


Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN

Offline

#4 2009-02-11 12:25:01

artiom
Member
From: France
Registered: 2008-07-29
Posts: 111

Re: <Solved> PolicyKit.conf changes do not affect USB mount

These lines are only about usb device recognition. After you should see udev to load usb-storage module if your key is recognized as an usb storage. Try to load this module manually : modprobe usb-storage and look again in dmesg.

Last edited by artiom (2009-02-11 12:27:22)

Offline

#5 2009-02-11 12:30:26

proxima_centauri
Member
From: Nova Scotia, Canada
Registered: 2008-07-17
Posts: 117
Website

Re: <Solved> PolicyKit.conf changes do not affect USB mount

OH!
YOU ARE THE MAN!
That's exactly what it was, and you know what I believe it was? I turned off MOD_AUTOLOAD in rc.conf around the same time as upgrading to the new HAL.
I'm betting once I change MOD_AUTOLOAD back to yes, my drive will mount normally again.
I guess hw-detect wouldn't necessary get all the modules you need then if I copy and pasted that into MODULES?
In any case, thank you!


Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN

Offline

#6 2009-02-11 12:34:42

artiom
Member
From: France
Registered: 2008-07-29
Posts: 111

Re: <Solved> PolicyKit.conf changes do not affect USB mount

hw-detect script will load needed modules while booting. But your USB key may be not connected this time.
You can also add usb-storage to modules list if it all what you need, but another day you will bring an usb printer and would like to use it you must remember to load the good modules for it.

Last edited by artiom (2009-02-11 12:36:25)

Offline

Board footer

Powered by FluxBB