You are not logged in.

#1 2006-04-27 11:45:54

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Problem auto-mounting usb sticks

Hi,

I use KDE 3.5.2 with the latest udev and kernel-beyond.

When I use the auto-mounting feature of KDE it opens a window and mounts the stick in /media.
When I click an mp3 in the Window amarok does not play the mp3 although it seems to load it.
If I manually mount the stick in /mnt/usbstick the mp3 plays ok.

What could be the problems?
Is it related to a setting?


Powered by Arch Linux

Offline

#2 2006-04-27 12:59:23

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Problem auto-mounting usb sticks

Try making a symbolic link in /mnt pointing to the mountpoint in /media

ln -s /media/usbstick /mnt/usbstick

I have to do that to make automounting work with AutoFS. I don't know which scheme you are using, though.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2006-04-27 13:21:56

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Problem auto-mounting usb sticks

Differences in permissions?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#4 2006-04-28 05:57:23

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: Problem auto-mounting usb sticks

I am using dbus/hal for automounting.

From where can I check the permissions for /media?


Powered by Arch Linux

Offline

#5 2006-04-28 07:45:37

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Problem auto-mounting usb sticks

ls -hal /media

in a terminal.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#6 2006-04-29 05:58:19

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: Problem auto-mounting usb sticks

[giorgos@myhost system.d]$ ls -hal /media
total 20K
drwxr-xr-x   5 root root 4,0K 2006-03-03 23:53 .
drwxr-xr-x  24 root root 4,0K 2006-03-18 12:06 ..
drwxr-xr-x   2 root root 4,0K 2005-12-17 14:39 hdd
drwxr-xr-x   2 root root 4,0K 2006-01-29 11:57 sdb1
drwxr-xr-x   2 root root 4,0K 2006-01-28 18:38 sdc1

How can i change that?


Powered by Arch Linux

Offline

#7 2006-04-29 17:37:40

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Problem auto-mounting usb sticks

giorgosc61 wrote:

[giorgos@myhost system.d]$ ls -hal /media
total 20K
drwxr-xr-x   5 root root 4,0K 2006-03-03 23:53 .
drwxr-xr-x  24 root root 4,0K 2006-03-18 12:06 ..
drwxr-xr-x   2 root root 4,0K 2005-12-17 14:39 hdd
drwxr-xr-x   2 root root 4,0K 2006-01-29 11:57 sdb1
drwxr-xr-x   2 root root 4,0K 2006-01-28 18:38 sdc1

How can i change that?

either "chmod 777 /media/*" or "chown giergos:users /media/*"

But I don't think that's the issue, because I have the same permissions for my MP3-player's mountpoint, and the music plays fine... Try playing it from commandline, and see if you get any more info of what's wrong.

Offline

#8 2006-04-30 12:58:53

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: Problem auto-mounting usb sticks

I did the chmod but nothing changed.

When I plugin my usbstick a konqueror window opens in
system:/media/sda1

After the opening of the above window I open a terminal and
ls /media it doesn't show sda1 at all
If I browse through the tree in the left of konqueror in /mnt/usbstick it shows the usbstick mounted.

Why it opens system:/media/sda1?
Can I make it open /mnt/usbstick automatically instead of system:/media/sda1?


Powered by Arch Linux

Offline

#9 2006-04-30 17:11:17

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: Problem auto-mounting usb sticks

Further test results:
From system:/media/sda1
pdf files -> Open an show OK with Kpdf
mp3 files -> Amarok opens but the file does not play
doc files -> Openoffice splash-screen appears but openoffice does not open

From /mnt/usbstick
all files load and play without a problem


Powered by Arch Linux

Offline

Board footer

Powered by FluxBB