On Sun, 03 Jun 2007 04:12:15 +0800, Pirlouwi <[EMAIL PROTECTED]> wrote:

> Hi,
> I choose to run freevo via a .xsession script, which means that my gdm  
> does
> not launch a gnome session, but launch freevo instead.
> Moreover, I have configured an autologin user in xorg.conf, so that  
> freevo
> is started just after boot.
>
> This situation gives me a problem concerning the automounting of usb
> storages or cdrom,
> as freevo is not a window manager, the usb flash drives (usb sticks, or
> cameras) are not automounted any more, which is a problem because freevo  
> do
> not see it.
>
> What can I do to correct that?
>
> I have tried the USB_HOTPLUG hack, but the mounting is not working with  
> it,
> and moreover, as the /dev/sdxy can change between two plugs of the  
> device,
> it is quite difficult to write a generic mount command.
> I heard about udev for permanent mount names, I heard about autofs for
> automounting of hotplugged filesystems, ... ok, but I struggle with that  
> for
> a week, and it is not working up to now.  Also, I ask myself if autofs  
> will
> not interfere with the existing automounting feature of gnome in a  
> standard
> gnome session (for example if I connect to my mediacenter pc via a  
> remote x
> session).
>
> What I want finally, is the sd card of my camera to be browsable by  
> freevo
> when I plug the usb cable of the camera.
>
> Thx for your help.
>
> LOUIS


Hi Louis,

Check out autofs .   This will automount your USB devices for you.  You  
can create a symbolic link to automount points in this way and have freevo  
read those.  I use autofs and freevo to browse USB sticks as well as SD  
cards from my camera.  The only difference is that I take the SD card out  
of the camera and place it into a slot on my HTPC case.  In your case your  
camera is probably just mounted as mass storage device (which is  
essentially a USB stick) so it should work very similarly.

Autofs should not interfere with your other automounters as long as you do  
not use the same automount points (unlikely).  Just check that when you  
install autofs it does not remove another automounter as part of the  
installation process and you should be fine.

Process = install autofs..... edit /etc/auto.master to uncomment the USB  
mounter..... edit /auto.misc to include the filesystem type and mount  
point of your USB stuff.

If you are concerned about which USB port you plug the device into  
changing the mountpoint then you can handle this in a couple of different  
ways.  You could write a mount-point for each of you USB ports... or you  
could use udev to create a mountpoint for each of your devices.. 'cat  
/proc/bus/usb/devices' will give you plenty of unique information to use  
to customise your mounts.

-Stygen

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to