You are not logged in.

#1 2010-06-29 18:01:52

starchos
Member
Registered: 2010-03-10
Posts: 26

[SOLVED] USB devices

I have some difficulties to mount some USB devices. first I have set my system to follow this method: http://wiki.archlinux.org/index.php/Ude … if_present
to mount it mounts automatically to umount with root privs.

it works quite fine except with some USB pendrives and my iAudio7. it mounts them but I'm not able to edit files/folders as normal user. I tried to change chmod,chgrp,chown of files inside of those drives and drives itself but it didn't allow me to do it even as root. Even they open normal under my mythbuntu and other places, I suspect there is inside of those drives some earlier mounting info from other systems and because that it stops to make changes.

and some drives wont mount giving, like:

Rejected send message, 1 matched rules; type="method_call", sender=":1.18" (uid=1000 pid=2718 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2489 comm="/usr/sbin/hald)).

please if you give advice don't bother to recommend sudo, I have decieded to do things without it

Last edited by starchos (2010-07-02 19:53:13)

Offline

#2 2010-06-29 18:10:02

Shazzam6999
Member
From: New York, NY
Registered: 2010-05-11
Posts: 27

Re: [SOLVED] USB devices

Have you tried in a terminal:

ck-launch-session

I can never remember the exact error message I get when I have to use it, but it usually fixes my issues mounting usb drives.

Last edited by Shazzam6999 (2010-06-29 18:10:26)

Offline

#3 2010-06-29 18:48:45

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] USB devices

Thanks for tip, but didn't help

one of them:

chown: changing ownership of `iaudio7': Operation not permitted

Last edited by starchos (2010-06-29 18:49:17)

Offline

#4 2010-06-29 18:51:45

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] USB devices

You error seems to suggest that HAL is trying to mount the drives. But since you are also using udev, maybe they get into a race and that's why some drives mount and some don't.

Can you make sure that you don't have any fdi files to mount drives(you might have had that when using xorg 1.7.6)

You can also try out by stopping the hal daemon, or not starting the hal daemon at all in the DAEMONS array.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2010-06-30 07:39:00

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] USB devices

I didn't have any fdi files relating to mount process (at least inside /etc/hal/fdi/*) , but when I did stop HAL none of my USB devices  mounted.

Offline

#6 2010-06-30 16:45:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] USB devices

starchos wrote:

I didn't have any fdi files relating to mount process (at least inside /etc/hal/fdi/*) , but when I did stop HAL none of my USB devices  mounted.

You are using xorg 1.8 correct?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2010-07-01 17:12:53

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] USB devices

xorg-server 1.8.1.902-1

Offline

#8 2010-07-01 17:16:01

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] USB devices

are you sure they never mounted, or did they just not show up in your file manager? Because they are both different things.

if you have added the udev rules correctly, then they should mount under /media (assuming you used the first rule in automounting- in the wiki). However, I for one, use pcmanfm, which needs hal, so when I don't start up hal, my external drives don't show up in PcManFM, but they are still mounted under /media.

In short : Are you using a DE? Which one?
If not using a DE, what wm and filemanager are you using?

Last edited by Inxsible (2010-07-01 17:16:20)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2010-07-01 17:57:42

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] USB devices

Inxsible wrote:

are you sure they never mounted, or did they just not show up in your file manager? Because they are both different things.

1.one wont mount. (I try to make new partition and format it again)
2.iAudio7 OGG player wont let change user privs even as root. (don't know how to make changes)
3.extern USB HD works fine. 3partitions mount automatically
4.couple of usb sticks work as should.

Inxsible wrote:

if you have added the udev rules correctly, then they should mount under /media (assuming you used the first rule in automounting- in the wiki). However, I for one, use pcmanfm, which needs hal, so when I don't start up hal, my external drives don't show up in PcManFM, but they are still mounted under /media.

I used just copy paste.
yes those drives which have no problems do mount under /media

Inxsible wrote:

In short : Are you using a DE? Which one?
If not using a DE, what wm and filemanager are you using?

I use Xfce 4.6 and Thunar

Offline

#10 2010-07-01 18:08:01

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] USB devices

So its just the one drive that won't mount?

I had something like that happen to me recently. My drive would not get recognized at all. fdisk didn't show it neither did Windows. All I had to do was turn it off and remove the power cable (I had the bigger one 3.5")

After about an hour or so, when I re-connected everything worked. Now I make sure that I always remove the power cable and the USB cable from the drive after shutting down the computer. It helps in not awakening the drive unnecessarily. You could try that as well (assuming you too have a powered drive.)

Other than that, all I can say is that probably your drive must have just failed.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2010-07-02 19:52:55

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] USB devices

Thanks for support, I formatted the one Kingston USB key and it started to run flawlessly, I will do the same with OGG player. Anyway this seems [SOLVED]

Offline

#12 2010-07-02 23:06:15

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] USB devices

starchos wrote:

Thanks for support, I formatted the one Kingston USB key and it started to run flawlessly, I will do the same with OGG player. Anyway this seems [SOLVED]

Nice to know. Good Luck on the ogg player


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#13 2010-07-03 00:54:02

whatshisname
Member
Registered: 2010-04-24
Posts: 162

Re: [SOLVED] USB devices

I know I'm coming late to this party but I, too, have had this problem on other distros.

I finally discovered that a corrupted filesystem on the problem device (also a USB flash drive) would prevent me from writing to the disk.  So that's why re-formatting worked in this case. 

But since corruption is the problem, one might also try "fsck".  That's what worked for me.

Offline

Board footer

Powered by FluxBB